chenxiaolong / RSAF

An Android Storage Access Framework document provider for rclone
GNU General Public License v3.0
199 stars 6 forks source link

Feature request: Add RSAF to F-Droid repo #50

Open archandanime opened 8 months ago

archandanime commented 8 months ago

Currently there is no way to automate RSAF update except for manually downloading the APK file from your repo. Even though it only takes a few taps to to update RSAF, I believe it would be really nice to have RSAF automatically updated on the background.

I really appreciate your app, it is simple but extremely useful(I like your apps a lot since DualBootPatcher in the old days). I couldn't ask more but maybe someone else also wishes to have the app automatically updated.

Thank you!

chenxiaolong commented 8 months ago

I think this is a great idea, but it isn't something I have time for right now, unfortunately.

If someone else were to create the necessary metadata files and submit a PR, I'd accept it. That said, I'm not sure if RSAF can be accepted into the main F-Droid repo. One of the requirements listed at https://f-droid.org/en/docs/Inclusion_Policy/ is:

Binary dependencies such as JAR files have to be built from source or installed from Debian repos.

RSAF is completely open source and so is everything it depends on. However, it does require gomobile, which is a package that needs to be installed on the host machine. (It's outside of the scope of Android's regular gradle build scripts.) gomobile currently isn't packaged in Debian's repos, so as it is right now, I don't think F-Droid's build servers are able to build RSAF.


In the meantime, I'd suggest using https://github.com/ImranR98/Obtainium to update directly from Github Releases.

archandanime commented 8 months ago

Thank you for the quick reply! I'd look take a look at Obtainium.

alexanderadam commented 5 months ago

@archandanime you can also use RoundSync in the meantime.

It's available on F-Droid if you activate the IzzyDroid repo. SAF is can be activated from settings although it is marked as experimental and the documentation got lost.

It doesn't support random seek though.

iexos commented 1 month ago

However, it does require gomobile, which is a package that needs to be installed on the host machine.

It seems there are quite a few apps on f-droid using gomobile, so inclusion should not be a problem: 1 2 3

iexos commented 1 month ago

I gave it a shot, though I don't really know what I'm doing and something regarding go/gomobile does not work:

https://gitlab.com/iexos/fdroiddata/-/blob/com.chiller3.rsaf/metadata/com.chiller3.rsaf.yml https://gitlab.com/iexos/fdroiddata/-/jobs/7748334932

If anyone wants to pick it up, feel free to do so :)

iexos commented 2 weeks ago

I also opened a Request for packaging containing further discussion