Code Monkey home page Code Monkey logo

Comments (33)

offa avatar offa commented on July 28, 2024 8

On F-Droid finally: https://f-droid.org/app/com.chooloo.www.koler 🎉

from koler.

BasilTomato avatar BasilTomato commented on July 28, 2024 3

I have opened a RFP issue at F-Droid: https://gitlab.com/fdroid/rfp/-/issues/1285

First request is: could you establish Fastlane file structure in the app's repo? Details regarding the structure: https://gitlab.com/snippets/1895688

from koler.

IzzySoft avatar IzzySoft commented on July 28, 2024 2

Aw, @roeiedri – adding 2 files shouldn't take that much time. As the snippet says: the mandatory 2 files are short_description.txt with a summary not longer than 80 chars, and a full_description.txt with a more detailed description, both in fastlane/metadata/android/en-US. Everything else is optional, though screenshots are highly recommended.

Ah well, there you go: #118 😉

from koler.

roeiedri avatar roeiedri commented on July 28, 2024 2

Yes @IzzySoft
Thank you!!

from koler.

offa avatar offa commented on July 28, 2024 1

The first step is pending already: #118 😄

from koler.

IzzySoft avatar IzzySoft commented on July 28, 2024 1

Fastlane got merged \o/ You wanna pick up at RFP, @fossdd? I mean, after the next release (which then has Fastlane)?

from koler.

FestplattenSchnitzel avatar FestplattenSchnitzel commented on July 28, 2024 1

Hello,

currently we cannot get https://gitlab.com/fdroid/rfp/-/issues/1285 done, as the following isn't done here yet:

  • Add Fastlane structures to the repository as described here.
  • Cover the above change(s) under a new or existing tag.

If there is no activity here or in the F-Droid issue in the next 4 weeks, we will close our issue to reduce the number of open issues.
In our wiki you can see more details about this process.

Please contact us when you need help.

Thank you for helping us spreading FOSS apps in the world :)

from koler.

proletarius101 avatar proletarius101 commented on July 28, 2024 1

Seems good enough to be included: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/10486

from koler.

IzzySoft avatar IzzySoft commented on July 28, 2024 1

Marked, thanks!

from koler.

yephny avatar yephny commented on July 28, 2024 1

Even if you set up your own repository, please do not remove it from the official F-Droid repo, as they build all apps themselves, which makes them the most trusted source for apks. Currently, it is removed from Izzy's per your request, leaving no way for easy updates.

from koler.

shuvashish76 avatar shuvashish76 commented on July 28, 2024 1

I agree with @freshgum-bubbles.
NewPipe's own repository makes sense cause their users need instant fix (usually F-Droid takes 4-7 days for building the apk from source) in case YouTube change something which break NewPipe.

Check their recent blog here: https://newpipe.net/blog/pinned/release/newpipe-0.21.16-hotfix/

I don't think custom repo is necessary just for faster Koler app updates.

from koler.

Poussinou avatar Poussinou commented on July 28, 2024

If you need it, you can open a Request For Packaging here, or I can do it for you. You will receive some help from our side at F-Droid.

from koler.

roeiedri avatar roeiedri commented on July 28, 2024

Unfortunately we dont really have the time to handle this
I saw the link you sent and at a glance i couldn't really understand the purpose of it
Though i want to help, can u maybe elaborate about what Fastlane file is and maybe help so i can make it happen faster?
:)

from koler.

offa avatar offa commented on July 28, 2024

Any news on this?

from koler.

roeiedri avatar roeiedri commented on July 28, 2024

App still in development :)

from koler.

offa avatar offa commented on July 28, 2024

Yeah, but how's F-Droid going? 😄

from koler.

roeiedri avatar roeiedri commented on July 28, 2024

oh haha I didn't event started that, it takes time to approve or something?

from koler.

realmain avatar realmain commented on July 28, 2024

If we can get this app into fastlane, it'll be one step closer to getting into F-Droid, which would give this app more presence.

from koler.

fossdd avatar fossdd commented on July 28, 2024

Yep, would nice if this could be merged. The app itself looks good to be packaged. After that it would needed to create a new GitHub release

from koler.

IzzySoft avatar IzzySoft commented on July 28, 2024

@roeiedri may I ask if you want me to keep Koler in my repo then? Usually I remove apps when they've been accepted to F-Droid, after giving them a little overlap (about 10 days) so people notice.

from koler.

roeiedri avatar roeiedri commented on July 28, 2024

Yeah i want to upload it on my own i just don't find the time, hopefully this weekend @IzzySoft

from koler.

IzzySoft avatar IzzySoft commented on July 28, 2024

@roeiedri so that means you want to keep it in my repo? No problem, I then just need to mark it accordingly. So please state a clear Nes or Yo – err, Yes or No 😄

from koler.

roeiedri avatar roeiedri commented on July 28, 2024

Wait lol i meant i would like to have it under a Chooloo repo

from koler.

realmain avatar realmain commented on July 28, 2024

Can probably close this issue now that Koler is in the official F-droid repo. Looks like everything is set up correctly, including the Donation link.

