Closed Bug 789935 Opened 10 years ago Closed 6 years ago

stop hardcoding Try tree name in try mailing code

Categories

(Release Engineering :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: bhearsum, Unassigned)

Details

(Whiteboard: [try])

Right now, things are hardcoded to work with the "Firefox" product. bug 749151 will change it to hardcode some exceptions to make it work with Thunderbird too. Eventually it will need to work with B2G and probably other things. We should stop hardcoding all over the place and centralize this info in production-branches.json

Roughly, we need to:
* Add support for 'tree' as an arg to makeTryMessage and buildTryChangeMessage
* Add a 'tree' parameter to https://github.com/mozilla/build-tools/blob/master/buildfarm/maintenance/production-branches.json
* Pass the path to that file to postrun.py (https://mxr.mozilla.org/build-central/source/buildbot-configs/mozilla-tests/tests_master.cfg#33, https://mxr.mozilla.org/build-central/source/buildbot-configs/mozilla-tests/universal_master_sqlite.cfg#33, https://mxr.mozilla.org/build-central/source/buildbot-configs/mozilla/builder_master.cfg#43, https://mxr.mozilla.org/build-central/source/buildbot-configs/mozilla/universal_master_sqlite.cfg#43)
* Read it where necessary, pass it along to makeTryMessage
* Pass "tree info" or something similar to generate* in misc.py and have it look it up and pass it along to buildTryChangeMessage
Severity: normal → enhancement
Priority: -- → P3
Whiteboard: [try]
Product: mozilla.org → Release Engineering
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.