-
Notifications
You must be signed in to change notification settings - Fork 27
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
MAINTAINERS: disallow self-LGTMs #13
Conversation
Apart from being a sign of respect to other maintainers, it also ensures that *all* pull requests get equal amounts of review -- no matter who wrote them. Maintainers should know better than to make broken patchsets, but it's also a sign of respect to the community that all pull requests have equal treatment. Signed-off-by: Aleksa Sarai <[email protected]>
On Thu, May 26, 2016 at 08:28:21PM -0700, Aleksa Sarai wrote:
I'm not convinced ;). For example in runtime-spec: $ git log --first-parent --format='%h (%aN %ad) %s' --date=short origin/master | grep 'Vincent.*vbatts' But most of those are “@vbatts is the maintainer that cares the most If you're concerned about abusive maintainers, I'd just suggest the And if you want a rule to minimize abuse, I think a better approach is |
There are also a few earlier comments on this issue starting at 1. |
I don't really agree with the idea that we should value "increased development speed" over code quality and review. More importantly, it should be clear to the community that while maintainers have merge rights they go through precisely the same amount of review as everyone else. Maintainers make mistakes too, and we benefit from code review like everyone else. In addition, having more time for maintainers to review code makes sure that all maintainers are on the same page in regard to what is being merged -- for example I didn't see the PullApprove PR until after it was merged (I was asleep) and I have some strong opinions on it that I didn't get to voice before it was merged. To be clear: I never said that I have a problem with maintainers merging their own PRs (which is what your example appears to be pointing out). We just need to go through the two LGTM process like everyone else. I do like the idea of a cook time for PRs, but I honestly think that we should have both. Mainly because I'm in a different timezone from everyone else, so I usually miss some PRs. |
On Fri, May 27, 2016 at 04:23:58AM -0700, Aleksa Sarai wrote:
And they do (still have to have two maintainer LGTMs). The submitter
Absolutely, but trying to catch all the mistakes on the way in is
Right, but I think the problem there is cook-time. |
Admittedly, I did change my point mid-comment. The general point is that I don't like the whole "two hats" approach to maintainence -- when you write code and submit it you are a contributor like anyone else (who happens to have more experience than most, but you don't need to be a maintainer to have experience). Follow-up PRs become very messy after a while (especially when you end up with disagreements about the actual architecture of a change) -- it's much nicer to deal with all of the upfront problems upfront. I didn't say LGTM-ing your own PR is abusive, it just seems disrespectful to me (it might just be a cultural thing though, you don't get special treatment when writing a scientific paper just because you happen to be the head of school) -- I know that you are confident in your code (everyone is), but peer review helps make sure that everyone gets equal scrutiny. As a separate point, I'd be okay with a 1-2 weekday cook time for every PR (purely for timezone reasons), but there's a valid question about whether or not the cook time should be reset on each push (as the code could've drastically changed). |
On Fri, May 27, 2016 at 09:44:02AM -0700, Aleksa Sarai wrote:
If you don't trust a maintainer to wait for sufficient consensus on
Yeah, I think it should be reset (just like the LGTM count is |
1 similar comment
and this is also, not to say that the creator of the PR can't be the one to merge it, if the two LGTM is satisfied, which is what I gather from the some of these comments. |
Ya, that is what I assumed, as long as it has the proper lgtm's then it does not matter who presses the merge button. |
@wking I'll open a PR (or you can if you like) about the cook time issue. |
As opencontainers/project-template#13 is merged, change pullapprove accordingly. Signed-off-by: Qiang Huang <[email protected]>
As opencontainers/project-template#13 is merged, change pullapprove accordingly. Signed-off-by: Qiang Huang <[email protected]>
On Tue, May 31, 2016 at 06:13:57PM -0700, Aleksa Sarai wrote:
Go for it ;). My personal preference is still to leave this level of |
Yeah, I agree that we should allow maintainers to decide how long a cook time is reasonable for large PRs. But for small ones we should at least have a rule of thumb, which should be followed at the maintainers' discretion. |
I'm personally fine with leaving this sort of policing up to the maintainers [1]. But explicit no-self-LGTM docs landed in c82a2e7 (MAINTAINERS: disallow self-LGTMs, 2016-05-27, opencontainers#13), and it's good to be internally consistent. [1]: opencontainers#13 (comment) Signed-off-by: W. Trevor King <[email protected]>
As opencontainers/project-template#13 is merged, change pullapprove accordingly. Signed-off-by: Qiang Huang <[email protected]>
The signoff requirement catches us up with fcc7f42 (Add contributing and maintainer guidelines, 2016-05-03, opencontainers#1). The author ignore catches us up with c82a2e7 (MAINTAINERS: disallow self-LGTMs, 2016-05-27, opencontainers#13). The push reset catches us up with opencontainers/runtime-spec@aa9f3a26 (Add PullApprove checks, 2016-05-26, opencontainers/runtime-spec#458), opencontainers/image-spec@95a46754d (Add PullApprove support to enforce review, 2016-06-01, opencontainers/image-spec#101) and opencontainers/runc@e2fd7c11 (Add PullApprove support, 2016-05-26, opencontainers/runc#847). Signed-off-by: W. Trevor King <[email protected]>
The signoff requirement catches us up with fcc7f42 (Add contributing and maintainer guidelines, 2016-05-03, opencontainers#1). The author ignore catches us up with c82a2e7 (MAINTAINERS: disallow self-LGTMs, 2016-05-27, opencontainers#13). The push reset catches us up with opencontainers/runtime-spec@aa9f3a26 (Add PullApprove checks, 2016-05-26, opencontainers/runtime-spec#458), opencontainers/image-spec@95a46754d (Add PullApprove support to enforce review, 2016-06-01, opencontainers/image-spec#101) and opencontainers/runc@e2fd7c11 (Add PullApprove support, 2016-05-26, opencontainers/runc#847). Signed-off-by: W. Trevor King <[email protected]>
The sign-off requirement catches us up with fcc7f42 (Add contributing and maintainer guidelines, 2016-05-03, opencontainers#1). The author ignore catches us up with c82a2e7 (MAINTAINERS: disallow self-LGTMs, 2016-05-27, opencontainers#13). The push reset catches us up with opencontainers/runtime-spec@aa9f3a26 (Add PullApprove checks, 2016-05-26, opencontainers/runtime-spec#458), opencontainers/image-spec@95a46754d (Add PullApprove support to enforce review, 2016-06-01, opencontainers/image-spec#101) and opencontainers/runc@e2fd7c11 (Add PullApprove support, 2016-05-26, opencontainers/runc#847). Signed-off-by: W. Trevor King <[email protected]>
according opencontainers/project-template#13 we should disallow self-LGTMs Signed-off-by: Lei Jitang <[email protected]>
according opencontainers/project-template#13 we should disallow self-LGTMs Signed-off-by: Lei Jitang <[email protected]>
according opencontainers/project-template#13 we should disallow self-LGTMs Signed-off-by: Lei Jitang <[email protected]>
according opencontainers/project-template#13 we should disallow self-LGTMs Signed-off-by: Lei Jitang <[email protected]>
according opencontainers/project-template#13 we should disallow self-LGTMs Signed-off-by: Lei Jitang <[email protected]>
according opencontainers/project-template#13 we should disallow self-LGTMs Signed-off-by: Lei Jitang <[email protected]>
according opencontainers/project-template#13 we should disallow self-LGTMs Signed-off-by: Lei Jitang <[email protected]>
Apart from being a sign of respect to other maintainers, it also ensures
that all pull requests get equal amounts of review -- no matter who
wrote them. Maintainers should know better than to make broken
patchsets, but it's also a sign of respect to the community that all
pull requests have equal treatment.
Signed-off-by: Aleksa Sarai [email protected]