Skip to content
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

chore: use better name on nodejs commits #3541

Conversation

ruyadorno
Copy link
Contributor

Currently, the name: npm-robot is being used in nodejs changelogs as
the atttribution author name for npm-update commits. This makes it so
that entries in the changelog referring to our updates reads like:

upgrade npm to 7.18.1 (npm-robot) #39065

This change makes it so that the name used in commits is npm team,
this way the changelogs entry should read instead as:

upgrade npm to 7.18.1 (npm team) #39065

References

Example: https://nodejs.org/en/blog/release/v16.4.0/

cc @darcyclarke @gimli01 @targos @richardlau @BethGriggs

Currently, the name: `npm-robot` is being used in nodejs changelogs as
the atttribution author name for npm-update commits. This makes it so
that entries in the changelog referring to our updates reads like:

```
upgrade npm to 7.18.1 (npm-robot) #39065
```

This change makes it so that the name used in commits is `npm team`,
this way the changelogs entry should read instead as:

```
upgrade npm to 7.18.1 (npm team) #39065
```

Ref: https://nodejs.org/en/blog/release/v16.4.0/
@ruyadorno ruyadorno requested a review from a team as a code owner July 13, 2021 17:52
@richardlau
Copy link
Contributor

@ruyadorno You can also add an entry into https://github.com/nodejs/node/blob/master/.mailmap which would remap the existing commits.

@ruyadorno ruyadorno added Release 7.x work is associated with a specific npm 7 release release: next These items should be addressed in the next release semver:patch semver patch level for changes labels Jul 13, 2021
Copy link
Member

@wraithgar wraithgar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

ruyadorno added a commit that referenced this pull request Jul 15, 2021
Currently, the name: `npm-robot` is being used in nodejs changelogs as
the atttribution author name for npm-update commits. This makes it so
that entries in the changelog referring to our updates reads like:

```
upgrade npm to 7.18.1 (npm-robot) #39065
```

This change makes it so that the name used in commits is `npm team`,
this way the changelogs entry should read instead as:

```
upgrade npm to 7.18.1 (npm team) #39065
```

Ref: https://nodejs.org/en/blog/release/v16.4.0/

PR-URL: #3541
Credit: @ruyadorno
Close: #3541
Reviewed-by: @wraithgar, @targos, @BethGriggs
@ruyadorno
Copy link
Contributor Author

Landed in c11aa53

@ruyadorno ruyadorno closed this Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: next These items should be addressed in the next release Release 7.x work is associated with a specific npm 7 release semver:patch semver patch level for changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants