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

Remove CODEOWNERS #1367

Merged
merged 14 commits into from
Jul 15, 2022
Merged

Remove CODEOWNERS #1367

merged 14 commits into from
Jul 15, 2022

Conversation

jonmeow
Copy link
Contributor

@jonmeow jonmeow commented Jul 6, 2022

Remove CODEOWNERS and rely on repository commit access

DO NOT MERGE

@jonmeow jonmeow added the proposal A proposal label Jul 6, 2022
@jonmeow jonmeow requested a review from a team July 6, 2022 19:16
@jonmeow jonmeow marked this pull request as ready for review July 7, 2022 19:48
@jonmeow jonmeow requested a review from a team as a code owner July 7, 2022 19:48
Copy link
Contributor

@chandlerc chandlerc left a comment

Choose a reason for hiding this comment

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

LG with some suggestions. Holding off on approving just to make sure no one else wants a look...

.github/assign_prs/explorer.yaml Outdated Show resolved Hide resolved
.github/assign_prs/leads.yaml Show resolved Hide resolved
.github/assign_prs/fallback.yaml Show resolved Hide resolved
jonmeow and others added 3 commits July 7, 2022 16:10
Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
.github/assign_prs/fallback.yaml Show resolved Hide resolved
.github/workflows/assign_prs.yaml Show resolved Hide resolved
Comment on lines +123 to +124
We suggest a specific workflow to address this (note, commit access is
required):
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we still want to suggest this? I've not really seen people using it recently, and my experience trying it previously was not all that pleasant -- to the point that I find I prefer to delay reviews of dependent changes until the base change lands. It also seems exclusionary to provide a different workflow for people with commit access versus everyone else, especially if we do not intend for commit access to be granted to all regular contributors.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Personally, I'd support removing it, but IIRC @chandlerc added it so it may be best to discuss with him.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nah, remove it. It just doesn't work. I've switched to just documenting in stacked PRs which commit range to look at and giving up once merges are occuring.

proposals/p1367.md Outdated Show resolved Hide resolved
Co-authored-by: Richard Smith <richard@metafoo.co.uk>
Copy link
Contributor

@zygoloid zygoloid left a comment

Choose a reason for hiding this comment

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

LG to me. No need to block on the question of what we do with dependent PRs, I think we can work that out separately, but we should open an issue with the question.

Co-authored-by: Richard Smith <richard@metafoo.co.uk>
proposals/p1367.md Outdated Show resolved Hide resolved
@jonmeow
Copy link
Contributor Author

jonmeow commented Jul 8, 2022

TODO: Add doc for who owns what (docs/project/owners.md?)

Copy link
Contributor

@chandlerc chandlerc left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the added detail.

@jonmeow jonmeow merged commit 8dd878b into carbon-language:trunk Jul 15, 2022
@jonmeow jonmeow deleted the proposal-remove-codeowners branch July 15, 2022 22:32
@github-actions github-actions bot added the proposal accepted Decision made, proposal accepted label Jul 15, 2022
@jonmeow jonmeow mentioned this pull request Jul 15, 2022
chandlerc pushed a commit that referenced this pull request Jul 16, 2022
Versus #1367 which approved this in principle, this is the actual removal (I've updated write permissions in GH now).
jonmeow added a commit that referenced this pull request Aug 23, 2022
Wiki can either be "require push access" or "everyone" -- apparently there's no other option. I've set it to "everyone" so that contributors can make edits without needing push access. So the options as I see it are:

- Leave wiki as "everyone" can edit, use this for notifications.
    - GitHub doesn't give notifications for wiki edits. This is trying a different approach for notifications.
- Grant push access to a larger group (contributors), don't add CODEOWNERS.
    - Not sure this is the right choice because of the implications around merges, but again maybe it'd be fine and we can expect the approval requirement to work out.
- Grant push access to contributors, add CODEOWNERS.
    - This causes the auto-assignment to CODEOWNERS that we don't want. (details in #1367)
- Create a separate wiki repo so that we can differently handle push access.
    - This seems overly complex a solution though.

I'm hoping this approach works.
@chandlerc chandlerc added the documentation An issue or proposed change to our documentation label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation An issue or proposed change to our documentation proposal accepted Decision made, proposal accepted proposal A proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants