-
Notifications
You must be signed in to change notification settings - Fork 153
chore: add CODEOWNERS with basic setup #1381
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for endearing-brigadeiros-63f9d0 canceled.
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1381 +/- ##
=======================================
Coverage 81.34% 81.34%
=======================================
Files 65 65
Lines 4648 4648
Branches 792 792
=======================================
Hits 3781 3781
Misses 852 852
Partials 15 15 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Let's have a chat about this at the next meeting before we merge it. We're going to need to check on the project settings with finos anyway |
…west Signed-off-by: Kris West <kristopher.west@natwest.com>
|
@jescalada and @finos/git-proxy-maintainers I've tweaked this to always use the maintainers team as a fallback (you have to add the team to every line for that to work as it uses the last rule to match). Please do add any other areas of the code you would like to be automatically added to reviews for. |
coopernetes
left a comment
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 start with a code owners with just the first line. That'll solve the immediate concern of lack of reviews before merging.
Also I think we need a branch ruleset added with the "require an approval from someone other than the last person to push to a branch".
| * @finos/git-proxy-maintainers | ||
|
|
||
| # Sub-areas (must ALSO include maintainers!) | ||
| /plugins/ @finos/git-proxy-maintainers @coopernetes |
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 is a logical OR (not AND). An approval from anyone in the maintainer team will satisfy the CODEOWNERS check. As such, I wonder if it's worth carving up the paths in this way considering that all the individuals in the FINOS team are the same mentioned in specific paths.
I think we can simply use the first line in the file only then handle specific parts of the code base via PR assignee or review requests.
We likely won't ever have committers with write access that aren't in the team.
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.
Fair enough. All this is achieving is review assignments that will already overlap with @finos/git-proxy-maintainers.
@jescalada if you're ok with keeping it simple we can apply that to the repo and I'll contact FINOS to make the settings changes for:
- Require review from Code Owners
- Require an approval from someone other than the last person to push to a branch
on the main branch.
This is best practice - but its also supremely annoying at times (merging suggestions from a review, or correcting a single missed period means you can't approve until someone else pushes). But I reluctantly agree that we need to set it. |
Sets up a basic
CODEOWNERSfile.@finos/git-proxy-maintainers Feel free to make these more granular! 👍🏼