flosstudio - CC0-licensed database for FLOSS music-making programs

Discuss anything new and newsworthy! See http://planet.linuxaudio.org and https://libreav.org/news for more Linux Audio News!

Announcements of proprietary software may fit better in the Marketplace.


Moderators: raboof, MattKingUSA, khz

User avatar
SpotlightKid
Established Member
Posts: 250
Joined: Sun Jul 02, 2017 1:24 pm
Has thanked: 48 times
Been thanked: 54 times

Re: flosstudio - CC0-licensed database for FLOSS music-making programs

Post by SpotlightKid »

baj wrote: Mon Sep 07, 2020 5:59 pm
Obviously the end goal is to hit the repo with a PR. The problem is that you need token and a potential app would eventually need to use it to be able to PR (security, span issues)
I wasn't talking about published apps, but scripts on a devs machine or in a CI setup, which would use a dedicated token for that task. This token would not need to be distributed and neither should it be. The same as any token for an authenticated API. The API endpoint would not need to make a GH PR in the users name, just push a Yaml/JSON entry to the approval pipeline.
User avatar
baj
Established Member
Posts: 22
Joined: Tue Jun 16, 2020 1:34 pm
Contact:

Re: flosstudio - CC0-licensed database for FLOSS music-making programs

Post by baj »

SpotlightKid wrote: Mon Sep 07, 2020 6:26 pm
I wasn't talking about published apps, but scripts on a devs machine or in a CI setup, which would use a dedicated token for that task.
Ah yes, well that's sounds quite doable. We could even just use the GitHub API.
Haven't read the docs yet, but seems it needs some repo permissions https://docs.github.com/en/rest/referen ... ll-request
On the other hand, as you mentioned, we could provide an endpoint to do the form post so that devs can use it on their pipelines, but...

Can't the form be already POSTed via any http client? Maybe its that simple :D
User avatar
SpotlightKid
Established Member
Posts: 250
Joined: Sun Jul 02, 2017 1:24 pm
Has thanked: 48 times
Been thanked: 54 times

Re: flosstudio - CC0-licensed database for FLOSS music-making programs

Post by SpotlightKid »

baj wrote: Mon Sep 07, 2020 7:20 pm Can't the form be already POSTed via any http client? Maybe its that simple :D
Ok, let's test this. I hope you have rate limiting in place.... :D :twisted:
User avatar
baj
Established Member
Posts: 22
Joined: Tue Jun 16, 2020 1:34 pm
Contact:

Re: flosstudio - CC0-licensed database for FLOSS music-making programs

Post by baj »

SpotlightKid wrote: Mon Sep 07, 2020 7:38 pm
baj wrote: Mon Sep 07, 2020 7:20 pm Can't the form be already POSTed via any http client? Maybe its that simple :D
Ok, let's test this. I hope you have rate limiting in place.... :D :twisted:
not my server, so, not my problem :lol:
jokes asides, let me know if you need anything. Thank you for your feedback and support!!!
Post Reply