moko256 / twitlatte

Twitter and Mastodon client for Android
Apache License 2.0
102 stars 13 forks source link

F-Droid #16

Closed Poussinou closed 6 years ago

Poussinou commented 6 years ago

Hi,

Since this app is Apache v2 licensed, are you considering the fact to add it to F-Droid? There is a strong community behind.

Your app has already been requested here.

You can find some documentation here.

Otherwise, if you don't want to work on the inclusion of this app by yourself, would it be ok for you if someone else do it for you?

moko256 commented 6 years ago

Thank you very much!

Tomorrow, I am going to do these.

IzzySoft commented 6 years ago

It would further help the issue if you could add tagged releases. Make the tag correspond to versionName (e.g. a version 1.2.3 should be tagged v1.2.3), so F-Droid always knows when a new release is available and can build automatically. If you also attach an .apk to such a release, I could pick that up to my repo (also automatically) until F-Droid gets started with it.

Thanks a lot!

moko256 commented 6 years ago

I see. Thank you!

moko256 commented 6 years ago

I'm sorry. I am not able to do it now. Because it's still night here and I have to sleep. Please wait until tomorrow.

IzzySoft commented 6 years ago

Take your time, @moko256 – nobody expects you to "jump on command". We're glad you're supporting us, and we definitely can wait another day (or a few, if needed) :wink:

IzzySoft commented 6 years ago

@moko256 one of the maintainers asks:

Looks like this app requires API keys (see the README):

Add gradle.properties file and add CONSUMER_KEY and CONSUMER_SECRET properties for Twitter.

Does it work without those "secrets"?

If F-Droid builds your app, it must have all ingredients needed available. AFAIK we can't build apps where API keys etc. would be needed.

Maybe you can clarify here?

moko256 commented 6 years ago

In a few days, I am going to upload Twitter API key encoded base64 and decoding code in this repository. So it works without secrets.

IzzySoft commented 6 years ago

You are aware that base64 encoding is no encryption, and thus that's the same like uploading the API key "plain text"? I'm not a dev, but this feels strange to me. I could be wrong of course…

moko256 commented 6 years ago

It's same. But that will make it a little difficult for simple BOT to steal API key. But some people may steal it...

IzzySoft commented 6 years ago

@moko256 I've asked one of the F-Droid maintainers to come over here so you can discuss directly what steps are required or how to approach it. I simply lack the development background. I hope he checks with you soon.

That said, if you could meanwhile start with tagging the last release and attaching the corresponding .apk, I could already include your app with my repo (see above) until the other things are solved.

EDIT: relan just answered on the RFP issue:

Base64 is just a way to represent data, I see no problem here.

So if you see no problem either, it seems fine.

moko256 commented 6 years ago

I fixed known problem.

IzzySoft commented 6 years ago

Thanks, @moko256 – I've asked our maintainers to "try a build".

IzzySoft commented 6 years ago

There still seem to be some issues. Quoting a maintainer:

gradle assembleRelease failed for me with

Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
   > Could not resolve project :japng-android:android_api.
     Required by:
         project :app
      > Unable to find a matching configuration of project :japng-android:android_api: None of the consumable configurations have attributes.
   > Could not resolve project :mastodon4j.
     Required by:
         project :app > project :mastodon4j_to_twitter4j
      > Unable to find a matching configuration of project :mastodon4j: None of the consumable configurations have attributes.
   > Could not resolve project :mastodon4j:mastodon4j.
     Required by:
         project :app > project :mastodon4j_to_twitter4j
      > Unable to find a matching configuration of project :mastodon4j:mastodon4j: None of the consumable configurations have attributes.

Also there is some junk in the repo that I had to remove manually (beause binaries):

  • twitter4j/..git
  • twitter4j/twitter4j-core/build
  • twitter4j/twitter4j-http2-support/build

Can you take a look and (hopefully) fix this?

moko256 commented 6 years ago

I understood it.

IzzySoft commented 6 years ago

Thanks for saving me another crosspost :rofl: Direct conversation is better. Hope we get the bird flying soon :wink:

moko256 commented 6 years ago

The maintainer said it will be available on F-Droid in a few days in this . Thank you!

moko256 commented 6 years ago

The maintainer said it will be available on F-Droid in a few days in this . Thank you!

IzzySoft commented 6 years ago

Why, thank YOU for supporting this :+1: :tada:

Can't wait to give Twilatte a try :innocent: