ITK/Gerrit: Difference between revisions

From KitwarePublic
< ITK
Jump to navigationJump to search
(Added a little more detail to the Gerrit info)
(Replaced content with "This page previously contained information on use of Gerrit for ITK. The old information has been removed to avoid confusion. Please get started here instead.")
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Code Review System'''
This page previously contained information on use of Gerrit for ITK.
 
The old information has been removed to avoid confusion.
= Overview =
Please [[ITK/Git|get started here]] instead.
 
* Gerrit is a system for code reviews
* http://code.google.com/p/gerrit/
* It has a built-in Git implementation
 
= Installation =
 
The ITK Gerrit system is available at
 
* http://review.source.kitware.com
 
In order to register you need to [http://openid.net/get-an-openid/ get an OpenID]
 
= Workflow =
 
[[image:ITKv4-TransitionPlanProposal.png|529px]]
* [[ITK_Release_4/Migration Plan/Phases|Phases]]
 
== Workflow Example, from Android ==
 
* http://source.android.com/source/life-of-a-patch.html
 
= Integration with Git =
 
== Add Gerrit as one of your remotes ==
 
  git remote add gerrit marcus@review.source.kitware.com:ITK
 
 
== How to push to Gerrit ==
 
When on your topic branch, to view the commits that will be pushed as changes,
 
  git fetch gerrit
  git log gerrit/master..
 
Then, when you have a topic branch ready to go,
 
  git push gerrit HEAD:refs/for/master/topic-name
 
Each of the commits listed by git log will then show up as a commit, optionally labeled with topic-name, in the Gerrit web interface. These commits can then be reviewed and integrated.

Latest revision as of 17:30, 3 June 2011

This page previously contained information on use of Gerrit for ITK. The old information has been removed to avoid confusion. Please get started here instead.