-
Notifications
You must be signed in to change notification settings - Fork 62
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
Publish to F-Droid #8
Comments
This comment has been minimized.
This comment has been minimized.
@qazip You may know Izzy's F-Droid repo. Baldphone can be downloaded from there. (+ automatic updates) @UriahShaulMandel Since Baldphone is mainly developed for elderly or handicapped people they don't know what Github or F-Droid are. |
Hi @Primokorn |
And apparently, I can use a different branch on f-droid, like this |
@UriahShaulMandel Thanks for the explanation. F-Droid is a decent alternative (that I use for years) but still hard to explain to an elderly person. |
@Primokorn if you can somehow gain root access of the device, i advise to install F-Droid Privileged Extension additionally, then you can configure f-droid to check for, download and install updates completely unattended. |
@DJCrashdummy I know but I don't want to root her phone (too much power for an elderly person). |
@Primokorn or at some custom ROMs you can also deactivate root access or also unroot the phone completely after installing F-Droid Privileged Extension... no idea if this is possible with a stock android (never even thought about it, nor done it). or e.g. i installed and activated root on a bunch of phones, but granted root access just for AdAway, oandbackup and if needed Wrong PIN Shutdown... a very short timer to ask for root permissions (default answer is "no") does the rest. but that's clearly getting OT, sorry for that. |
Made me think perhaps I can release a fork of LineageOS, preinstalled with BaldPhone, with system access so it has auto-update enabled. |
@UriahShaulMandel not sure if this is worth the effort: because you need an pretty techy "admin" resp. friend to flash no matter what custom ROM. and after that, setting up f-droid to do the auto-update is easy peasy at least for this techy admin... and if the "F-Droid Privileged Extension" is preinstalled, not just for them. |
Yes, right now I'm on vacation, but as soon as I come back, I'll release BaldPhone on F-Droid |
no pressure from my side... i just wanted to help organize priorities and balance effort & use. |
Hi, mainly targeted towards @IzzySoft , which is a maintainer of F-Droid, but every help will be appreciated I want to release BaldPhone to F-Droid main repo too as you suggested. I've added an F-Droid branch, which doesn't use BaldPhone in-app updating mechanism, you can check it out here I found a way to keep working only in the master branch, and only before releasing a new version I merge the new changes into the F-Droid Branch. With that said, I've encountered a problem: Any suggestions? |
I'm not a dev and neither a packager, so please forgive any inconsistencies etc.: Are you familiar with build flavors? That's what's normally used in such cases. AFAIR F-Droid cannot easily work on a different branch – but then, what might work (and here comes the "I'm no packager" part):
Not 100% sure if that works that way – because if it is, why was there talk about issues with branches? So build flavors (aka build variants) would be the better approach – and should also save you from maintaining two branches and from the merging otherwise needed. |
Hi @IzzySoft , I added build variants as you suggested. I did it like this project, now I have two build variants, Is there anything else I need to do before uploading BaldPhone to F-Droid? |
The only thing coming to my mind is establishing Fastlane structures (see here to get an idea: no need to install Fastlane, just create the structures and fill in screenshots etc). That way you could provide (selected) screenshots, and also could maintain summary/description yourself – even for multiple locales (I guess you'd like to have at least Ivrit next to English), plus per-release changelogs (which then would be shown "inline" with the app description when viewing it in the client). Then have a tag covering this – and I'd say after that go for it. If we missed anything, we'll find out then. When ready for the RFP, just let me know: I can provide the metadata template as that's mostly a copy-paste from my repo, just with the build details needing to be added. |
Hi, I added the screenshots and the texts in this commit. The only thing I wasn't sure about was how to add the changelog, which I didn't add. Can F-Droid just use the changelog from the releases? Aside from that, I think BaldPhone is ready :) |
There are two ways to provide access to changelogs: via a link ( Fastlane structure looks good! Though I'd recommend not to use "framed" screenshots: the frames waste useful screen estate. Consider your "bald ones" evaluating your app on a 5" mobile screen: the less "clutter" around, the better they can visualize the "real important stuff". Just a recommendation, not mandatory – but especially in context of this app's purpose I felt the need to mention it 😉 I'd setup the RFP in the evening if you wish – to give you a little time to (optionally replace the screenshots by non-framed ones and) tag the latest commit (F-Droid grabs only what is tagged, so currently it would not "see" the Fastlane structures). |
I've done it, and I think I'll show the changelog via a link at the meantime. |
You're both right, I changed, waiting for tests to complete and releasing :)
|
Great! Will be automatically picked up (if I remember correctly, we've set it up that way, to check the tags). |
Hi, I saw BaldPhone in F-Droid, very cool :)
|
|
ad 1. auto update seems to be enabled and that it has worked for |
Everything is working! @DJCrashdummy and @IzzySoft Thank you very very much!
@IzzySoft You know better than me, but I don't see any problem with keeping BaldPhone in your repo too. The more the better :) (You can still comment in this issue if you have something to add) |
That tab is mislabeled for a while now and should read "featured". In order to have an app show up there, it must have screenshots and per-release changelogs. Baldphone's Fastlane directory lacks the latter. As for the "double keep": Updates are definitely faster with my repo, as long as you keep attaching the APKs. Users who installed it from one repo won't get update recommendations from the other. The only thing I'm not sure about is: even with both repos having the same version, which one would be recommended to the user on first install? I've just checked: though the one from the main repo is listed one day newer, it's the APK from my repo (I had expected the official one getting preference). Seems like the algorithm is "pick the (first) one with the highest Just remember that cross-updates are not possible; so whatever source a user is installing it from initially, (s)he is stuck with until uninstall. Which is why I usually remove apps from my repo at this point, with few exceptions. Some apps have their APKs in both places:
Shall we have a poll? 😄 With the two of us undecided, what do the other two you just pinged think? |
@IzzySoft After doing a lot of thinking I think it's best to remove the current version of BaldPhone from your repo, and to add a beta version of BaldPhone there instead. I really need to start ab testing and it can solve both of the problems at once. Is it OK? How should I do it? Can you take pre-released versions and change their package name? Again, Thank you very much for everything! |
That would be perfect, and I gladly comply! I can't change package names (and neither can I sign), so I'd need signed APKs with a different package name to start with. You could use a build variant for that, which basically is identical to the "standard one" with the exception of using a different package name (I'd suggest appending Then we need to take care with the tags/releases, to have the F-Droid build process ignore the betas (and mine ignore the "real releases"). Update check at F-Droid must use |
just an idea: maybe it is possible to introduce BaldPhone at #TWIF? ...because i really don't know a similar FOSS project and think thereby it will get some additional attention (which it definitively deserves). citing from the last TWIF:
sorry for adding this to this old issue, but i just wanted to mention it and not sure if it deserves its own issue. |
Thank you very much @DJCrashdummy ! |
@DJCrashdummy do you know how to submit BaldPhone to TWIF? I went to the forums and it's not clear... |
well, not really... i'm just a FOSS-enthusiast and advanced user (resp. reader in this case) who really cares. i guess regarding TWIF it is the best to contact the fdroid-team via Mastodon with #TWIF or their forum and ask/suggest to include BaldPhone. ...if you face problems, i guess they would be also glad to help at Freenode, Matrix, Mastodon, Forum or Telegram (as also linked in the previous quote). |
I'm not involved with TWIF. But sending a note to |
Hi @IzzySoft , |
Thank you @earboxer , @DJCrashdummy , @IzzySoft
Oh, it sometimes takes a little. Cannot show up before a new index is released (which is easiest to check via my repo browser here – which currently tells you the last index update happened on August 13). You can also check build activities here and see there haven't been any since your release. (Apologies for the delayed response, but I was AFK) |
Ok, thanks! |
No. Sometimes it takes longer. And other times it just happens the next day. Unpredictable due to the manual steps involved which only a single person can perform (the one who has the keys to sign with). |
Not sure why it's still open, everything is working :) |
@UriahShaulMandel maybe you kept it open because we wanted to switch your copy in my repo to test builds, while keeping production builds in the official repo? Currently both have the production builds. Oh, and you might like to add the attachment to your project (after unpacking) – just made for you 😉 |
Have you thought about publishing baldphone to F-Droid?
The text was updated successfully, but these errors were encountered: