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
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 <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+75-8Lines changed: 75 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -243,18 +243,85 @@ If in doubt, you can always ask for guidance in the Pull Request or on
243
243
[IRC in the #node-dev channel](https://webchat.freenode.net?channels=node-dev&uio=d4).
244
244
245
245
Feel free to post a comment in the Pull Request to ping reviewers if you are
246
-
awaiting an answer on something.
246
+
awaiting an answer on something. If you encounter words or acronyms that
can be a good example. It touches the implementation, the documentation,
284
+
and the tests, but is still one logical change. In general, the tests should
285
+
always pass when each individual commit lands on the master branch.
286
+
287
+
### Getting Approvals for Your Pull Request
288
+
289
+
A Pull Request is approved either by saying LGTM, which stands for
290
+
"Looks Good To Me", or by using GitHub's Approve button.
291
+
GitHub's Pull Request review feature can be used during the process.
292
+
For more information, check out
293
+
[the video tutorial](https://www.youtube.com/watch?v=HW0RPaJqm4g)
294
+
or [the official documentation](https://help.github.com/articles/reviewing-changes-in-pull-requests/).
295
+
296
+
After you push new changes to your branch, you need to get
297
+
approval for these new changes again, even if GitHub shows "Approved"
298
+
because the reviewers have hit the buttons before.
299
+
300
+
### CI Testing
301
+
302
+
Every Pull Request needs to be tested
303
+
to make sure that it works on the platforms that Node.js
304
+
supports. This is done by running the code through the CI system.
305
+
306
+
Only a Collaborator can request a CI run. Usually one of them will do it
307
+
for you as approvals for the Pull Request come in.
308
+
If not, you can ask a Collaborator to request a CI run.
309
+
310
+
### Waiting Until the Pull Request Gets Landed
311
+
312
+
A Pull Request needs to stay open for at least 48 hours (72 hours on a
313
+
weekend) from when it is submitted, even after it gets approved and
314
+
passes the CI. This is to make sure that everyone has a chance to
315
+
weigh in. If the changes are trivial, collaborators may decide it
316
+
doesn't need to wait. A Pull Request may well take longer to be
317
+
merged in. All these precautions are important because Node.js is
318
+
widely used, so don't be discouraged!
319
+
320
+
### Check Out the Collaborator's Guide
321
+
322
+
If you want to know more about the code review and the landing process,
0 commit comments