Skip to content

Commit 27088cf

Browse files
joyeecheungMylesBorins
authored andcommitted
doc: improve onboarding instructions
- Suggest to use a TOTP app if the new collaborator cannot receive SMS messages from GitHub - Suggest to install node-core-utils and set up credentials before the onboarding session. - Ask about subsystem teams that they want to join - Note about squashing commits - Other small fixes PR-URL: #19108 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
1 parent 9ec0eab commit 27088cf

File tree

2 files changed

+29
-11
lines changed

2 files changed

+29
-11
lines changed

COLLABORATOR_GUIDE.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -469,10 +469,11 @@ $ npm install -g node-core-utils
469469
$ git node land $PRID
470470
```
471471

472-
If it's the first time you ever use `node-core-utils`, you will be prompted
473-
to type the password of your GitHub account in the console so the tool can
474-
create the GitHub access token for you. If you do not want to do that, follow
475-
[the guide of `node-core-utils`][node-core-utils-credentials]
472+
If it's the first time you have used `node-core-utils`, you will be prompted
473+
to type the password of your GitHub account and the two-factor authentication
474+
code in the console so the tool can create the GitHub access token for you.
475+
If you do not want to do that, follow
476+
[the `node-core-utils` guide][node-core-utils-credentials]
476477
to set up your credentials manually.
477478

478479
### Technical HOWTO

doc/onboarding.md

+24-7
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,21 @@ onboarding session.
66
## One week before the onboarding session
77

88
* If the new Collaborator is not yet a member of the nodejs GitHub organization,
9-
confirm that they are using two-factor authentication. It will not be possible
10-
to add them to the organization if they are not using two-factor
11-
authentication.
9+
confirm that they are using [two-factor authentication][]. It will not be
10+
possible to add them to the organization if they are not using two-factor
11+
authentication. If they cannot receive SMS messages from GitHub, try
12+
[using a TOTP mobile app][].
1213
* Announce the accepted nomination in a TSC meeting and in the TSC
1314
mailing list.
15+
* Suggest the new Collaborator install [`node-core-utils`][] and
16+
[set up the credentials][] for it.
1417

1518
## Fifteen minutes before the onboarding session
1619

1720
* Prior to the onboarding session, add the new Collaborator to
1821
[the Collaborators team](https://github.com/orgs/nodejs/teams/collaborators).
22+
* Ask them if they want to join any subsystem teams. See
23+
[Who to CC for Issues][who-to-cc].
1924

2025
## Onboarding session
2126

@@ -87,7 +92,7 @@ onboarding session.
8792
* When adding a `semver-*` label, add a comment explaining why you're adding
8893
it. Do it right away so you don't forget!
8994

90-
* [**See "Who to CC in issues"**](./onboarding-extras.md#who-to-cc-in-issues)
95+
* [**See "Who to CC in issues"**][who-to-cc]
9196
* This will come more naturally over time
9297
* For many of the teams listed there, you can ask to be added if you are
9398
interested
@@ -183,7 +188,13 @@ onboarding session.
183188

184189
## Landing PRs
185190

186-
* See the Collaborator Guide: [Landing Pull Requests][]
191+
See the Collaborator Guide: [Landing Pull Requests][].
192+
193+
Note that commits in one PR that belong to one logical change should
194+
be squashed. It is rarely the case in onboarding exercises, so this
195+
needs to be pointed out separately during the onboarding.
196+
197+
<!-- TODO(joyeechueng): provide examples about "one logical change" -->
187198

188199
## Exercise: Make a PR adding yourself to the README
189200

@@ -202,9 +213,11 @@ onboarding session.
202213
for 48/72 hours to land).
203214
* Be sure to add the `PR-URL: <full-pr-url>` and appropriate `Reviewed-By:`
204215
metadata.
205-
* [`core-validate-commit`][] automates the validation of commit messages.
206216
* [`node-core-utils`][] automates the generation of metadata and the landing
207217
process. See the documentation of [`git-node`][].
218+
* [`core-validate-commit`][] automates the validation of commit messages.
219+
This will be run during `git node land --final` of the [`git-node`][]
220+
command.
208221

209222
## Final notes
210223

@@ -227,9 +240,13 @@ onboarding session.
227240

228241
[Code of Conduct]: https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md
229242
[`core-validate-commit`]: https://github.com/evanlucas/core-validate-commit
230-
[`git-node`]: https://github.com/nodejs/node-core-utils#git-node
243+
[`git-node`]: https://github.com/nodejs/node-core-utils/blob/master/docs/git-node.md
231244
[`node-core-utils`]: https://github.com/nodejs/node-core-utils
232245
[Landing Pull Requests]: https://github.com/nodejs/node/blob/master/COLLABORATOR_GUIDE.md#landing-pull-requests
233246
[https://github.com/nodejs/node/commit/ce986de829457c39257cd205067602e765768fb0]: https://github.com/nodejs/node/commit/ce986de829457c39257cd205067602e765768fb0
234247
[Publicizing or hiding organization membership]: https://help.github.com/articles/publicizing-or-hiding-organization-membership/
248+
[set up the credentials]: https://github.com/nodejs/node-core-utils#setting-up-credentials
249+
[two-factor authentication]: https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/
235250
[Updating Node.js from Upstream]: ./onboarding-extras.md#updating-nodejs-from-upstream
251+
[using a TOTP mobile app]: https://help.github.com/articles/configuring-two-factor-authentication-via-a-totp-mobile-app/
252+
[who-to-cc]: ./onboarding-extras.md#who-to-cc-in-issues

0 commit comments

Comments
 (0)