Differences between revisions 1 and 12 (spanning 11 versions)
Revision 1 as of 2010-11-15 18:13:11
Size: 1307
Editor: MalteHelmert
Comment:
Revision 12 as of 2020-07-08 16:29:54
Size: 0
Comment: Replaced by http://www.fast-downward.org/ForDevelopers/Git
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Back to [[ForDevelopers|developer page]].

= Our Mercurial workflow =

We use Mercurial, following the [[http://mercurial.aragost.com/kick-start/tasks.html|task-based workflow explained here]]. All significant development should be in response to an issue in the [[http://issues.fast-downward.org/|tracker]], let's say issue1000. Then the usual development process involves two roles, "developer" and "reviewer" (usually Malte), and works as follows:

 1. Developer creates a new branch issue1000 in their own repository, usually branching off the newest revision in default. '''Note''' the exact spelling of the branch. Being consistent here allows us to automate some of these steps in the future.
 1. Developer resolves the issue in the branch. (Developer '''does not''' close the branch or push the changes to the master repository.)
 1. Developer sets the status of the issue to "reviewing".
 1. Reviewer pulls the issue1000 branch into their own repository.
 1. Reviewer reviews the code. If reviewer is not satisfied, go back to step 2.
 1. Reviewer closes the issue1000 branch.
 1. Reviewer merges the issue1000 branch into the default branch.
 1. Reviewer pushes the issue1000 branch and its merge into the master repository.
 1. Reviewer sets the status of the issue to "resolved".