Giter VIP home page Giter VIP logo

Comments (19)

IzzySoft avatar IzzySoft commented on July 28, 2024 5

To give you a "quick taste" I've just added your app to my repo (will show up at the link in about 5h from now with the next sync). Some (Android-App) screenshots would be much appreated (you see it looks quite "naked" now), I could then provide you with a "fastlane starter package".

One more thing I've noticed: you're not taking care for the versionCode, which is still set to 1 despite of multiple versions have been released already. Android uses versionCodeto tell versions apart, so it's important to inrease that with eah release. This being a Flutter app, the proper place would be here in pubspec.yaml, which should read something like

version: 2.1.0-pre+9

(i.e. <versionName>+<versionCode>).

from spotube.

KRTirtho avatar KRTirtho commented on July 28, 2024 2

Awesome news everyone Spotube is finally available in the official F-Droid repositoriesπŸŽ‰
Now you can directly download Spotube from F-Droid client application

image

Special thanks toπŸ’–:

from spotube.

IzzySoft avatar IzzySoft commented on July 28, 2024 2

Gladly! And happy to read πŸ˜ƒ So I'll remove it from my repo then after a ~10 day overlap (unless you insist I keep it) to avoid confusion with signatures and stuff?

from spotube.

KRTirtho avatar KRTirtho commented on July 28, 2024 1

I've been actually working in this recently but I think the process to upload a simple application to F-Droid is kind of overly complicated & the steps documented in the documentation is kind of confusing too. It's possible that I'm new to F-Droid (actually haven't heard of it before this Issue) & that is why its hard for me
But if you/anyone is experienced in F-Droid, if possible please simplify the process & give a clear & concise idea about how can I make my app available in the F-Droid repository

It'll massively help this project's Android part

from spotube.

KRTirtho avatar KRTirtho commented on July 28, 2024 1

I added descriptions & screenshots. Now as far as I know I've to fork fdroid/data repo in gitlab, create a branch with my appId & a oss.krtirtho.spotube.yaml file with build+update instructions in the metadata directory
I did that part but the build fails in parts

from spotube.

KRTirtho avatar KRTirtho commented on July 28, 2024 1

Great news everyone. My PR to add Spotube to fdroid has been merged recently. So Spotube should be available on F-Droid's official repository from tomorrow

from spotube.

KRTirtho avatar KRTirtho commented on July 28, 2024 1

So I'll remove it from my repo then after a ~10 day overlap (unless you insist I keep it) to avoid confusion with signatures and stuff

As you say, you can remove it from your repo if you want

from spotube.

IzzySoft avatar IzzySoft commented on July 28, 2024 1

Okay, thanks! Should you need it back later for some reason, just let me know. Easy enough to re-establishas I'll just archive the metadata then.

from spotube.

IzzySoft avatar IzzySoft commented on July 28, 2024

For starters, it would help to have some description and screenshots ready – ideally in Fastlane structures. I've stumbled upon this for the 3rd time now thinking if I should add it to my repo – but without descriptions and screenshots wouldn't know what to put πŸ˜‰

from spotube.

shom13 avatar shom13 commented on July 28, 2024

@KRTirtho Thanks for taking note. Yes fdroid is a great platform for open source apps. Unfortunately i am not much of a developer, but will definitely see what i can do and get back to you. Meanwhile if you find a way, do keep us posted

from spotube.

IzzySoft avatar IzzySoft commented on July 28, 2024

@KRTirtho thanks for your efforts! As pointed out, I'll gladly help you get it going (disclosure: I'm one of the F-Droid maintainers). Mentioned Fastlane structures would be the first step (for starters, just the short_description.txt and full_description.txt for en-US would do, though I highly recommend to include some screenshots, too). With that in place, I could run a pre-check by adding your app to m repo (which often serves as stepping stone on the way to F-Droid.org – literally hundreds of apps went this way already).

For simplicity, let's do it step by step – this first stage passed I'd lead you on, choosing the easy approach. As the saying goes: many roads lead to Rome. The one you mentioned is "the king's road", there are easier ones available πŸ˜‰

from spotube.

KRTirtho avatar KRTirtho commented on July 28, 2024

I fixed most of the part & now the build works mostly fine but before building I also have to generate some secrets that are used in the application (see here) but I don't see anyway to do that in F-Droid's metadata/build-schema file
@IzzySoft Is there anyway I can use secrets at build in F-Droid?

from spotube.

IzzySoft avatar IzzySoft commented on July 28, 2024

I've just checked your metadata, and first a few notes on that:

  • short_description.txt is limited to 80 chars (hence "short"), yours is much longer and thus will be truncated
  • if in full_description.txt you'd insert another line break directly before the bullet point list, that'd be properly formatted as Markdown (and I could then use it with my repo)
  • screenshots are fine, just updated the listing with my repo (taking effect with the next sync around 6 pm UTC today)

Now let's have a look at your logs.

  • YAML:
    • Please remove summary & description there, else they're not taken from fastlane
    • If you're using FUNDING.yml (which you do), the OpenCollective: entry can be removed as well (it's taken from FUNDING.yml then which, like Fastlane, gives you the flexibility to update it anytime without requiring another MR to get it into effect)
    • all else looks fine (though I'm not sure if the output: line is needed. Doesn't hurt IMHO, though)
  • build log: the message is quite clear, it says "fdroidserver.exception.VCSException: Git checkout of 'v2.10.2' failed". Reason is quite obvious as well: there is no such tag 🀣 Cause is… uh? Strange. Why is it going for v2.10.2? I see that nowhere in the YAML. Ah, wait, that's Flutter. And that has a 2.10.2 – but I have no idea what adds the v in front. I've checked with other YAMLs in our metadata, and see several with [email protected] and [email protected], so the syntax should work. Could it be the fix 6h ago was removing the v there?
  • secrets: no idea, I'm not an Android dev. You could ask that at the Matrix/IRC channel, or search the issues/the forum.

from spotube.

momobobe avatar momobobe commented on July 28, 2024

I fixed most of the part & now the build works mostly fine but before building I also have to generate some secrets that are used in the application (see here) but I don't see anyway to do that in F-Droid's metadata/build-schema file
@IzzySoft Is there anyway I can use secrets at build in F-Droid?

@linsui sorry for bothering, but could you please help figure out the possibility?

from spotube.

momobobe avatar momobobe commented on July 28, 2024

@KRTirtho maybe you can open (if not yet) an issue there https://gitlab.com/fdroid/rfp and then somebody might see and help. Also you may call some of their team members (like licaon-kter, linsui, izzysoft) there to review your merge request

from spotube.

linsui avatar linsui commented on July 28, 2024

@momobobe You can follow the progress here

from spotube.

KRTirtho avatar KRTirtho commented on July 28, 2024

@momobobe I've already submitted the app in fdroiddata after I was able to make a successful build in my fork. Now its only hold for review https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11101

from spotube.

KRTirtho avatar KRTirtho commented on July 28, 2024

Thanks a lot for your help & support

from spotube.

flexagoon avatar flexagoon commented on July 28, 2024

@shom13 @KRTirtho please close this issue if it's already resolved.

from spotube.

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.