Closed Bug 710350 Opened 14 years ago Closed 14 years ago

Don't hard-code 'firefox' and 'fennec' in misc.py

Categories

(Release Engineering :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhopkins, Assigned: jhopkins)

References

Details

Attachments

(2 files, 1 obsolete file)

productName 'firefox' and 'fennec' are hard-coded here in misc.py: http://hg.mozilla.org/build/buildbotcustom/file/7baaa68ea9b9/misc.py#l375 We need to make this config-driven so that Thunderbird can use the same automation.
It looks like this was originally done in bug 511282, and tweaked a bit in bug 605176. We _do_ have product_name in the configs (http://hg.mozilla.org/build/buildbot-configs/file/default/mozilla/config.py#l82), but it's in GLOBAL_VARS, which means it can't be overridden per platform. John, can you take a whack at moving it from there into PLATFORM_VARS? Roughly, that should involve: * Removing it from GLOBAL_VARS (config.py) * Adding it to each of the platforms in PLATFORM_VARS (config.py) * Roughly, s/config['productName']/pf['productName']/ (misc.py) app_name and brand_name are also labeled as "not valid for mobile builds", so could you move those two, as well?
Assignee: nobody → jhopkins
Attached patch buildbot-configs patch (obsolete) — Splinter Review
Attachment #582912 - Flags: review?(bhearsum)
Attachment #582914 - Flags: review?(bhearsum)
refreshed
Attachment #582912 - Attachment is obsolete: true
Attachment #582912 - Flags: review?(bhearsum)
Attachment #583172 - Flags: review?(bhearsum)
Comment on attachment 582914 [details] [diff] [review] buildbotcustom patch Looks good to me!
Attachment #582914 - Flags: review?(bhearsum) → review+
Attachment #583172 - Flags: review?(bhearsum) → review+
The patches that landed on "default" are now on production and the masters have been reconfigured.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: