-
Notifications
You must be signed in to change notification settings - Fork 126
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
Possibility to release on F Droid? #8
Comments
To that end, it's important to know whether this app depends on non-free libraries |
Hello there!
The app doesn't depend on Google’s proprietary “play-services”, it doesn't use proprietary tracking/analytic dependencies, it's ad free, and it does not sign up for any API Keys. As a start, Anyway,
We would need to have something automatic (like Izzy does) for updates, and to use our original APK, avoiding to have many APKs with different signatures around the Web. |
@Rudloff may be able to help with these questions. |
I tried The next step would be to open a RFP: https://gitlab.com/fdroid/rfp/issues/new |
|
Yesterday I fixed the gradle vs wrapper version mismatch and I added the missing distributionSha256Sum for gradle-6.5-bin.zip on develop branch, in order to be aligned in the next incoming v3.1.0 release; thanks for the reporting. Please publish exclusively the (upstream-)developer signed APKs on F-Droid (using the Binaries directive). |
F-Droid will publish a self-signed app (with their own keys) because we're building apps from source and signing them afterward. There is a possibility to publish the developer-signed apk if the build is reproducible, but it can be very complicated... Maybe @IzzySoft can explain better than me ;) |
As Poussinou correctly pointed out, that would violate F-Droid's rules. We exclusively publish what we build from code we have checked. This way users can trust the APK they get has what the code promises, no "funny things" added. If you want your signature on those APKs, there's indeed the way of "reproducible builds" – where the APK you build and the one build by F-Droid, both stripped of their signatures, are binary identical. Tricky to reach, but possible. In that case, when the check succeeds, we take the APK signed by you and add our own on top. You can read more here. |
With Gradle 8.0 the app compiles and runs in debug mode, but I have difficulties with lint when I assemble the release. The process aborts with the following message: Executing tasks: [:app:assembleRelease] in project /home/Graziano/Dropbox/Projects/GPSLogger
FAILURE: Build completed with 3 failures. 1: Task failed with an exception.
2: Task failed with an exception.
3: Task failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/8.0/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 820ms 34 actionable tasks: 6 executed, 28 up-to-date If I remove the script the 3 errors are gone. Some users on Stack Overflow suggested to disable the new lint checks; I think that it is not a solution, but I tried it and the error was still present. I tried to read some documentation in order to figure out how to solve the problem but no way, I have no idea how to apply the tips that gradle suggested. Someone can help me? |
I can successfully build the app from the latest release by just running -------------------------------
--- /dev/fd/63 2024-07-09 00:38:46.810923997 +0200
+++ /dev/fd/62 2024-07-09 00:38:46.814923968 +0200
@@ -1,11 +1,11 @@
META-INF/com/android/build/gradle/app-metadata.properties
32-bit CRC value (hex): 17782998
assets/dexopt/baseline.prof
- 32-bit CRC value (hex): a5745cd8
+ 32-bit CRC value (hex): b643c58a
assets/dexopt/baseline.profm
32-bit CRC value (hex): 9fcd5fa2
classes.dex
- 32-bit CRC value (hex): 29ffa4c0
+ 32-bit CRC value (hex): 1a17c4f1
DebugProbesKt.bin
32-bit CRC value (hex): e5f78a88
META-INF/androidx.activity_activity-ktx.version
@@ -2076,9 +2076,3 @@
32-bit CRC value (hex): 01957c93
resources.arsc
32-bit CRC value (hex): bd72299e
Thanks in advance for helping with RB! |
Unfortunately I know that GPS Logger is not reproducible. Some time ago I tried a patch suggested from the F-Droid apps merge request. The build was reproducible, but I found difficulties to assembly the release due to the new gradle checks. |
Thanks a lot! If you could give me a ping when that release is ready, I'd retry the RB at IzzyOnDroid and let you know (expecting my feedback to be faster, but no guarantees for that). |
@IzzySoft I applied the patch including the 3 lines suggested by linsui (commit 25ee867, into the issue-8 branch) and Android Studio generates the release signed APK successfully. It seems to work. BUT If I create the signed APK, then I clean the project (Build -> Clean Project) and I try to create a second signed APK to check the differences, the second time the command returns a python error. I must restart Android Studio to generate another APK. Thus at this time I prefer to stay still and don't add any patch to the develop code. |
I've never used Android Studio and thus cannot tell. We're using rbtlog to build, which uses containers. Those are "clean" by default as they are abandoned at the end of the process, so each build starts "virgin". rbtlog can also be used to just build, not only to check for RB. |
Hello there!
Your app looks interesting, I would sure like to try it! Would it be possible to release it on F-Droid? It will be very helpful if you can.
The text was updated successfully, but these errors were encountered: