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

Project Management: Merge lib and REST controllers CODEOWNERS #15925

Merged
merged 1 commit into from
May 31, 2019

Conversation

aduth
Copy link
Member

@aduth aduth commented May 30, 2019

Previously: #15215

For reasons currently outside my understanding, the *-controller.php CODEOWNERS entry is not correctly matching. For the pull request #15651, which includes the file lib/class-wp-rest-widget-areas-controller.php, it should have been expected that @TimothyBJacobs was assigned as reviewer by code ownership.

*-controller.php @youknowriad @gziolo @aduth @timothybjacobs

Reference: https://help.github.com/en/articles/about-code-owners

CODEOWNERS should prefer last-match, and follows gitignore syntax. It's possible the convention here is incorrect, though variations tested locally against git check-ignore don't appear to make any difference. Suggestions welcome here. I suspect it is a matter of either (a) nested directories or (b) wildcard placement.

From the pull request #15651, there are also people not expected to be assigned as code owner reviewers (@noisysocks, @nerrad) based on the files changed. It may be that earlier versions of the branch included revisions to files outside this directory (it was rebased a number of times).

The text "code owners" in the screenshot:

image

..is linked to:

/lib @youknowriad @gziolo @aduth

For this reason, we can assume that at least /lib should be working as expected. Until this can be correctly diagnosed, @TimothyBJacobs has agreed to be included as code owner for /lib.

@aduth aduth added the [Type] Project Management Meta-issues related to project management of Gutenberg label May 30, 2019
Copy link
Member

@noisysocks noisysocks left a comment

Choose a reason for hiding this comment

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

Weird. Is there a way to report this as a bug to GitHub?

@aduth
Copy link
Member Author

aduth commented May 31, 2019

Weird. Is there a way to report this as a bug to GitHub?

gitignore syntax has always eluded my understanding, so it may very likely be a failing on my part and not actually a bug 🤷‍♂

@aduth aduth merged commit 0643823 into master May 31, 2019
@aduth aduth deleted the update/merge-lib-controllers-codeowners branch May 31, 2019 20:34
@youknowriad youknowriad added this to the Gutenberg 5.9 milestone Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Project Management Meta-issues related to project management of Gutenberg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants