-
Notifications
You must be signed in to change notification settings - Fork 30k
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: fix various nits #19743
doc: fix various nits #19743
Conversation
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.
LGTM but proactively backporting this to LTS lines would be helpful.
@jasnell I will do, but we have no codified algorithm for this, so I have some questions:
|
Proactive backport to v8: #19753 |
For both questions, I don't really have any strong preferences. Others in @nodejs/backporting may have opinions tho. |
Proactive backport to v6: #19761 |
While backporting, I've found some new nits, so 2 small fixup commits are added. CI-lite: https://ci.nodejs.org/job/node-test-pull-request-lite/398/ |
Preserving is good.
Leaving as the initial one for now is fine, if you could update the metadata once this PR lands on master that would be ideal. |
@gibfahn Thank you. Should I copy the metadata in each commit or in the first one only? |
Basically what we've been doing is having the backport commit metadata exactly match what goes onto master (with the exception of the If that becomes painful then we can revisit the decision. |
I mean, if I fixup these commits before landing, will it suffice to copy metadata in the first commit and note in the backport PR that all commits are bound to fixup? |
Technically no, but in practice we have to edit the commit metadata anyway to land the commits, so I'm fine with just adding the metadata to the first one. |
Rebased to resolve conflicts. |
I cannot understand what is wrong with the linter job. |
Green CI-lite: https://ci.nodejs.org/job/node-test-pull-request-lite/417/ |
* Replace 2 hyphens (--) by spaced m-dashes (—) as per STYLE_GUIDE.md. * Space infix operators. * Unify quotes in inline code spans (use only single quotes). * Unify `* Returns:` (eliminate deviations). * Dedupe spaces. PR-URL: #19743 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Landed in de0053c |
* Replace 2 hyphens (--) by spaced m-dashes (—) as per STYLE_GUIDE.md. * Space infix operators. * Unify quotes in inline code spans (use only single quotes). * Unify `* Returns:` (eliminate deviations). * Dedupe spaces. PR-URL: #19743 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
* Replace 2 hyphens (--) by spaced m-dashes (—) as per STYLE_GUIDE.md. * Space infix operators. * Unify quotes in inline code spans (use only single quotes). * Unify `* Returns:` (eliminate deviations). * Dedupe spaces. PR-URL: #19743 Backport-PR-URL: #19753 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
* Replace 2 hyphens (--) by spaced m-dashes (—) as per STYLE_GUIDE.md. * Space infix operators. * Unify quotes in inline code spans (use only single quotes). * Unify `* Returns:` (eliminate deviations). * Dedupe spaces. Backport-PR-URL: #19761 PR-URL: #19743 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesCommit 1: replace 2 hyphens (
--
) by spaced m-dash (—
) as perSTYLE_GUIDE.md
.Commit 2: space infix operators.
Commit 3: unify quotes in inline code spans (use only single quotes).
Commit 4: unify
* Returns:
(eliminate deviations).Commit 5: dedupe spaces.