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

Version mismatch + F-Droid #83

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thgoebel
Copy link

@thgoebel thgoebel commented May 5, 2024

Workaround for issues being disabled

🎟️ Tracking

n/a

📔 Objective

I was going to open an issue, but they are disabled. So a PR it is 🤷

Two questions:

1. Bad release (version mismatch)

There is something wrong with the tagged 2024.05.0 release: https://github.com/bitwarden/authenticator-android/releases/tag/v2024.5.0). The attached APK has version name 2024.04.20 and version code 22.

2. F-Droid Inclusion

Are you open to including Bitwarden Authenticator in F-Droid?

There is a Request for Packaging here: https://gitlab.com/fdroid/rfp/-/issues/2738

If you want to official support it, it would be nice if you could add a "libre" flavour that has Firebase removed. Then we could aim at Reproducible Builds and ship a Bitwarden-signed APK.

Otherwise, F-Droid can strip Firebase (and any other non-free things that may appear) in its build script, and have F-Droid sign the APK.

It would be nice if you could add app metadata and screenshots in the Fastlane format, see https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/

Finally, it would be awesome if you could hardcode the version name and version code, instead of auto-generating it.
For example, this would make it easier to track down mismatches/wrong tagging like the one you produced above (currently it is very hard to tell for an outsider from which commit that 2024.04.20 APK was built). And you are not the first ones with this. Hardcoding is just clearer.
It will also play nicer with F-Droid's autoupdate infrastructure.

📸 Screenshots

n/a

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

workaround for issues being disabled
@licaon-kter
Copy link

And you are not the first ones with this.

Link is copy/paste error? :)

@thgoebel
Copy link
Author

thgoebel commented May 5, 2024

Both Proton Drive (the link) and this are instances of the APK being distributed having another version code+name than what the tagged source produces and what the tag says. And both are instances of dynamically generating the version name + code.

@kspearrin
Copy link
Member

@thgoebel

I am not sure why you can't see Issues here on GitHub. It should be enabled.

image

  1. Yes, we had to cowboy the release a little this first time around. Seems we screwed some things up. We are working on automating it all for future releases.
  2. We also plan to submit to F-Droid in time.

@thgoebel
Copy link
Author

thgoebel commented May 7, 2024

I can see issues, but I am not allowed to create any.

Great to hear!

@proletarius101
Copy link

I opened a merge request for this: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15251

The biggest issue I spot is the private maven repo: https://github.com/bitwarden/authenticator-android/blob/be96f1b9d42207f6261002ab93a83eb91bb36d1a/settings.gradle.kts#L35C1-L35C68

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

5 participants