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

[proposal/rfc] Use github-native review process, say goodbye to pullapprove #2388

Closed
kolyshkin opened this issue May 8, 2020 · 11 comments · Fixed by #2442
Closed

[proposal/rfc] Use github-native review process, say goodbye to pullapprove #2388

kolyshkin opened this issue May 8, 2020 · 11 comments · Fixed by #2442

Comments

@kolyshkin
Copy link
Contributor

This is a proposal to get rid of pullapprove for this repository.

Pullappove was probably added when github did not have its own mechanism to do LGTMs. For quite some time, such a mechanism exists: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/approving-a-pull-request-with-required-reviews

There is also a mechanism to require a certain number of LGTMs before it is possible to merge a PR: https://help.github.com/en/github/administering-a-repository/about-required-reviews-for-pull-requests, although I don't think it is necessary, since all the moderators here are able to count how many green check marks are there in the top left corner of a PR page.

So, unless I am missing something, there is no value that pullapprove adds to what github has.

Please let me know what you think, @opencontainers/runc-maintainers

@AkihiroSuda
Copy link
Member

LGTM

@cyphar
Copy link
Member

cyphar commented May 8, 2020

Yeah, sounds reasonable -- not to mention that PullApprove seems to break depending on the phase of the moon. The only question is about self-LGTMs (a maintainer approving their own patch), which I don't know if GitHub has a mechanism to disallow. I wouldn't really mind dropping that rule, though I'd prefer not to drop it purely for technical reasons.

@hqhq
Copy link
Contributor

hqhq commented May 8, 2020

SGTM

@caniszczyk
Copy link
Contributor

@cyphar I'm fine moving to the GitHub approach and dropping the rule, the community has changed over time and there seems to be a lot more trust now, we could move to the CODEOWNERS approach https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

@kolyshkin
Copy link
Contributor Author

the only question is about self-LGTMs (a maintainer approving their own patch), which I don't know if GitHub has a mechanism to disallow

I think we should have a rule of thumb that PR author's own LGTM does not count/matter, and follow this rule, but there is no need to automate it. From the other side, if there is a way to automate it I'm not against this either.

@thaJeztah
Copy link
Member

GitHub supports that; can't approve your own PR's

@cyphar
Copy link
Member

cyphar commented May 13, 2020

Oh, in that case I'm 100% on board for this. I'm not sure if we need formal LGTMs for something like this, I could go enable it now.

@kolyshkin
Copy link
Contributor Author

OK, I am going forward with this.

Note that now the LGTM should not be a mere comment, but rather a selection in the "review changes" dialog (the "review changes" button in the top-right corner while viewing commits).

@cyphar
Copy link
Member

cyphar commented May 30, 2020

It looks like you enabled "Require branches to be up to date before merging" -- this is a change in the merging rules (and means that we will always have to ask users to rebase before we merge). I'm not against having a policy like that, but that's a separate topic to the switch away from PullApprove. So I've disabled it.

@kolyshkin
Copy link
Contributor Author

@cyphar thanks, I enabled that one by mistake.

@cyphar
Copy link
Member

cyphar commented May 31, 2020

Yeah, I guessed as much. 😉

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 a pull request may close this issue.

6 participants