User:Bwinton/Commit Checklist: Difference between revisions
(Created page with "= Pre-Commit Checklist<br> = == Mercurial<br> == <pre>hg import "<url to bugzilla patch>" </pre> Do a diff, and make sure what you're checking in is what you mean to check...") |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
<pre>Bug 123456 - Description of what the patch does. ui-r=clarkbw, r=reviewer, sr=super-reviewer, a=approver. | <pre>Bug 123456 - Description of what the patch does. ui-r=clarkbw, r=reviewer, sr=super-reviewer, a=approver. | ||
</pre> | </pre> | ||
Go to the bug, and mark it RESOLVED - FIXED, with a message of:<br> | Go to the bug, set the milestone to the version of Thunderbird that the patch landed in, and mark it RESOLVED - FIXED, with a message of:<br> | ||
<pre>Committed as http://hg.mozilla.org/comm-central/rev/<hg rev hash> | <pre>Committed as http://hg.mozilla.org/comm-central/rev/<hg rev hash> | ||
</pre> | </pre> | ||
If the patch was backported to an earlier version of Thunderbird, set the appropriate status-thunderbirdX flag as "fixed" | |||
Go to [http://build.mozillamessaging.com/tinderboxpushlog/?tree=Thunderbird http://build.mozillamessaging.com/tinderboxpushlog/?tree=Thunderbird] and wait for a successful run of your patch.<br> | Go to [http://build.mozillamessaging.com/tinderboxpushlog/?tree=Thunderbird http://build.mozillamessaging.com/tinderboxpushlog/?tree=Thunderbird] and wait for a successful run of your patch.<br> | ||
Line 30: | Line 32: | ||
<br> | <br> | ||
== CVS | == CVS == | ||
You're on your own, sucker. ;) | |||
Just kidding, but I don't commit stuff to CVS, so I'm going to leave this section blank for now, and hope one of you will help me fill it in. |
Latest revision as of 19:48, 5 October 2011
Pre-Commit Checklist
Mercurial
hg import "<url to bugzilla patch>"
Do a diff, and make sure what you're checking in is what you mean to check in.
hg commit (Don't forget the '-u "User Name <email@address">'!)
For the message, use:
Bug 123456 - Description of what the patch does. ui-r=clarkbw, r=reviewer, sr=super-reviewer, a=approver.
Go to the bug, set the milestone to the version of Thunderbird that the patch landed in, and mark it RESOLVED - FIXED, with a message of:
Committed as http://hg.mozilla.org/comm-central/rev/<hg rev hash>
If the patch was backported to an earlier version of Thunderbird, set the appropriate status-thunderbirdX flag as "fixed"
Go to http://build.mozillamessaging.com/tinderboxpushlog/?tree=Thunderbird and wait for a successful run of your patch.
Subversion
curl -o new.patch "<url to bugzilla patch>" patch -p 0 < new.patch
Do a diff, and make sure what you're checking in is what you mean to check in.
svn commit
For the message, use:
Bug 123456 - Description of what the patch does. p=patch-author, ui-r=clarkbw, r=reviewer, sr=super-reviewer, a=approver.
Go to the bug, and mark it RESOLVED - FIXED, with a message of:
Committed as http://viewvc.svn.mozilla.org/vc?view=revision&revision=<svn rev number>
CVS
You're on your own, sucker. ;)
Just kidding, but I don't commit stuff to CVS, so I'm going to leave this section blank for now, and hope one of you will help me fill it in.