Skip to content

Link android version number to pysollib.settings version number#584

Closed
bwrightkc wants to merge 1 commit into
shlomif:masterfrom
bwrightkc:fix/android-version-sync
Closed

Link android version number to pysollib.settings version number#584
bwrightkc wants to merge 1 commit into
shlomif:masterfrom
bwrightkc:fix/android-version-sync

Conversation

@bwrightkc

Copy link
Copy Markdown
Contributor

This change simply changes the android version number from being hardcoded in the buildozer file and instead links it to pysollib.settings so that there is no need to update the build version multiple times when version number increments.

@bwrightkc

Copy link
Copy Markdown
Contributor Author

Version number was stuck at 3.4.1 in current source - wondering if this is why F-Droid was stuck at version 3.4.1 and didn't have the latest fix in it. Possibly relevant to #581 as that crash is fixed in 3.6.0 and may be the users are still experiencing the crash as F-Droid didn't see the 3.6.0 as a new release due to this line being outdated.

@joeraz

joeraz commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

I don't believe there is an automated job to update the Android version on F-Droid. It's usually @lufebe16 who handles these deployments - I'm not sure if I have the permissions to run it myself.

@lufebe16

Copy link
Copy Markdown
Collaborator

The F-Droid build is not an automatable process. Therefore, the version number for Android versions has been decoupled from the main system.

The Android app ID is org.lufebe16.pysolfc. Under this name, you can find the build specification for F-Droid at https://gitlab.com/fdroid/fdroiddata in the metadata directory.

The current procedure is as follows:

  1. Add the new version number to ./buildozer/aversion
  2. Create a release app. This generates important parameters for the release from the build system. The file ./buildozer/.buldozer/android/platform/.../dists/pysolfc/build/outputs/apk/release/output-metadata.json must be saved as pubspec.json in ./buildozer (update).
  3. A changelog with the correct name for this version (as 'versioncode'.txt) must be created in ./fastlane/metadata/android/en_US/changelogs.
  4. Check if everything is correct - then commit.
  5. A new tag for the version number (android-x.x.x) can now be added to the commit. This triggers the F-Droid build.

Now wait. It takes about two weeks. The progress can be tracked with the
Android app F-Droid Build Status.

If something goes wrong, the build specification on fdroiddata may need to be updated and tested. This may also require communication with F-Droid developers.

If someone wants to take on this task, I have no objection.

@bwrightkc

Copy link
Copy Markdown
Contributor Author

Ah, wow, that's on me then. Had no clue that F-Droid was still that involved on updates - I usually just load APKs directly. No point in this commit then :)

@joeraz

joeraz commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

I can try to run through those steps for 3.6.1 sometime in the upcoming week, if just because of the recent critical bugfixes, but I'd have to see about the long-term.

@lufebe16

Copy link
Copy Markdown
Collaborator

@joeraz Unfortunately, F-Droid has updated their build server from 'Debian Bookworm' to 'Debian Trixie'. A test with my build server in a container shows that further problems are to be expected. A third-party tool might also need to be updated. I'll take care of this myself after all. Thanks.

@joeraz

joeraz commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

@lufebe16 Understood, thanks. Should we merge this PR or just close it?

@bwrightkc

bwrightkc commented Jul 22, 2026 via email

Copy link
Copy Markdown
Contributor Author

@joeraz

joeraz commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Alright, then.

@joeraz joeraz closed this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants