Bug 1247168 - Make mozilla-unified the base repository for Firefox; r=dustin draft
authorGregory Szorc <gps@mozilla.com>
Tue, 19 Jul 2016 16:46:25 -0700
changeset 392546 db4990bcde0503fd14d82a5d16c71adbb4f92be3
parent 392545 6d1089ac34e43d399c7cf608d09eaaf405df00f7
child 392547 407b2c584d56c95e9d9b23781539f2979a775893
push id24050
push userbmo:gps@mozilla.com
push dateMon, 25 Jul 2016 20:07:35 +0000
reviewersdustin
bugs1247168
milestone50.0a1
Bug 1247168 - Make mozilla-unified the base repository for Firefox; r=dustin https://hg.mozilla.org/mozilla-unified contains heads from all the major Firefox repos. In addition, it is encoded on the server in such a way that it is several hundred megabytes smaller despite containing 30,000+ more changesets. This means faster clones and faster operations. Cloning this repo does require a new version of Mercurial. So if any TC tasks are using an ancient Mercurial - one that is vulnerable to known CVE issues in fact - this will flush them out. MozReview-Commit-ID: 2VHDa6FEeeJ
.taskcluster.yml
taskcluster/taskgraph/action.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -61,21 +61,23 @@ tasks:
         - "index.gecko.v2.{{project}}.latest.firefox.decision"
         - "tc-treeherder.v2.{{project}}.{{revision}}.{{pushlog_id}}"
         - "tc-treeherder-stage.v2.{{project}}.{{revision}}.{{pushlog_id}}"
 
       payload:
         env:
           # checkout-gecko uses these to check out the source; the inputs
           # to `mach taskgraph decision` are all on the command line.
-          GECKO_BASE_REPOSITORY: 'https://hg.mozilla.org/mozilla-central'
+          GECKO_BASE_REPOSITORY: 'https://hg.mozilla.org/mozilla-unified'
           GECKO_HEAD_REPOSITORY: '{{{url}}}'
           GECKO_HEAD_REF: '{{revision}}'
           GECKO_HEAD_REV: '{{revision}}'
           # Arguments passed into `mach taskgraph decision`
+          # TODO use mozilla-unified for the base repository once the tc-vcs
+          # tar.gz archives are created or tc-vcs isn't being used.
           DECISION_ARGS: >
             --pushlog-id='{{pushlog_id}}'
             --project='{{project}}'
             --message='{{comment}}'
             --owner='{{owner}}'
             --level='{{level}}'
             --base-repository='https://hg.mozilla.org/mozilla-central'
             --head-repository='{{{url}}}'
--- a/taskcluster/taskgraph/action.yml
+++ b/taskcluster/taskgraph/action.yml
@@ -22,17 +22,17 @@ scopes:
   - "assume:repo:hg.mozilla.org/try:*"
 
 routes:
   - "tc-treeherder.v2.{{project}}.{{head_rev}}.{{pushlog_id}}"
   - "tc-treeherder-stage.v2.{{project}}.{{head_rev}}.{{pushlog_id}}"
 
 payload:
   env:
-    GECKO_BASE_REPOSITORY: 'https://hg.mozilla.org/mozilla-central'
+    GECKO_BASE_REPOSITORY: 'https://hg.mozilla.org/mozilla-unified'
     GECKO_HEAD_REPOSITORY: '{{{head_repository}}}'
     GECKO_HEAD_REF: '{{head_ref}}'
     GECKO_HEAD_REV: '{{head_rev}}'
     ACTION_ARGS: >
       --decision-id='{{decision_task_id}}'
       --task-labels='{{task_labels}}'
 
   cache: