Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Mozilla CI instead of Github #584

Closed
Tobi823 opened this issue Apr 17, 2024 · 12 comments
Closed

Use Mozilla CI instead of Github #584

Tobi823 opened this issue Apr 17, 2024 · 12 comments
Labels
enhancement New feature or request

Comments

@Tobi823
Copy link
Owner

Tobi823 commented Apr 17, 2024

mozilla-mobile/firefox-android#5900

@Tobi823
Copy link
Owner Author

Tobi823 commented Apr 17, 2024

@Eric-01
Copy link

Eric-01 commented Apr 22, 2024

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/

@Tobi823 Tobi823 pinned this issue Apr 23, 2024
@Tobi823
Copy link
Owner Author

Tobi823 commented Apr 23, 2024

@Tobi823
Copy link
Owner Author

Tobi823 commented Apr 23, 2024

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.

@Rob--W
Copy link

Rob--W commented Apr 24, 2024

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

@Eric-01
Copy link

Eric-01 commented Apr 24, 2024

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.

@Eric-01
Copy link

Eric-01 commented Apr 24, 2024

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?

@Tobi823
Copy link
Owner Author

Tobi823 commented Apr 24, 2024

@Eric-01 I asked the developers on their Matrix chat (https://chat.mozilla.org/#/room/#fenix:mozilla.org):

  1. I can use Mozilla CI or archive.mozilla.org - it does not matter.

  2. Maven Central does not contain artifacts like APK files.

  3. There is also ftp.mozilla.org, but I looks like archive.mozilla.org

@Th3M4ch1n3
Copy link

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.

@Tobi823
Copy link
Owner Author

Tobi823 commented May 20, 2024

I will fix this tomorrow (21.05). Weekend was a bit busy.

Tobi823 added a commit that referenced this issue May 21, 2024
Tobi823 added a commit that referenced this issue May 21, 2024
- Thanks for the Weblate contributions from: Kazushi Hayama, winver, gallegonovato, Scrambled777, Eryk Michalak, v1s7, Gersonzao, Flavio F. M., syl, Oğuz Ersen and MkQtS
- use archive.mozilla.org for Firefox Release / Beta / Nightly / Focus / Focus Beta / Klar (#584)
@Tobi823 Tobi823 closed this as completed May 21, 2024
@Attigliuzzo
Copy link

There is an error while ffupdater tries to reach the new Mozilla site:

photo1716359228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants