juhp / fbrnch

Tool to update fedora packages branches

Home Page:https://hackage.haskell.org/package/fbrnch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

farchord opened this issue · comments

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

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

Seems reasonable, thanks for the suggestion