You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this PR I am trying to remove the dependency on travis-multirunner but would like to retain the ability to download different FF versions (stable, aurora, esr, maybe dev).
It seems the main obstacle is that the directory structure for FF Nightly is https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/{buildId}.{locale}.{platform-specific-stuff} (example here)
while for the other channels the platform and locale come earlier in the path: https://archive.mozilla.org/pub/firefox/releases/{buildId}/{platform}/{locale}/<binary> example here
Would monkeypatching resolveDownloadUrl to recognize the default nightly baseUrl and call resolveDownloadPath/archive with a different boolean flag be an ok approach?
This would allow "users" to pass a different baseUrl depending on the channel.
The cleaner alternative would be to plumb the channel through (for other browsers as well)
Yet another approach would be the one that travis-multirunner has taken for a decade and download from 'https://download.mozilla.org/?os=' + platform + '&lang=' + lang + '&product=firefox-' + (channel || 'latest'); but I would like less travis-multirunner, not more ;-)
Issue #6894 has some context on switching the default and helpful pointers to download urls
The text was updated successfully, but these errors were encountered:
Feature description
In this PR I am trying to remove the dependency on travis-multirunner but would like to retain the ability to download different FF versions (stable, aurora, esr, maybe dev).
It seems the main obstacle is that the directory structure for FF Nightly is
https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/{buildId}.{locale}.{platform-specific-stuff}
(example here)while for the other channels the platform and locale come earlier in the path:
https://archive.mozilla.org/pub/firefox/releases/{buildId}/{platform}/{locale}/<binary>
example here
Would monkeypatching resolveDownloadUrl to recognize the default nightly baseUrl and call resolveDownloadPath/archive with a different boolean flag be an ok approach?
This would allow "users" to pass a different baseUrl depending on the channel.
The cleaner alternative would be to plumb the channel through (for other browsers as well)
Yet another approach would be the one that travis-multirunner has taken for a decade and download from
'https://download.mozilla.org/?os=' + platform + '&lang=' + lang + '&product=firefox-' + (channel || 'latest');
but I would like less travis-multirunner, not more ;-)Issue #6894 has some context on switching the default and helpful pointers to download urls
The text was updated successfully, but these errors were encountered: