Closed Bug 671372 Opened 14 years ago Closed 14 years ago

Enhance download script to download latest daily build

Categories

(Mozilla QA Graveyard :: Mozmill Automation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

Right now if you call the download script for a daily build without specifying the date, it will fail if no build for today is available. We should make the script smarter so we can find the last available build for the specified branch.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Summary: Enhance download script to check for latest daily build → Enhance download script to download latest daily build
Attached patch Patch v1Splinter Review
This adds the feature to download the latest build from a specific branch. Therefore no date has to be specified on the command line. Builds we download get a 'latest-' prefix instead of the date (because we simply don't know the date).
Attachment #556048 - Flags: review?(gmealer)
Comment on attachment 556048 [details] [diff] [review] Patch v1 Looks good, assuming you tested it across the different build types. r+
Attachment #556048 - Flags: review?(gmealer) → review+
(In reply to Geo Mealer [:geo] from comment #2) > Looks good, assuming you tested it across the different build types. r+ This only applies to daily builds. Releases and candidate builds are not affected by any of those changes. But yes, I have tested it w/ and w/o the usage of dates. Landed as: http://hg.mozilla.org/qa/mozmill-automation/rev/db38f172ff1e
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment on attachment 556048 [details] [diff] [review] Patch v1 > group.add_option('--date', > dest='date', > - default=datetime.date.today().isoformat(), > + default=None, > metavar='DATE', > help='Date of the build, default: today') > parser.add_option_group(group) Shouldn't we update the help message here to indicate that the default is now the latest build rather than the first build from today?
We should. Just file a bug or patch it yourself. Thanks for spotting it.
Blush. Had to push a breakage fix for the download script when downloading a build from a specific date. The removal of the slash in the path caused a regression here. http://hg.mozilla.org/qa/mozmill-automation/rev/9bc888ec52ca
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: