doc: clarify the review and landing process#10202
doc: clarify the review and landing process#10202joyeecheung wants to merge 10 commits intonodejs:masterfrom
Conversation
a11a8b6 to
c4ff032
Compare
CONTRIBUTING.md
Outdated
There was a problem hiding this comment.
I don't think "stands for" is the right wording. That makes it sound like 'nits' is an acronym, which it isn't.
There was a problem hiding this comment.
Thank you for pointing this out. I'm not a native speaker so this is really helpful. Does "means" sounds better?
There was a problem hiding this comment.
Yes, that would sound better.
CONTRIBUTING.md
Outdated
There was a problem hiding this comment.
I'm not sure the description is quite accurate. IMHO nits are just minor issues, whether the changes needed to address the minor issue are large or small is irrelevant. For example, comment typos for a PR that changes code would probably be considered a nit especially because comments don't affect the code, but it could be there are a lot of typos to fix or just one.
There was a problem hiding this comment.
Hmm.. I copied this phrase from the onboarding guide, maybe that one needs to be more accurate too?
How does "request for changes that are not essential" sound?
CONTRIBUTING.md
Outdated
There was a problem hiding this comment.
It might be worth also noting Github's PR review mechanism too if we want to advocate its usage.
There was a problem hiding this comment.
Does adding a link to the video tutorial(https://www.youtube.com/watch?v=HW0RPaJqm4g) and the documentation(https://help.github.com/articles/reviewing-changes-in-pull-requests/) suffice?
There was a problem hiding this comment.
That might be a good start.
I think we may want to add some text about the validity of approvals (either via 'LGTM' or Github's PR review) after changes were made since the approval. For example, when someone approves a PR using Github's mechanism, it will still show "Approved" even after someone pushes more changes after that approval is made, which can be misleading (at least at first glance).
There was a problem hiding this comment.
Notes added. Thanks for the suggestion!
CONTRIBUTING.md
Outdated
There was a problem hiding this comment.
The indentation is off here and possibly other places below.
There was a problem hiding this comment.
Addressed. Thanks for pointing this out.
CONTRIBUTING.md
Outdated
There was a problem hiding this comment.
This isn't actually true, the commit history of your PR is available until you delete your fork branch, at which point it disappears.
There was a problem hiding this comment.
Thank you for pointing this out. Maybe "The commit history of your Pull Request, however, will stay intact on the Pull Request page(as long as you don't delete your fork branch, at which point it disappears)." is more accurate?
CONTRIBUTING.md
Outdated
There was a problem hiding this comment.
The commits won't necessarily be squashed into one commit per PR, they'll be squashed into one commit per logical change (it's hard to specify what a logical change is).
There was a problem hiding this comment.
Hmmm..maybe suggesting the new contributors checkout the previous commits to have an idea about the size of a logical change? Or a link to a specific example(preferably one with lib, src, doc, test changes but is still one logical change)?
There was a problem hiding this comment.
I think this one could be a good example. #2921 Although it's two logical changes.
There was a problem hiding this comment.
Ooops, strike that, that one landed as two commits too. I will try to dig up a better example(any help would be appreciated!).
There was a problem hiding this comment.
OK, I think this commit 0b5191f could be a good example. There are a lot of lines changed, but it's still one logical change.
CONTRIBUTING.md
Outdated
There was a problem hiding this comment.
links to the pull request and relevant issues
There was a problem hiding this comment.
Thanks, I will add this to the sentence.
CONTRIBUTING.md
Outdated
There was a problem hiding this comment.
Collaborator? Also, collaborators can use GitHub's Approve button.
There was a problem hiding this comment.
Do you mean this should be singular? I will add a phrase mentioning the Approve button, thanks
- Explains what "nits" stand for - Explains commit squashing - Mentions the CI run - Mentions the mandatory 48/72 hours wait - Mention GitHub's PR review feature - Fix indentation
a248e7d to
cc22d35
Compare
|
@thefourtheye Thank you for the review, I've updated the changes, PTAL. |
- Mention the "landed in <sha>" comment when a PR gets landed
|
I have read this one more time, and I think the comment "landed in <sha>" used by collaborators when a PR gets landed should be mentioned as well. |
023d78e to
86d6d7b
Compare
|
Ping. Is there anything that needs to be addressed? |
CONTRIBUTING.md
Outdated
|
|
||
| A Pull Request needs to stay open for at least 48 hours (72 hours on a | ||
| weekend) from when it is submitted, even after it gets approved and | ||
| passes the CI. This is to make sure that everyone has a chance to |
There was a problem hiding this comment.
Microscopic nit: There is a trailing space at the end of this line.
There was a problem hiding this comment.
Should have trimmed the spaces :P. Addressed. Thanks!
|
Landed in 44b38bb Thanks a lot @joyeecheung |
Adds/mentions: - Link to glossary - Commit squashing and CI run - 48/72 hour wait and PR review feature - Extra notes section - "Landed in <sha>" comment PR-URL: #10202 Ref: #10151 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Adds/mentions: - Link to glossary - Commit squashing and CI run - 48/72 hour wait and PR review feature - Extra notes section - "Landed in <sha>" comment PR-URL: #10202 Ref: #10151 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Adds/mentions: - Link to glossary - Commit squashing and CI run - 48/72 hour wait and PR review feature - Extra notes section - "Landed in <sha>" comment PR-URL: #10202 Ref: #10151 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Adds/mentions: - Link to glossary - Commit squashing and CI run - 48/72 hour wait and PR review feature - Extra notes section - "Landed in <sha>" comment PR-URL: #10202 Ref: #10151 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Adds/mentions: - Link to glossary - Commit squashing and CI run - 48/72 hour wait and PR review feature - Extra notes section - "Landed in <sha>" comment PR-URL: #10202 Ref: #10151 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Adds/mentions: - Link to glossary - Commit squashing and CI run - 48/72 hour wait and PR review feature - Extra notes section - "Landed in <sha>" comment PR-URL: #10202 Ref: #10151 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Adds/mentions: - Link to glossary - Commit squashing and CI run - 48/72 hour wait and PR review feature - Extra notes section - "Landed in <sha>" comment PR-URL: #10202 Ref: #10151 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Adds/mentions: - Link to glossary - Commit squashing and CI run - 48/72 hour wait and PR review feature - Extra notes section - "Landed in <sha>" comment PR-URL: #10202 Ref: #10151 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Adds/mentions: - Link to glossary - Commit squashing and CI run - 48/72 hour wait and PR review feature - Extra notes section - "Landed in <sha>" comment PR-URL: #10202 Ref: #10151 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Adds/mentions: - Link to glossary - Commit squashing and CI run - 48/72 hour wait and PR review feature - Extra notes section - "Landed in <sha>" comment PR-URL: #10202 Ref: #10151 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Checklist
Affected core subsystem(s)
doc
Description of change
A few process-related details are only explained in the onboarding guide and the collaborator's guide. Mentioning them in the contributing guide as well can avoid confusions to new contributors.
This is based on my previous experience, but I am still a new contributor myself, so feel free to correct me if my understanding is not the case!
Ref: #10151