pd4d10 / git-touch

An open-source app for GitHub, GitLab, Bitbucket, Gitea, and Gitee(码云), built with Flutter
Apache License 2.0
1.59k stars 138 forks source link

Add to f-droid #6

Closed 532910 closed 3 years ago

532910 commented 5 years ago

Please add it to F-Droid

https://gitlab.com/fdroid/rfp

pd4d10 commented 5 years ago

Good point. We'll try to submit it to F-Droid at next release.

linsui commented 4 years ago

Hi, could I open an rfp so that F-Droid guys will tell if there is any blocker?

532910 commented 4 years ago

Sure!

linsui commented 4 years ago

Here is the rfp. 😄

pd4d10 commented 4 years ago

Thanks! @linsui

Feel free to ping me if I can help.

IzzySoft commented 4 years ago

@pd4d10 here comes the ping… F-Droid maintainer here. Thanks for submitting your app to our catalog! We have a few minor issues which you hopefully can solve with ease:

Once that's available (and a new tag covering it), I'd set up metadata and push it to our packagers. Thanks again!

pd4d10 commented 4 years ago

Hi, @IzzySoft, Thanks for your quick response!

I'll check these issues you mentioned ASAP.

Would F-Droid build the release APK from source, or just take it from Google Play or GitHub release?

linsui commented 4 years ago

F-Droid build the release APK from source.

IzzySoft commented 4 years ago

As @linsui wrote: F-Droid builds from source only, no "blobs" permitted (i.e. also no .aar or .jar files – everything must be built from source, including all dependencies. A few trusted Maven repos are the exception as they have been "verified" and ship the source they built from along).

That's for the main repo. There's also my repo, which acts as kind of between "staging" and "non-free". I take the APKs provided by the developers – usually attached to releases. Apps in my repo are either "on their way" to the official one (still have some minor issues to solve in order to meet the much stronger criteria there), or cannot fully meet the criteria but are still "acceptable" in a way (i.e. not too many trackers/proprietary dependencies, so "mostly FOSS" with a FOSS license).

IzzySoft commented 4 years ago

@pd4d10 any news on this? The corresponding RFP is still stalled…

TheEvilSkeleton commented 4 years ago

I'm wondering the same. It hasn't been active for a while

IzzySoft commented 4 years ago

@pd4d10 are you still on this? First anniversary of your initial commitment. A good time to get this done, don't you agree? :smiley:

pd4d10 commented 4 years ago

Oh, sorry for the long wait. I got stuck last time.

Is there any app which is also built with Flutter at f-droid? Perhaps I could refer to some of them.

linsui commented 4 years ago

https://gitlab.com/fdroid/rfp/-/issues?scope=all&utf8=%E2%9C%93&state=all&label_name[]=flutter

IzzySoft commented 3 years ago

So are you still on it here? I was just about to close the RFP as there was no activity for a year, despite my ping 9 months ago.

I got stuck last time.

And now you are unstuck, @pd4d10? :speak_no_evil: I mean, is anything going on – your comment was 3 months ago? Just a friendly heads-up with the question whether we shall keep the RFP open :wink:

pd4d10 commented 3 years ago

Oh, sorry about that. Still didn't figure it out. The RFP could be kept open if it is not in a hurry.

BTW, I'm very glad to accept a PR if someone could help...

IzzySoft commented 3 years ago

I'm not an app dev, so I won't be able to help with that, sorry. But you could ask eg. at the forum, on IRC or Matrix.

The RFP will be kept open at least until my next triage run I guess. But if something sits for years and cannot be addressed, it just makes the backlog huge and the tracker hard to handle, so at some point we tend to close it with the hint to "please come back when YOU are ready"…

pd4d10 commented 3 years ago

Fair enough. How about:

  1. Close the RFP for now, and reopen it again when we get ready
  2. Keep this issue open for progress updating

What do you think @linsui

linsui commented 3 years ago

I'm also not a dev so I can't help here. But maybe I can prepare a pr for the fastlane later. And how about give it a try using this one as a template? It's also a flutter app and use HTTP for update check. Maybe I can do that this weekend and if I'm lucky it will be built by the CI.

linsui commented 3 years ago

It builds fine, and a pr is filed here . The pr for the fastlane is here.

IzzySoft commented 3 years ago

That indeed looks very good – thanks a lot, @linsui! May I suggest…

How does that plan sound? :smiley:

At some point (either before this tag or with a later update) you might wish to add screenshots to fastlane, though. You know, images speak louder than words and all that :wink:

pd4d10 commented 3 years ago

@linsui Thanks a lot!

@IzzySoft Sounds great. PR merged. Will draft a new release this week

pd4d10 commented 3 years ago

