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

Release build apk #742

Closed
foxjaw opened this issue Nov 7, 2023 · 6 comments
Closed

Release build apk #742

foxjaw opened this issue Nov 7, 2023 · 6 comments
Labels
Milestone

Comments

@foxjaw
Copy link

foxjaw commented Nov 7, 2023

F-Droid version is okay. But also can you post apk builds in releases ? I'm actually tracking your repo through Obtainium. It tracks updates directly from source releases. GitHub is also 10 fold faster than F-Droid repos.

@forrestguice
Copy link
Owner

forrestguice commented Nov 22, 2023

Its definitely worth considering, however the situation itself is kind of complicated.

F-Droid currently builds, signs, and publishes the main app (and calendar add-on). These aren't published elsewhere so this turns out to be extremely convenient for me. I need only tag new releases and F-Droid will automatically build them (typically a week later).

To publish my own binaries (here on GitHub, or to Google Play), it becomes necessary to build and sign the apk myself. We could then have F-Droid use that apk instead (reproducible builds) - a lot of apps are doing this recently. However, because the signature will change, it means existing users will be forced to uninstall and reinstall (no upgrade path). So unfortunately, its not the sort of change I can make casually. It will have to be very deliberate.

Meanwhile the other add-ons are all self-published (good candidates for Obtainium). I actually wouldn't mind if F-Droid published these too. If someone wants to make a rfp I'm ok with that. That might be a good opportunity to test out reproducible builds before doing it with the main app.

@foxjaw
Copy link
Author

foxjaw commented Nov 23, 2023

I understand. Is it possible to use F-Droid signature on github release ?

@forrestguice
Copy link
Owner

forrestguice commented Dec 1, 2023

Is it possible to use F-Droid signature on github release ?

Not really, but I could upload the F-Droid built apks here (I took a peek at the edit history).
Needless to say though its going to be slower than getting it from F-Droid itself.

@foxjaw
Copy link
Author

foxjaw commented Dec 2, 2023

I mean, it's okay if you release the same fdroid app here. That's what I need. GitHub downloads way faster than F-Droid.

@forrestguice forrestguice added this to the v0.15.10 milestone Jan 23, 2024
@forrestguice
Copy link
Owner

forrestguice commented Jan 23, 2024

GitHub downloads way faster than F-Droid.

Ahh, I understand now. I've uploaded the apk built by F-Droid to releases. (v0.15.10)
I'll try to make a point of doing this whenever I verify the app has been built.

I'm considering creating a "Suntimes F-Droid repo" (hosted here via GitHub pages).
That seems like another way to offer a quicker download, and would help advertise available add-ons.

@forrestguice
Copy link
Owner

I've going to stop uploading to Github releases. I gave this a try, but recently received a report where it was a source of confusion (#771).

Instead, I've published the Suntimes related apks to their own F-Droid repository. There's more info about that in #772.
The download should be as fast as Github releases (since the hosting is the same).

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

No branches or pull requests

2 participants