You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clarify a few items in the onboarding doc about landing a PR. One
addition is to include the optional `Refs:` metadata.
PR-URL: #8479
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Copy file name to clipboardExpand all lines: doc/onboarding.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,18 +170,24 @@ Landing a PR
170
170
*`git rebase -i upstream/master`
171
171
* squash into logical commits if necessary
172
172
*`./configure && make -j8 test` (`-j8` builds node in parallel with 8 threads. adjust to the number of cores (or processor-level threads) your processor has (or slightly more) for best results.)
173
-
* Amend the commit description
174
-
* commits should follow `subsystem[,subsystem]: small description\n\nbig description\n\n<metadata>`
175
-
* first line 50 columns, all others 72
176
-
* add metadata:
177
-
*`Fixes: <full-issue-url>`
178
-
*`Reviewed-By: human <email>`
179
-
* Easiest to use `git log` then do a search
180
-
* (`/Name` + `enter` (+ `n` as much as you need to) in vim)
181
-
* Only include collaborators who have commented `LGTM`
173
+
* Amend the commit description.
174
+
* Commits should be of the form `subsystem[,subsystem]: small description\n\nbig description\n\n<metadata>`
175
+
* The first line should not exceed 50 characters.
176
+
* The remaining lines (except for metadata lines) should wrap at 72 characters.
* In vim: `/Name` + `enter` (+ `n` as much as you need to)
182
+
* Only include collaborators who have commented `LGTM`.
183
+
* Add additional metadata as appropriate:
184
+
*`Fixes: <full-issue-url>`
185
+
* Full URL of GitHub issue that the PR fixes.
186
+
* This will automatically close the PR when the commit lands in master.
187
+
*`Refs: <full-url>`
188
+
* Full URL of material that might provide additional useful information or context to someone trying to understand the change set or the thinking behind it.
183
189
*`git push upstream master`
184
-
*close the original PR with "Landed in `<commit hash>`".
190
+
*Close the pull request with a "Landed in `<commit hash>`" comment.
185
191
186
192
187
193
## exercise: make PRs adding yourselves to the README
0 commit comments