@@ -16,7 +16,7 @@ For general help using Node.js, please file an issue at the
16
16
[ Node.js help repository] ( https://github.com/nodejs/help/issues ) .
17
17
18
18
Discussion of non-technical topics including subjects like intellectual
19
- property, trademark and high level project questions should move to the
19
+ property, trademark, and high level project questions should move to the
20
20
[ Technical Steering Committee (TSC)] ( https://github.com/nodejs/TSC/issues )
21
21
instead.
22
22
@@ -109,8 +109,12 @@ Writing good commit logs is important. A commit log should describe what
109
109
changed and why. Follow these guidelines when writing one:
110
110
111
111
1 . The first line should be 50 characters or less and contain a short
112
- description of the change prefixed with the name of the changed
113
- subsystem (e.g. "net: add localAddress and localPort to Socket").
112
+ description of the change. All words in the description should be in
113
+ lowercase with the exception of proper nouns, acronyms, and the ones that
114
+ refer to code, like function/variable names. The description should
115
+ be prefixed with the name of the changed subsystem and start with an
116
+ imperative verb. Example: "net: add localAddress and localPort
117
+ to Socket"
114
118
2 . Keep the second line blank.
115
119
3 . Wrap all other lines at 72 columns.
116
120
@@ -121,11 +125,11 @@ subsystem: explaining the commit in one line
121
125
122
126
Body of commit message is a few lines of text, explaining things
123
127
in more detail, possibly giving some background about the issue
124
- being fixed, etc. etc.
128
+ being fixed, etc.
125
129
126
130
The body of the commit message can be several paragraphs, and
127
131
please do proper word-wrap and keep columns shorter than about
128
- 72 characters or so. That way `git log` will show things
132
+ 72 characters or so. That way, `git log` will show things
129
133
nicely even when it is indented.
130
134
```
131
135
@@ -167,19 +171,19 @@ $ ./configure && make -j8 test
167
171
Windows:
168
172
169
173
``` text
170
- .\ vcbuild nosign test
174
+ > vcbuild test
171
175
```
172
176
173
177
(See the [ BUILDING.md] ( ./BUILDING.md ) for more details.)
174
178
175
- Make sure the linter is happy and that all tests pass. Please, do not submit
176
- patches that fail either check.
179
+ Make sure the linter does not report any issues and that all tests pass. Please
180
+ do not submit patches that fail either check.
177
181
178
- Running ` make test ` /` .\ vcbuild nosign test` will run the linter as well unless one or
182
+ Running ` make test ` /` vcbuild test ` will run the linter as well unless one or
179
183
more tests fail.
180
184
181
185
If you want to run the linter without running tests, use
182
- ` make lint ` /` .\ vcbuild nosign jslint ` .
186
+ ` make lint ` /` vcbuild lint ` .
183
187
184
188
If you are updating tests and just want to run a single test to check it, you
185
189
can use this syntax to run it exactly as the test harness would:
@@ -211,7 +215,7 @@ Pull requests are usually reviewed within a few days.
211
215
### Step 7: Discuss and update
212
216
213
217
You will probably get feedback or requests for changes to your Pull Request.
214
- This is a big part of the submission process, so don't be disheartened!
218
+ This is a big part of the submission process so don't be disheartened!
215
219
216
220
To make changes to an existing Pull Request, make the changes to your branch.
217
221
When you push that branch to your fork, GitHub will automatically update the
@@ -249,15 +253,15 @@ If in doubt, you can always ask for guidance in the Pull Request or on
249
253
250
254
Feel free to post a comment in the Pull Request to ping reviewers if you are
251
255
awaiting an answer on something. If you encounter words or acronyms that
252
- seem unfamiliar, check out this
256
+ seem unfamiliar, refer to this
253
257
[ glossary] ( https://sites.google.com/a/chromium.org/dev/glossary ) .
254
258
255
259
Note that multiple commits often get squashed when they are landed (see the
256
260
notes about [ commit squashing] ( #commit-squashing ) ).
257
261
258
262
### Step 8: Landing
259
263
260
- In order to get landed , a Pull Request needs to be reviewed and
264
+ In order to land , a Pull Request needs to be reviewed and
261
265
[ approved] ( #getting-approvals-for-your-pull-request ) by
262
266
at least one Node.js Collaborator and pass a
263
267
[ CI (Continuous Integration) test run] ( #ci-testing ) .
@@ -277,8 +281,8 @@ your name on it. Congratulations and thanks for your contribution!
277
281
278
282
### Commit Squashing
279
283
280
- When the commits in your Pull Request get landed , they will be squashed
281
- into one commit per logical change, with metadata added to the commit
284
+ When the commits in your Pull Request land , they will be squashed
285
+ into one commit per logical change. Metadata will be added to the commit
282
286
message (including links to the Pull Request, links to relevant issues,
283
287
and the names of the reviewers). The commit history of your Pull Request,
284
288
however, will stay intact on the Pull Request page.
@@ -308,9 +312,9 @@ Every Pull Request needs to be tested
308
312
to make sure that it works on the platforms that Node.js
309
313
supports. This is done by running the code through the CI system.
310
314
311
- Only a Collaborator can request a CI run. Usually one of them will do it
315
+ Only a Collaborator can start a CI run. Usually one of them will do it
312
316
for you as approvals for the Pull Request come in.
313
- If not, you can ask a Collaborator to request a CI run.
317
+ If not, you can ask a Collaborator to start a CI run.
314
318
315
319
### Waiting Until the Pull Request Gets Landed
316
320
0 commit comments