Bug 1255273 - Partial mar files have two channel IDs r=nthomas a=release DONTBUILD
authorRail Aliiev <rail@mozilla.com>
Wed, 09 Mar 2016 23:20:22 -0500
changeset 312005 859cfa4543f9b162b191ab04d3023e8663d32914
parent 312004 6a695027eb1c8c9aa2a39321273932d04348cf6c
child 312006 21e146bb0e2ea84e9d619bdabf53908054319b8c
push id102
push userraliiev@mozilla.com
push dateTue, 26 Apr 2016 03:52:02 +0000
treeherdermozilla-esr45@859cfa4543f9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnthomas, release
bugs1255273
milestone45.1.0esrpre
Bug 1255273 - Partial mar files have two channel IDs r=nthomas a=release DONTBUILD MozReview-Commit-ID: 3Nv38vsoOvr
release/docker/funsize-update-generator/scripts/funsize.py
--- a/release/docker/funsize-update-generator/scripts/funsize.py
+++ b/release/docker/funsize-update-generator/scripts/funsize.py
@@ -233,16 +233,19 @@ def main():
                                option="SourceRepository"),
             "revision": get_option(path, filename="platform.ini",
                                    section="Build", option="SourceStamp"),
             "from_mar": e["from_mar"],
             "to_mar": e["to_mar"],
             "platform": e["platform"],
             "locale": e["locale"],
         }
+        # Override ACCEPTED_MAR_CHANNEL_IDS if needed
+        if "ACCEPTED_MAR_CHANNEL_IDS" in os.environ:
+            mar_data["ACCEPTED_MAR_CHANNEL_IDS"] = os.environ["ACCEPTED_MAR_CHANNEL_IDS"]
         for field in ("update_number", "previousVersion",
                       "previousBuildNumber", "toVersion",
                       "toBuildNumber"):
             if field in e:
                 mar_data[field] = e[field]
         mar_data.update(complete_mars)
         # if branch not set explicitly use repo-name
         mar_data["branch"] = e.get("branch",