Closed
Bug 683469
Opened 13 years ago
Closed 13 years ago
Download script selects wrong locale for download
Categories
(Mozilla QA Graveyard :: Mozmill Automation, defect)
Mozilla QA Graveyard
Mozmill Automation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
Attachments
(1 file, 1 obsolete file)
4.32 KB,
patch
|
davehunt
:
review+
|
Details | Diff | Splinter Review |
Not sure what's wrong with the script but somehow we are downloading the wrong locale: $ ./download.py --type=daily --locale=nl --platform=mac --directory=builds Downloading build: http://stage.mozilla.org/pub/mozilla.org/firefox//nightly/latest-mozilla-central-l10n//firefox-9.0a1.fy-NL.mac.dmg
Assignee | ||
Comment 1•13 years ago
|
||
This patch updates the regular expressions for the binary filename. We really have to check that the given locale is enclosed in dots. Otherwise we fetch the wrong build, e.g. nl -> fy-NL. I have also update the helper strings in the download script to make it clear that when no date is given we download the latest build of the specified branch and that the version doesn't apply for daily builds.
Attachment #557318 -
Flags: review?(dburns)
Comment 2•13 years ago
|
||
Comment on attachment 557318 [details] [diff] [review] Patch v1 it might be better to dynamically generate the regex from component parts rather than having to change each regex for only a few things that vary
Assignee | ||
Comment 3•13 years ago
|
||
Incorporates the proposal and moves out the regex for the base filename to it's own variable.
Attachment #557318 -
Attachment is obsolete: true
Attachment #557318 -
Flags: review?(dburns)
Attachment #557451 -
Flags: review?(dave.hunt)
Updated•13 years ago
|
Attachment #557451 -
Flags: review?(dave.hunt) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Landed as: http://hg.mozilla.org/qa/mozmill-automation/rev/b2c3bc6d7ad8
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•