Skip to content

Governance: better define github permission setup#28840

Open
Luap99 wants to merge 2 commits into
podman-container-tools:mainfrom
Luap99:governance
Open

Governance: better define github permission setup#28840
Luap99 wants to merge 2 commits into
podman-container-tools:mainfrom
Luap99:governance

Conversation

@Luap99
Copy link
Copy Markdown
Member

@Luap99 Luap99 commented Jun 2, 2026

Define the team rules we already used before, this makes it explicitly how the users should be given their access.
In short we should add users to the github teams and not add them individually to the repos.

Does this PR introduce a user-facing change?

None

Comment thread GOVERNANCE.md Outdated
* Invitations to contributor events
* Eligible to become a Reviewer
* For repositories hosted on Github, Contributors receive Read privileges by default. Contributors who are active in answering questions and assisting with bug reports upstream may request Triage privileges from the repository's maintainers.
* For repositories hosted on Github, Contributors receive no special privileges by default. Contributors who are active in answering questions and assisting with bug reports upstream may request Triage privileges from the repository's maintainers.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be clear because all repos are public all userd have read permissions, we have no real process to assign read permissions as because doing so is not useful I rather just say they receive no privileges then dealing with updating user permissions.

Comment thread GOVERNANCE.md Outdated
* Has permissions to change labels on Github to aid in triage
* For repositories hosted on Github, Reviewers receive Triage privileges
* For repositories hosted on Github, Reviewers receive Triage privileges by being added to the `<repo-name>-reviewers` team.
They also will be invited to the `podman-container-tools` Github organization as member.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding them to the team automatically invites the as member to the org, the user has to accept that invitation

@Luap99
Copy link
Copy Markdown
Member Author

Luap99 commented Jun 2, 2026

@mheon @baude @mtrmac @nalind @giuseppe PTAL

Comment thread GOVERNANCE.md Outdated
* Have a vote in Core Maintainer decision-making meetings
* For all repositories hosted on Github, Core Maintainers receive Admin privileges.
* For all repositories hosted on Github, Core Maintainers receive Admin privileges by being added as `podman-container-tools`
Github organization Owner. They keep being a member of the `<repo-name>-maintainers` team to also receive pings for normal maintainers.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second sentence is a bit unclear. Are core maintainers required to be on every repo's -maintainers team? This should probably be rewritten as optional - "Core Maintainers may also choose to be a member of any repo's -maintainers team in order to receive pings to maintainers and assist in code review and maintenance. This is not mandatory but it is strongly encouraged to subscribe to at least one repository in this way"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can argue abut this but I rather have this non optional.
I like to have a script which can actually check all permission against the maintainers files, any special case needs extra work there and in the end you may end up missing many important pings?

Who do you ping on maintainers votes otherwise if not all maintainers are ion this group?

I think it depends on how do you expect pings to be used, if everyone pings this group on any repo for any review sure that likely will be to much. My personal experience is that most team pings like that get ignored already and it is much more effective to ping by name directly and just the ones you really want a review from.

Ideally asking for a basic review doers not need a ping to everyone all the time, maybe some day we get there where all people review without being prompted explicitly

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And if being a core maintainer gives you rights to all repos than there should be a implied requirement that you can (to some extend) review and work on all repos.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright. If this is mandatory, it should be a new bullet point, separate from Admin privileges.. Recommended wording:
* For all repositories hosted on Github, Core Maintainers will be added to the <repo-name>-maintainers team. Separate from the permissions granted above, this ensures that Core Maintainers receive pings meant for repository maintainers, as part of their responsibility to assist in code review and decision making in all repositories

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Copy link
Copy Markdown
Contributor

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM either way.

Comment thread GOVERNANCE.md Outdated
* Represent the project in interactions with the CNCF
* Have a voice, but not a vote, in Core Maintainer decision-making meetings
* For repositories hosted on Github, Maintainers receive Maintain privileges by default. If they have a legitimate reason to require Admin privileges (e.g. working on project CI systems), a Maintainer can petition a Core Maintainer to be granted these additional privileges in Github.
* For repositories hosted on Github, Maintainers receive Maintain privileges by default by being added to the `<repo-name>-maintainers` team and removed from the `<repo-name>-reviewers` teams.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is removing from -reviewers right? I’m thinking “who should PR submitters ping” — that should ideally be ≤1 group. But then again, maybe we should aim for “ideally no-one because it will be unnecessary” :).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can all have them in reviewers if this is what people prefer

@timcoding1988
Copy link
Copy Markdown
Collaborator

LGTM

1 similar comment
@baude
Copy link
Copy Markdown
Contributor

baude commented Jun 2, 2026

LGTM

Comment thread GOVERNANCE.md Outdated
* Invitations to contributor events
* Eligible to become a Reviewer
* For repositories hosted on Github, Contributors receive Read privileges by default. Contributors who are active in answering questions and assisting with bug reports upstream may request Triage privileges from the repository's maintainers.
* For repositories hosted on Github, Contributors receive no special privileges by default. Contributors who are active in answering questions and assisting with bug reports upstream may request Triage privileges from the repository's maintainers.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* For repositories hosted on Github, Contributors receive no special privileges by default. Contributors who are active in answering questions and assisting with bug reports upstream may request Triage privileges from the repository's maintainers.
* For repositories hosted on GitHub, Contributors receive no special privileges by default. Contributors who are active in answering questions and assisting with bug reports upstream may request Triage privileges from the repository's maintainers.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this exists all over the doc though, so if it should be changed it must be done consitently

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pushed a new commit to replace it

@TomSweeneyRedHat
Copy link
Copy Markdown
Contributor

The intent and direction looks good to me, just a few scattered nits and changing the last bit per Matt's suggestion. I too found those two lines to be confusing.

Luap99 added 2 commits June 3, 2026 18:39
Define the team rules we already used before, this makes it explicitly
how the users should be given their access.
In short we should add users to the github teams and not add them
individually to the repos.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
As suggested by Tom, by rename Github to the more common spelling
GitHub.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants