Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Idea] Changing a package's access rights: Add/remove users/groups in Pagure #44

Open
farchord opened this issue Oct 12, 2023 · 3 comments

Comments

@farchord
Copy link

I don't know if this is doable with the pagure API. I'm working through close to 100 KF6 packages right now and it'S always a pain to have to go package-by-package to add the kde-sig group.

Is there a way for the script to simply add it through the api? Something like:

fbrnch pagure-access add kf6-* kde-sig admin

@Conan-Kudo
Copy link

This is possible with the Pagure API. @bmwiedemann's automated openSUSE package export from OBS to code.opensuse.org (a Pagure instance) does this: https://github.com/bmwiedemann/openSUSE/blob/master/scripts/pagure-modify-acls

@bmwiedemann
Copy link

Also check out the nice API docs:
https://pagure.io/api/0/#projects-tab

@juhp
Copy link
Owner

juhp commented Oct 16, 2023

Seems reasonable, thanks for the suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants