Closed Tobi823 closed 3 months ago
Perhaps archive.mozilla.org would be a better choice?
Some time ago, a user noticed that artifacts for Firefox Nightly for Android are no longer created by the (previous) Mozilla CI. This information was shared on the Firefox subreddit. Among those who participated in the conversation was @evilpie, one of the Mozilla employees, who wrote:
Not surprising, because Firefox for Android moved from github to mozilla-central. I don't think we really want people to directly use CI instead of archive.mozilla.org.
Source: https://www.reddit.com/r/firefox/comments/1brf1uv/firefox_nightly_for_android_didnt_get_updated_for/
Thanks for the info. I totally forgot that archive.mozilla.org existed. I will try to find the links :)
org.mozilla.firefox_beta: https://archive.mozilla.org/pub/fenix/releases/126.0b4/android/fenix-126.0b4-android-arm64-v8a/
org.mozilla.firefox: https://archive.mozilla.org/pub/fenix/releases/125.2.0/android/fenix-125.2.0-android-arm64-v8a/
Do you have an idea from where I can fetch the latest release versions? I need the version to construct the download url. E.g. I need "126.0b4" to get from https://archive.mozilla.org/pub/fenix/releases/???/android/fenix-???-android-arm64-v8a/ to https://archive.mozilla.org/pub/fenix/releases/126.0b4/android/fenix-126.0b4-android-arm64-v8a/.
I could try to parse the result from https://archive.mozilla.org/pub/fenix/releases/ and try to find the highest version value. But that can be tricky.
I could try to parse the result from https://archive.mozilla.org/pub/fenix/releases/ and try to find the highest version value. But that can be tricky.
The version format and ordering is documented at https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/version/format
An example of a version comparator implementation is at https://github.com/mozilla/addons-moz-compare
There is an endpoint at download.mozilla.org that serves the legacy Firefox for Android a.k.a. Fennec:
However, I have no idea whether something similar has been created for the rewritten Firefox for Android or not. I'm afraid that no one might have bothered to prepare something like this.
Now that both desktop and mobile Firefox are hosted in the large Mozilla repo, this may be something worth taking into consideration. It would save Tobi823 and maintainers of other similar projects the trouble of parsing versions themselves. @Rob--W, would you be able to reach out to the mobile team or sysops at Mozilla and pass this on to them?
@Eric-01 I asked the developers on their Matrix chat (https://chat.mozilla.org/#/room/#fenix:mozilla.org):
I can use Mozilla CI or archive.mozilla.org - it does not matter.
Maven Central does not contain artifacts like APK files.
There is also ftp.mozilla.org, but I looks like archive.mozilla.org
Hi there? Is there any movement on this? Firefox 126 patched the PDF.js RCE bug so I'm anxious to upgrade but I still dont see anything in ffupdater.
I will fix this tomorrow (21.05). Weekend was a bit busy.
There is an error while ffupdater tries to reach the new Mozilla site:
https://github.com/mozilla-mobile/firefox-android/issues/5900