There are already some screenshots in the assets folder, but I'm not sure if they meet the needs.

IzzySoft commented 3 years ago

Yes, you could place them in fastlane/metadata/android/en-US/images/phoneScreenshots (not the Google Play badge, of course :wink:).

Personal note: I usually recommend not to "frame" screenshots. Might look fancy on large screens, but wastes valuable space especially on devices with 5" or smaller screens. Not that bad with your screenshots here – but I've seen some where the "real screenshot" was less than 1/3 of the entire picture…

pd4d10 commented 3 years ago

Hi, @IzzySoft , A new tag v1.11.0 is released to test this process.

linsui commented 3 years ago

Thanks! It is built.

IzzySoft commented 3 years ago

Yes, builds fine. But unfortunately cannot be merged. For your convenience, the essence repeated here:

Libraries detected:
-------------------
* Android Support v4 (/android/support/v4): Development Framework
* Androidx Core (/androidx/core): Utility
* Lifecycle (/androidx/lifecycle): Utility
* Webkit (/androidx/webkit): Utility
* Google Play Core (/com/google/android/play/core): Utility NonFreeNet,NonFreeDep
* Flutter (/io/flutter): Development Framework
* Share plugin (/io/flutter/plugins/share): Utility
* url_launcher (/io/flutter/plugins/urllauncher): Utility
* Webkit Boundary Interfaces (/org/chromium/support_lib_boundary): Utility

Offending libs:
---------------
* Google Play Core (/com/google/android/play/core): NonFreeNet,NonFreeDep

1 offenders.

Google Play Core has a proprietary license and thus is not acceptable by F-Droid. Not sure what's dragging that in, though.

pd4d10 commented 3 years ago

Looks wired... Do other Flutter apps have this issue?

IzzySoft commented 3 years ago

None of the others I've processed so far, no. And no obvious candidate that might have it as dependency. AFAIK there was some tool listing dependencies, I saw the output as ASCII tree a few times – but I don't know which one that was. I only remember it sounded like being available from within the SDK, like some flutter --doSomething, should have made a note… If I should make a guess, I'd suspect Chromium having Google glue. But not necessarily to Play Core. So share or url_launcher? Hm. Anything that wants to access Play Ratings, or refer to some app at Play?

Looking at your pubspec.yaml:

dependencies:
 ..
 in_app_review: ^1.0.4

What's that? Leave a review at Play? If so, there you have the most likely candidate.

pd4d10 commented 3 years ago

Oh. That's it, thanks!

v1.11.1 is released with this package dropped

IzzySoft commented 3 years ago

Gladly! Let's hope that killed the c… ahem… flag (ugh!) As a side-effect the APK will be a little smaller now as well :laughing: Will check that probably tomorrow. Almost 4am again already…

IzzySoft commented 3 years ago

Short relieve note (I already played at the proverb of "curiousity killed the cat" – but luckily it is known to have multiple lives :wink:) so we all get a good nights sleep now:

Libraries detected:
-------------------
* Android Support v4 (/android/support/v4): Development Framework
* Androidx Core (/androidx/core): Utility
* Lifecycle (/androidx/lifecycle): Utility
* Webkit (/androidx/webkit): Utility
* Flutter (/io/flutter): Development Framework
* Share plugin (/io/flutter/plugins/share): Utility
* url_launcher (/io/flutter/plugins/urllauncher): Utility
* Webkit Boundary Interfaces (/org/chromium/support_lib_boundary): Utility

No offending libs found.

That did it! Will review the MR tomorrow and expect no further stoppers, so expect it being merged and available at F-Droid within a week if all works out fine. Thanks a lot!

IzzySoft commented 3 years ago

Merged, as expected. Though I was unable to test it with Github: entering the OAUTH token and pressing the button just resulted in a

Something bad happens: NoSuchMethodError: The method '[]' was called on null…

GitLab however worked, so I used that to check. Don't have accounts on all services offered, and a full function test isn't part of the review anyhow.

So: Welcome aboard! As already said in my last comment, within a week GitPoint should become availabe at F-Droid now. Congrats!

IzzySoft commented 3 years ago

Ah, there was that dependency command I mentioned before: gradle :app:dependencies. Duly noted now :smiley:

pd4d10 commented 3 years ago

Hi, @IzzySoft , I want to add an F-Droid badge to README, here along with AppStore and Google Play.

This badge's transparent padding looks a little wide. Do we have a more compact one? Thanks!

IzzySoft commented 3 years ago

No idea. You could follow the link to the artwork collection, pick an SVG, and adjust it to your needs I guess?

pd4d10 commented 3 years ago

OK, thanks for the quick response. This one should work. Added