Closed
Bug 1206069
Opened 9 years ago
Closed 9 years ago
Need a URL for the latest firefox ESR release binary
Categories
(Release Engineering :: Release Automation: Other, defect)
Release Engineering
Release Automation: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
Details
Attachments
(1 file)
1.04 KB,
patch
|
rail
:
review+
|
Details | Diff | Splinter Review |
Some context: Travis recently added a feature where you could specify {"latest", "latest-esr", "latest-beta"} instead of a specific firefox version: http://docs.travis-ci.com/user/firefox/#latest-aliases The commit message for that change said: "Make a curl call and scrape the HTTP directory listing to find the latest version of firefox corresponding to: latest, latest-esr, latest-beta. ... There *may* be an API endpoint to discover them without scraping HTML, but I have not found it" I've managed to find (with the help of glandium): https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US https://download.mozilla.org/?product=firefox-beta-latest&os=linux64&lang=en-US However I wasn't able to figure out what the latest-esr one was. Ie this doesn't work: https://download.mozilla.org/?product=firefox-esr-latest&os=linux64&lang=en-US With the ESR one added, I could say to Travis that they no longer need to scrape HTML and could use those links directly. It would also stop them hitting http://releases.mozilla.org/ - which I presume is preferable since AIUI download.m.o is served via CDN. Thanks! :-)
Assignee | ||
Comment 1•9 years ago
|
||
Travis' current implementation: https://github.com/travis-ci/travis-build/blob/c858502ddce77cc90f88c8871f1fff3982d1f8a6/lib/travis/build/addons/firefox.rb#L61
Assignee | ||
Comment 2•9 years ago
|
||
And to clarify by "latest" Travis mean "latest released version", not nightlies.
Comment 3•9 years ago
|
||
If archive.mozilla.org would also work, you could use http://archive.mozilla.org/pub/mozilla.org/firefox/releases/latest-esr/ Otherwise we could announce mozdownload to travis ci.
Comment 4•9 years ago
|
||
It should be as easy as adding something like http://hg.mozilla.org/build/buildbot-configs/file/f9acbb7a3536/mozilla/release-firefox-mozilla-beta.py.template#l173 to http://hg.mozilla.org/build/buildbot-configs/file/f9acbb7a3536/mozilla/release-firefox-mozilla-esr38.py.template#l153
Comment 5•9 years ago
|
||
I can review the patch ;)
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #3) > If archive.mozilla.org would also work, you could use > http://archive.mozilla.org/pub/mozilla.org/firefox/releases/latest-esr/ The problem is that the filenames are not symlinked to latest, only the directory name, so to programmatically feed into a script that uses wget, you still need to scrape the html to figure out the filename > Otherwise we could announce mozdownload to travis ci. Travis is written in ruby and all they want is the latest version. The firefox support file (linked in comment 1) is a total of 70 lines of code, adding a mozdownload ruby port would multiply that by a lot :-) (In reply to Rail Aliiev [:rail] from comment #4) > It should be as easy as adding something like Ah thank you - will create a patch :-)
Assignee | ||
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
Comment on attachment 8662921 [details] [diff] [review] Add a firefox-esr-latest bouncer alias Thank you!!!
Attachment #8662921 -
Flags: review?(rail) → review+
Comment 9•9 years ago
|
||
I created a new product alias (firefox-esr-latest) in bouncer and pointed it to Firefox-38.2.1esr (it works now). 38.3.0esr has been built, but not released yet. Even if we land the patch, it won't affect it, because the configs have been already bumped and tagged. We can either ignore and wait until the next esr build or update the alias manually.
Assignee | ||
Comment 10•9 years ago
|
||
https://hg.mozilla.org/build/buildbot-configs/rev/09d9cb0d1fdd (In reply to Rail Aliiev [:rail] from comment #9) > I created a new product alias (firefox-esr-latest) in bouncer and pointed it > to Firefox-38.2.1esr (it works now). Thank you :-) > 38.3.0esr has been built, but not released yet. Even if we land the patch, > it won't affect it, because the configs have been already bumped and tagged. > We can either ignore and wait until the next esr build or update the alias > manually. I'll see how it goes with timing of a travis PR.
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 11•9 years ago
|
||
I updated the alias manually this time, but it should work automatically next time.
Assignee | ||
Comment 12•9 years ago
|
||
Great - thank you :-)
Comment 13•9 years ago
|
||
Updated the docs for setting up an esr branch: https://wiki.mozilla.org/index.php?title=ReleaseEngineering%2FHow_To%2FCreate_new_ESR_branch&diff=1096805&oldid=1074299
Assignee | ||
Comment 14•9 years ago
|
||
Thanks :-)
You need to log in
before you can comment on or make changes to this bug.
Description
•