canmove, Confirmed users
1,126
edits
m (Bug 1082602) |
|||
| (14 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
Click here for more information on the [[Services/Code_Review|Code Review Process]] | |||
== Merging feature branches to services-central == | == Merging feature branches to services-central == | ||
| Line 6: | Line 6: | ||
* Any features requiring server-side deployments/changes must wait until those pieces are live on stage before merging | * Any features requiring server-side deployments/changes must wait until those pieces are live on stage before merging | ||
== Merging from mozilla-central to services-central == | == Merging from mozilla-central to services-central == | ||
* Pull last green changeset into local services-central, merge | * Pull last green changeset into local services-central | ||
hg pull ssh://hg.mozilla.org/mozilla-central/ | |||
* If necessary (hg reports +1 heads), merge pulled changeset into local services-central | |||
hg merge | |||
* If necessary, commit the merge | |||
hg commit -m "Merge m-c to s-c" | |||
* Push to services-central (Does services-ops need to do this?) | * Push to services-central (Does services-ops need to do this?) | ||
* Verify green build in | hg push ssh://hg.mozilla.org/services/services-central | ||
* Verify green build on Treeherder (note: services-central is currently disabled in buildbot and Treeherder). | |||
* Perform frequently! | * Perform frequently! | ||
== Merging from services-central to mozilla-central == | == Merging from services-central to mozilla-central == | ||
* Ensure all required changes have landed and the tree is green | * Ensure all required changes have landed and the tree is green | ||
* Merge last green changeset from m-c to services-central (see above) | * Merge last green changeset from m-c to services-central (see above) | ||
* Ensure everything stays green, including TPS (formerly Crossweave) | * Ensure everything stays green, including TPS (formerly Crossweave) | ||
* Close the tree (see below) | |||
* Hand off tinderbox builds to QA | * Hand off tinderbox builds to QA | ||
* Once QA signs off, merge the signed off changeset (not necessarily the services-central tip anymore) to mozilla-central | * Once QA signs off, merge the signed off changeset (not necessarily the services-central tip anymore) to mozilla-central | ||
== | * Reopen the tree | ||
* Use the automated m-cMerge tool (linked to from Treeherder]) to RESOLVE FIX corresponding bugs in Bugzilla, setting appropriate Target Milestone (e.g., mozilla5 if the destination m-c will become Firefox 5) | |||
* When a change reaches mozilla-aurora for a particular release, set the relevant "status-firefoxN" flag to "fixed". | |||
Note that the last two steps also apply for transplanted changes that are independently landed on mozilla-central or mozilla-aurora (e.g., a small, limited impact fix for a user-impacting bug). | |||
== Timing == | |||
* Hand off to QA on Monday | * Hand off to QA on Monday | ||
* QA | * QA runs [https://wiki.mozilla.org/QA/Sync/Test_Plan#Client test plan] Monday + Tuesday | ||
* Merge on Tuesday | * Merge on Tuesday | ||
== | |||
== Closing the tree == | |||
* | We close the tree to avoid a more complicated merge after QA handoff. Wait to land patches until the merge to m-c has completed. | ||
* | |||
* | * Go to the [http://tinderbox.mozilla.org/admintree.cgi?tree=Services-Central tinderbox admin page], and change the status message as described in the comments. | ||
* Put the reason the tree is closed in the tree reason section ("mozilla-central train has left the station", for example), and add a name to the sheriff if necessary: | |||
<nowiki>var treeReason = "mozilla-central train has left the station"; | |||
var treeSheriff = 'rnewman on #services';</nowiki> | |||
* Update the tree status in #services (either in the topic, or just announce it). | |||
=== Opening the tree === | |||
* Reverse the closure steps, clearing the treeReason and the name of the treeSheriff (leave the treeSheriff pointing to #services, as that will be displayed when the tree is busted or orange). | |||
== Open questions: == | == Open questions: == | ||