This page is a translated version of the page Gerrit/workflow/ops and the translation is 21% complete.
Outdated translations are marked like this.

これは、Gerrit をより operations/puppet.git[1] のワークフローに適合させるための大まかな提案です。 このリポジトリは WMF の運営チームによって管理されていますが、WMF の非運営スタッフやコミュニティのボランティアも使用しています。 このリポジトリにはブランチが 1 つしかありません:「production」。



ops, minor change:
git push their commit
self approve their change
ops, work in progress change:
git push their commit
find a pair to review
get approved
git push the commit
find an ops to review
op approve the change


Various proposals were discussed:


Add a new reference system in Gerrit to have a change autoapproved. Something like refs/autoplustwo. When one git push origin master:refs/autoplustwo/master, Gerrit would autoapprove the change. The push to that ref tree would be restricted to ops. This is probably not trivial.


Write a plugin for the RefUpdated hook in 2.5 that will handle auto-approval. This probably is doable, but would need a bit of work (less than above, though)


  1. Puppet on Wikitech and puppet.git in Git review