-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
doc: update collaborator guide #19116
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,6 +86,10 @@ onboarding session. | |
`semver-major` label | ||
* When adding a `semver-*` label, add a comment explaining why you're adding | ||
it. Do it right away so you don't forget! | ||
* Please add the `author-ready` label for PRs where: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All this list seems confusing grammar-wise. "where:" prefix does not combine smoothly with points like "that have no outstanding review comments and". It seems we have to unify the grammatical pattern of the points or reword the introductory sentence. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, the list is a bit confusing. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. About There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed. |
||
* the CI has been started (not necessarily finished), | ||
* no outstanding review comments exist and | ||
* at least one collaborator approved the PR. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I personally would not add the label if it's semver-major and has not received 2 TSC approval yet...probably just a different interpretation of the label though. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have no strong opinion either way. It was just my current interpretation. Because I feel the author is ready as soon as a collaborator approved it. We have to make sure it gets enough LGs one way or the other and we know that we have to trigger the TSC in case some are missing. Shall I change it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @BridgeAR We can revisit that later, probably need to update the label description as well if we are going to change its meaning |
||
|
||
* [**See "Who to CC in issues"**](./onboarding-extras.md#who-to-cc-in-issues) | ||
* This will come more naturally over time | ||
|
@@ -107,11 +111,11 @@ onboarding session. | |
|
||
* The primary goal is for the codebase to improve. | ||
* Secondary (but not far off) is for the person submitting code to succeed. A | ||
pull request from a new contributor is an opportunity to grow the community. | ||
pull request from a new contributor is an opportunity to grow the community. | ||
* Review a bit at a time. Do not overwhelm new contributors. | ||
* It is tempting to micro-optimize. Don't succumb to that temptation. We | ||
change V8 often. Techniques that provide improved performance today may be | ||
unnecessary in the future. | ||
change V8 often. Techniques that provide improved performance today may be | ||
unnecessary in the future. | ||
* Be aware: Your opinion carries a lot of weight! | ||
* Nits (requests for small changes that are not essential) are fine, but try to | ||
avoid stalling the pull request. | ||
|
@@ -122,15 +126,15 @@ onboarding session. | |
by tools but are not, consider implementing the necessary tooling. | ||
* Minimum wait for comments time | ||
* There is a minimum waiting time which we try to respect for non-trivial | ||
changes so that people who may have important input in such a distributed | ||
project are able to respond. | ||
changes so that people who may have important input in such a distributed | ||
project are able to respond. | ||
* For non-trivial changes, leave the pull request open for at least 48 hours | ||
(72 hours on a weekend). | ||
(72 hours on a weekend). | ||
* If a pull request is abandoned, check if they'd mind if you took it over | ||
(especially if it just has nits left). | ||
(especially if it just has nits left). | ||
* Approving a change | ||
* Collaborators indicate that they have reviewed and approve of the changes in | ||
a pull request using Github’s approval interface | ||
a pull request using Github’s approval interface | ||
* Some people like to comment `LGTM` (“Looks Good To Me”) | ||
* You have the authority to approve any other collaborator’s work. | ||
* You cannot approve your own pull requests. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this point a bit confusing? If this is an advice, should we get it out of "Reasons for not using..." part? If this is a green button artifact, should the "keep" become "keeps" and should the culprit method be mentioned?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact, I'd strictly be in favor of keeping code by authors who are not core collaborators in PRs even if they are not the latest. I think that if there are multiple contributors we should keep commits from all of them (perhaps with the same commit message)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It requires judgment, particularly around how significant the contribution is. If someone contributed something significant, squashing commits in a way that removes them as an author should certainly be avoided. That can look like (or can actually be) stealing credit for someone else's work. On the other hand, we do have to make sure that all tests pass with each commit, and sometimes squashing is the most reasonable way to achieve that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the point that this is confusing but I would really like to keep this out of the scope of this PR. I did not change this part, so I guess that is fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, yes, hadn't noticed that this content has not changed and this is just a formatting/white-space change to this part. Yeah, the comments should be addressed in another PR IMO.