[group review bot] Read group members from OBS #52
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
You can easily query OBS for groups and their members, e.g.
osc api /group/opensuse-review-teamMy team would strongly prefer this approach over specifying the groups in each organization and keeping them in sync.
I think we'll need some tooling here to help keep things in sync. The approach is not to keep group definitions per organization, but per target project. The problem is not specific to autobuild.
In openSUSE/Factory project, they will have to keep a list of users with permissions for every devel project (so organization in this case). That's about 260 or so.
Proposal would be to have some git repo under autobuild management (maybe
autobuild/maintained_projects) where there's a list of projects gits that is authorized to be reviewed by autobuild. For example:and a script that verifies members of projects with the yaml file. If out of sync, it makes a PR to project to update the list. Old projects out of maintenance could be dropped from the list.
What do you think?
Closing as duplicate of #27