thunder-app / thunder

Thunder - An open-source cross-platform Lemmy client for iOS and Android built with Flutter
https://thunderapp.dev
GNU Affero General Public License v3.0
747 stars 64 forks source link

Add app to the main F-droid repo #347

Open niporasomo opened 1 year ago

niporasomo commented 1 year ago

Is your feature request related to a problem? Please describe.

It would be awesome if the app could be added to the main F-droid repo! More people could have a chance to see it too if they don't have the IzzyOnDroid repo added. I'm not sure if it would be possible to do with Thunder, but I think the person who maintains IzzyOnDroid is also a maintainer with F-droid and might be able to help?

Thanks for your time and for making an awesome app!

hjiangsu commented 1 year ago

I'll have to see what the process is to get it on F-Droid!

Thankfully, IzzyOnDroid has helped a lot with getting Thunder on there, but I'm not too familiar with how F-Droid works. On the other hand, I've been working on getting Thunder on the Play Store, so that is something that's happening in the background to help bring more people here

niporasomo commented 1 year ago

Awesome! I think this link has their criteria to be accepted, and I'm sure IzzyOnDroid can lend a hand too:

https://f-droid.org/docs/Inclusion_Policy/

Also love all the development work going on with the app, especially since so many people have been moving over to Lemmy recently. Google Play, Izzy and F-droid should definitely get more attention for Thunder.

shuvashish76 commented 11 months ago

RFP: https://gitlab.com/fdroid/rfp/-/issues/2502

IzzySoft commented 11 months ago

Fastlane is not found by he F-Droid process as it is in the wrong place: /android/fastlane/metadata/android, it must be moved one level up. Can you do that? (and please let me know if it was done, so I adjust it for my repo; F-Droid looks in pre-defined "standard locations", with my repo this is configurable).

Coehill commented 10 months ago

Hey @shuvashish76, just following up on moving Fastlane which blocking F-Droid approval. :)

hjiangsu commented 10 months ago

Just going to circle back to this: I haven't done testing yet on whether or not moving the fastlane folder up a level will affect anything. If this is a blocker for getting it approved on F-Droid, then maybe we can do a test and see if its viable!

I think it should be okay since it looks like Liftoff also has the fastlane directory on the top level.

IzzySoft commented 9 months ago

Yes, please do the test. F-Droid only finds those details at the defined locations (see my Fastlane Cheat Sheet for details, which outlines the 3 possible locations). The most common one is what I mentioned above, and the majority of apps use it that way.

hjiangsu commented 4 months ago

Sorry for the long delay on this, but I've moved the fastlane directory up to the root directory. I hope this resolves the issue!

@IzzySoft Are you able to double check if this is valid without the need to generate a new build (i.e. clone from the develop branch)? If not, then we can wait until the next pre-release/general release to check this.

IzzySoft commented 4 months ago

It looks fine to me. I've adjusted that in my setup to pull from the develop branch and the new fastlane location; remember to let me know when I should change that as with my updater the location is configurable.

As for the "main F-Droid repo": I'm currently not active at F-Droid. But I doubt anything concerning that has changed in the meantime, so they'll pick up fastlane from the same commit they build the APK from.

hjiangsu commented 4 months ago

It looks fine to me. I've adjusted that in my setup to pull from the develop branch and the new fastlane location; remember to let me know when I should change that as with my updater the location is configurable.

Thanks again for checking! And I'm sorry to hear that. Thanks for all the work you've done and best wishes for your future endeavours 😊

I'll keep this issue open until everything is confirmed to be working.

IzzySoft commented 4 months ago

Thanks for all the work you've done and best wishes for your future endeavours

Gladly, and thanks – I'll concentrate on my repo currently, so expect "things to come" there :wink:

Thewisem commented 1 month ago

Is there any development on this

hjiangsu commented 1 month ago

Hey, I just added a comment to the relevant upstream issue for F-Droid. Aside from this, there's not much else I can do!

shuvashish76 commented 1 month ago

Someone needs to create a merge request. Probably F-Droid maintainers are busy with other things... @hjiangsu why not you try it yourself? Here are the instructions.

hjiangsu commented 1 month ago

Ahh I see - I can look into that. Thanks!

hjiangsu commented 1 month ago

For devs:

So a bit of an update, I'm working on trying to get a merge request for F-Droid, but am running into an issue where F-Droid is detecting an invalid maven URL for background_fetch. This is most likely because of the way we set up the dependency for background_fetch in our build.gradle. I'm assuming it fails because F-Droid cannot confirm the contents of it?

maven {
    url "${project(':background_fetch').projectDir}/libs"
}

For reference:

@micahmo I'm not sure if there's a way to get around this issue without removing background_fetch entirely from the F-Droid build (which would require us to maintain a separate branch which is not ideal). Do you have any thoughts on this?

shuvashish76 commented 1 month ago

@linsui ping for the help

linsui commented 1 month ago

See https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/dev.imranr.obtainium.fdroid.yml.

hjiangsu commented 1 month ago

Thanks, I'll check that out!