Skip to content
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

Use rooted paths in CODEOWNERS #3252

Merged
merged 2 commits into from
Aug 22, 2022
Merged

Conversation

hasheddan
Copy link
Member

Description of your changes

Uses rooted paths in CODEOWNERS such that the paths are exact.
Not specifying the root means that an arbitrarily nested directory that
matched part of its path to one of the paths in the CODEOWNERS file
would receive the same review requests. This makes the exact paths explicit.

Signed-off-by: hasheddan georgedanielmangum@gmail.com

This is based on my interpretation of https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.

Fixes wording in CODEOWNERS regarding how the review process should
typically work.

Signed-off-by: hasheddan georgedanielmangum@gmail.com

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

n/a -- I don't think this is going to have functional changes initially, but it protects us from accidentally specifying CODEOWNERs implicitly in the future.

Uses rooted paths in CODEOWNERS such that the paths are exact.
Not specifying the root means that an arbitrarily nested directory that
matched part of its path to one of the paths in the CODEOWNERS file
would receive the same review requests. This makes the exact paths explicit.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
Fixes wording in CODEOWNERS regarding how the review process should
typically work.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
@hasheddan hasheddan requested review from a team as code owners August 20, 2022 15:28
@hasheddan hasheddan requested a review from turkenh August 20, 2022 15:28
@negz
Copy link
Member

negz commented Aug 22, 2022

Fixes wording in CODEOWNERS regarding how the review process should typically work.

Is this still the case?

@negz
Copy link
Member

negz commented Aug 22, 2022

Is this still the case?

Hrm weird, didn't see it in GitHub mobile but I see it now.

Copy link
Member Author

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

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

@negz I was a little sneaky here because I had forgotten to force push and just did so :)

@negz negz merged commit 4133f38 into crossplane:master Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants