ci: request subsystem maintainers review#1053
Conversation
1a83bd1 to
723b7b1
Compare
|
When this is complete we can also remove the "Maintainer CC" section from the pull request template |
723b7b1 to
9331f7d
Compare
|
anyone know why this error is happening? |
9331f7d to
c36cba3
Compare
53a468b to
94ebde1
Compare
94ebde1 to
377c4e2
Compare
trueNAHO
left a comment
There was a problem hiding this comment.
The
nix build .#get-maintainerscommand is failing with:
error: expected a list but found a string: "<GITHUB_ID>"
3825455 to
f3e490b
Compare
There was a problem hiding this comment.
The code LGTM, although it is hard to say whether this actually works because GitHub Actions are fairly confusing sometimes.
@danth, do you think the current MAX_MAINTAINERS=5 approach is a reasonable heuristic to avoid accidental pings?
|
FYI: I believe you can only request review for people who have some rights on the repo (triage I believe). That's the main reason the NixOS org has a "NixOS/nixpkgs-maintainers" team, see RFC-39. If maintainers don't join that team (or at least join the org), ofborg can't request their review on PRs. The github docs hint at the requirements to request and/or be requested, but the phrasing is kinda vague in places. |
hmmm if/when when move to nix-community (me and danth have agreed on this, waiting for response from @trueNAHO) we could make a stylix maintainers team, not sure if it would make sense to add people as triagers on the current repo. |
Triage only gives non-critical perms, like managing issues, assigning people, requesting reviews, being requestable, etc (OTTOMH). Generally, if you trust someone to maintain a target module, you should trust them with that level of perm. If someone abuses triage perms then they shouldn't be a maintainer in the first place 🤠 You'd probably want two teams; core-maintainers and target-maintainers. Ideally core-maintainers and/or a bot would have perms to add people to the target-maintainers team, so the nix-comnunity admins don't need constant involvement. That should be straightforward to set up. |
Yes, this seems reasonable. A single module having more than 5 active maintainers seems unlikely, and pinging people for many-module changes is what we want to avoid.
From the UI, I believe this is the case (it only gives me core maintainers and Copilot as possible choices). We could either:
|
@zowoq is working on automatically adding our maintainers to a team in nix-community, see nix-community/infra#1837 |
Done.
I think transferring the app would allow access to other people but changes still need to be approved by by an org owner anyway. |
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
c36fbda to
dadbbb6
Compare
|
Successfully created backport PR for |
Link: #1053 Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: Daniel Thwaites <danth@danth.me> Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> (cherry picked from commit b4e1daa)
Link: #1053 Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: Daniel Thwaites <danth@danth.me> Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> (cherry picked from commit b4e1daa)
Fixes: b4e1daa ("ci: request subsystem maintainers review (nix-community#1053)") Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Fixes: b4e1daa ("ci: request subsystem maintainers review (nix-community#1053)")
Link: nix-community#1053 Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: Daniel Thwaites <danth@danth.me> Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Fixes: b4e1daa ("ci: request subsystem maintainers review (nix-community#1053)") Link: nix-community#1848 Reviewed-by: Daniel Thwaites <danth@danth.me>
Checkout the PR instead of the potentially arbitrarily diverged base branch. Fixes: b4e1daa ("ci: request subsystem maintainers review (nix-community#1053)")
Checkout the PR instead of the potentially arbitrarily diverged base branch. Fixes: b4e1daa ("ci: request subsystem maintainers review (nix-community#1053)")
Still WIP, waiting for move to nix-community