-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
Mass pings be gone, code owners for all #347610
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A shame that we don’t get syntax highlighting any more, I wonder if we could name it CODEOWNERS
outside of .github
or something to benefit from the nice colouring (and to avoid stepping on GitHub’s namespace)?
.github/OWNERS
Outdated
/nixos/modules/virtualisation/qemu-vm.nix @raitobezarius | ||
|
||
# ACME | ||
/nixos/modules/security/acme @arianvp @flokli @aanderse @emilazy # no merge permission: @m1cr0man |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be @NixOS/acme now :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to leave this up to the individual people in follow-up PRs, so that we don't change too much in this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah for sure, was just happy about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Maybe that vim set fmt comment thing might work? |
Oh damn, that actually works: https://github.com/Infinisil-s-Test-Organization/nixpkgs/blob/master/ci/CODEOWNERS (also, here's why), though it would also complain about users not having write access in the UI, meh :/ |
I think I’d prefer the warning to no syntax highlighting, unless there’s a way we can get both, but it’s not a big deal. Putting it under |
1bc4d67
to
f7e6b82
Compare
I think if we move it to
|
I'm not convinced that syntax highlighting at the cost of constant warnings is worth it tbh. Will move to |
This effectively disables the native GitHub codeowners feature and enables the new alternate codeowners mechanism introduced in NixOS#336261 This means that: - We can now declare users without write access as code owners! - Targeting the wrong branch won't trigger mass pings anymore!
I suspect we might not get warnings if you set it in |
This is not a problem anymore with the parent commit
…arent Also, fix the description of the text
1f3d95b
to
c721e91
Compare
Whoa, that actually does work, very nice! I also verified it in another repo because I couldn't believe it at first, but it really does work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; Thank you for implementing CODEOWNERS
for the rest of us!
My intuition was that the component that handles the Linguist‐based syntax highlighting is distinct from the component that checks the syntax and handles displaying the warnings in the UI. Looks like I was right :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let’s try it out. Thanks for tackling this long‐standing problem!
It works! #347626 |
This PR effectively disables the native GitHub codeowners feature and enables the new alternate codeowners mechanism introduced in #336261, meaning that:
Things done
[ ]Checked that it would do the right thing when the wrong base branch is usedThis work is sponsored by Antithesis ✨
Add a 👍 reaction to pull requests you find important.