Brave-browser: [Android] F-Droid "firefox" repo: Unclear version numbering

Created on 18 Apr 2020  路  4Comments  路  Source: brave/brave-browser

Related, but not the same: #6217, #7027

F-Droid firefox repo does not know which version to choose

The F-Droid "firefox" repo has been shipping Brave for a while, until the brave/browser-android-tabs repo shut down. Now we don't know which .apk to include into the repository.

Open questions:

  1. Which version do we choose? Do you have stable releases for Android or nightly builds only?
  2. How can we automatically fetch the latest stable/beta/nightly build using a single URL (or the GitHub API for Releases)? Note: As far as I understand fetching the non-nightly builds is only possible if you set the prerelease flag to true for all non-nightly builds.
OAndroid question

Most helpful comment

Downloading works sometimes now, but the APKs miss metadata so that fdroidserver is unable to determine stuff like architecture and version from it:

WARNING: Bravearm.apk (com.brave.browser_nightly) has no metadata!
    Use `fdroid update -c` to create it.
WARNING: Bravex86.apk (com.brave.browser_nightly) has no metadata!
    Use `fdroid update -c` to create it.

All 4 comments

Which version do we choose?

You can get the release version on GH via Android Changelog

Think the second question should also be possible by checking the tag in Changelog file

cc: @SergeyZhukovsky @samartnik

Hm, checking and parsing the changelog is a hard thing to do. I thought maybe you could change the releases metadata so that the API URL gives all the necessary information: https://api.github.com/repos/brave/brave-browser/releases/latest

Right now, in https://github.com/brave/brave-browser/releases the nightly builds and preview builds are labelled as "latest release". If you marked the nightly builds as "pre-release" (docs), this issue should be gone.

Downloading works sometimes now, but the APKs miss metadata so that fdroidserver is unable to determine stuff like architecture and version from it:

WARNING: Bravearm.apk (com.brave.browser_nightly) has no metadata!
    Use `fdroid update -c` to create it.
WARNING: Bravex86.apk (com.brave.browser_nightly) has no metadata!
    Use `fdroid update -c` to create it.
Was this page helpful?
0 / 5 - 0 ratings