-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add initial CODEOWNERS #3800
Add initial CODEOWNERS #3800
Conversation
Thanks for this PR, I forgot to follow-up on this. (I thought it was a good idea at the time, but I haven't actually looked into this in much details. We should totally figure this out, or, if we can't, remove these references from the gov doc).
We certainly don't want this. Not all owners/peers are doing reviews all the time. I don't think auto assigning reviews is generally useful. I'm reading https://help.github.com/en/articles/about-code-owners. So, there isn't a way to disable automatic review assignment if we introduce a codeowner file? Or does this work by being more clever with the rules? So far I could imagine these two rules for auto review assignment:
I'd like to somehow state (in an owners file, I thought) that we have experts like Rachel for Does all this make some sense? Or am I misunderstanding this whole codeowners concept? :) |
I don't think we have to have a top-level, default CODEOWNERS entry (i.e., an initial
I think we can do this with a CODEOWNERS file without having to request a review for every PR. But we would probably want to drop the text from the governance file pointing toward the CODEOWNERS file (or just it as a document—putting those owners' names in as comments). |
Basically, what we’re looking for is the following:
Based upon what I’ve been reading, CODEOWNERS is a similar syntax to .gitignore files, so the ! should work, theoretically. It seems to choose the last match, so any non-JSON files in webextensions/ will not be assigned to Irene and only assigned to Elchi3. |
OK, I've updated the |
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.
Looks perfect!
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.
Thank you! 👍 Curious to see how this works out in practice.
Hmm, it looks like it may not be functioning as expected. I reviewed a PR that altered the test files (JS files), and didn’t automatically add @Elchi3 for review. More research may be needed. |
Making a note here: PR #3933 is addressing this. |
The new governance doc (#3668) calls for a CODEOWNERS file:
This PR adds this, though we might might want to fill it out a bit more, unless we want every PR to request the owners' reviews