from koler.

IzzySoft avatar IzzySoft commented on July 28, 2024

i would like to have it under a Chooloo repo

Ah, so you want to setup your own repo? Well, go ahead then 😃 I'll then remove Chooloo/Koler from my repo after about 10 days of overlap with F-Droid, as usual.

PS: That article will probably get a sequel with some fine-tunings (how to integrate screenshots, and things like that) as soon as time permits. Unlikely within the next couple of weeks, but in my plans.

from koler.

roeiedri avatar roeiedri commented on July 28, 2024

@IzzySoft May I ask for some help with F-Droid? I don't understand the path to uploading Koler.
Do I need to setup an F-Droid server in my PC?

from koler.

IzzySoft avatar IzzySoft commented on July 28, 2024

@roeiedri I'm still not sure I understand your question. Do you want to set up your own repo (to e.g. offer "nightly builds" to "early adopters" and testers) – or do you ask about how updates of your app get to F-Droid.org?

from koler.

roeiedri avatar roeiedri commented on July 28, 2024

@IzzySoft I want to setup a repo in order to upload Koler.
Also yes, idk how updates get to F-Droid :)

from koler.

IzzySoft avatar IzzySoft commented on July 28, 2024

Updates for F-Droid are usually picked up whenever you tag a new release (provided you stick to your tag name patterns, and versionCode was increased). A process called CheckUpdates takes care for that. For your app, according to the MR this is defined as

AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
UpdateCheckData: koler/build.gradle|versionCode\s(\d+)||

So tag names should be v<versionName> for this to work.

As for your own repo, what part is missing from the linked article? If everything has been set up (including the metadata), updates are as easy as dropping the APK into the repo/ directory, and then run fdroid update and fdroid deploy. It's mentioned in this section:

Copy some .apk files into your new repo (make sure to place them inside repo/ […] On subsequent runs when only updating descriptions or apps, you’ll only need to run fdroid update.

The deploy part is in the next section. Btw, the docker container mentioned in references even automates that: you then only need to drop the APK in, and the container takes care for the rest (runs the update once per hour if I understood Sylvia correctly).

from koler.

freshgum-bubbles avatar freshgum-bubbles commented on July 28, 2024

Ideally, Koler would remain in the main F-Droid repository. If you're looking for faster updates (though I don't understand why) NewPipe actually run their own repository alongside the F-Droid one. The custom one gets faster builds. Custom repositories are not monitored by F-Droid, of course, and therefore carry none of the security benefits the main repository offers, such as building the apps themselves, ensuring anti-features are correct, etc. Bear in mind that this is all extra burden on you if you were to run your own repository.

Is there any reason as to why you'd like to roll your own repository, or are you just experimenting with F-Droid tech ...?

from koler.

IzzySoft avatar IzzySoft commented on July 28, 2024

@freshgum-bubbles don't forget that apps like NewPipe (and also CCTG plus some more) use "reproducible builds". This means, taken their APK and the ones built by F-Droid and stripping both of their certificates/signing elements, they are "binary identical". As long as that's confirmed (i.e. whenever they match), F-Droid takes the signed APK from the resp. devs and places its own signing on top – so they are "double-signed".

What does that mean? I install from one side, and update wherever the APK shows up first. Or I always go with F-Droid unless there's some "urgent update" I want ASAP, which I can then take from the dev directly. In other words: cross-updating is possible. This way you have the best of both worlds: your most trustworthy source (F-Droid), and immediate security updates should F-Droid take too long.

Another point for a separate repo: "early birds and testers". There are several apps in my repo which are also on F-Droid – where F-Droid gets only the stable versions, while mine picks (only the) betas/pre-releases. Benefit: Early adopters have an easy way to stay up-to-date, bugs are found fast and get fixed – while all other users can rely on safe and stable releases via F-Droid.

TL;DR: Yes, Koler should stay on F-Droid (that was the goal of this issue). But a "secondary repo" makes a lot of sense, too – for the outlined approaches.

from koler.

freshgum-bubbles avatar freshgum-bubbles commented on July 28, 2024

don't forget that apps like NewPipe (and also CCTG plus some more) use "reproducible builds". This means, taken their APK and the ones built by F-Droid and stripping both of their certificates/signing elements, they are "binary identical". As long as that's confirmed (i.e. whenever they match), F-Droid takes the signed APK from the resp. devs and places its own signing on top – so they are "double-signed".

Yeah, I wasn't 100% on whether F-Droid was doing that, so I didn't mention it. Thank you for confirming, Izzy :)

I don't think custom repo is necessary just for faster Koler app updates.

That feels like a tempered conclusion. In theory, a phone app shouldn't need the immediacy of updates from a third-party repository. Perhaps something like Izzy mentioned above, re double-signing, would work for Koler?

from koler.

IzzySoft avatar IzzySoft commented on July 28, 2024

Note that reproducible builds need some extra efforts. Every now and then one of those fails to reproduce (happened to both apps I've mentioned, and at least one more I remember). It's definitely a good goal to target though, don't get me wrong.

from koler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.