FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tools: add find-inactive-collaborators.js by Trott · Pull Request #39262 · nodejs/node · GitHub

/ node Public

tools: add find-inactive-collaborators.js - #39262

Merged
Trott merged 1 commit into
nodejs:masterfrom
Trott:find-inactive-collaborators.js
Jul 8, 2021
Merged

tools: add find-inactive-collaborators.js#39262
Trott merged 1 commit into
nodejs:masterfrom
Trott:find-inactive-collaborators.js

Conversation

Trott commented Jul 5, 2021
edited
Loading

Copy link
Copy Markdown
Member

The plan is to eventually call this script with a scheduled GitHub
Action that could automatically open pull requests to move collaborators
to emeritus status after (for example) a year of inactivity.

Sample run:

$ node tools/find-inactive-collaborators.js '30 months ago'
864 authors have made commits since 30 months ago.
101 landers have landed commits since 30 months ago.
146 reviewers have approved landed commits since 30 months ago.
109 collaborators currently in the project.

Inactive collaborators:

Thomas Watson
$

Trott requested a review from boneskull July 5, 2021 01:15
github-actions Bot added the tools Issues and PRs related to the tools directory. label Jul 5, 2021

Trott commented Jul 5, 2021

Copy link
Copy Markdown
Member Author

(And yes, I've emailed Thomas as well as a few others to see if they would be amenable to emeritus status at this time.)

Trott commented Jul 5, 2021

Copy link
Copy Markdown
Member Author

This probably needs more robust error handling, but as a tool used internally in the project and not something end users ever run/see, we can also add that later.

This also might be better incorporated into node-core-utils, but that means that the GitHub Action will have to install that every time. I could go either way on it.

Comment thread tools/find-inactive-collaborators.js Outdated
Trott force-pushed the find-inactive-collaborators.js branch from 9367582 to d9c85f4 Compare July 5, 2021 01:49
Comment thread tools/find-inactive-collaborators.js Outdated
Comment thread tools/find-inactive-collaborators.js Outdated
Comment thread tools/find-inactive-collaborators.js Outdated
Trott force-pushed the find-inactive-collaborators.js branch 6 times, most recently from 42fae35 to 912d361 Compare July 5, 2021 23:28
Comment thread tools/find-inactive-collaborators.mjs Outdated
Trott force-pushed the find-inactive-collaborators.js branch from 912d361 to 42241a8 Compare July 7, 2021 04:21

tniessen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Is this being checked by eslint? If not, maybe it should be.

Trott commented Jul 8, 2021

Copy link
Copy Markdown
Member Author

Is this being checked by eslint? If not, maybe it should be.

Yes, if I remove a semicolon from the file, make lint-js reports it.

The plan is to eventually call this script with a scheduled GitHub
Action that could automatically open pull requests to move collaborators
to emeritus status after (for example) a year of inactivity.

Sample run:

```
$ node tools/find-inactive-collaborators.mjs '30 months ago'
864 authors have made commits since 30 months ago.
101 landers have landed commits since 30 months ago.
146 reviewers have approved landed commits since 30 months ago.
109 collaborators currently in the project.

Inactive collaborators:

Thomas Watson
$
```

PR-URL: nodejs#39262
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Trott force-pushed the find-inactive-collaborators.js branch from 42241a8 to 5f3359d Compare July 8, 2021 13:57

Trott commented Jul 8, 2021

Copy link
Copy Markdown
Member Author

Landed in 5f3359d

Trott merged commit 5f3359d into nodejs:master Jul 8, 2021
Trott deleted the find-inactive-collaborators.js branch July 8, 2021 13:57
targos pushed a commit that referenced this pull request Jul 11, 2021
The plan is to eventually call this script with a scheduled GitHub
Action that could automatically open pull requests to move collaborators
to emeritus status after (for example) a year of inactivity.

Sample run:

```
$ node tools/find-inactive-collaborators.mjs '30 months ago'
864 authors have made commits since 30 months ago.
101 landers have landed commits since 30 months ago.
146 reviewers have approved landed commits since 30 months ago.
109 collaborators currently in the project.

Inactive collaborators:

Thomas Watson
$
```

PR-URL: #39262
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
targos pushed a commit that referenced this pull request Sep 4, 2021
The plan is to eventually call this script with a scheduled GitHub
Action that could automatically open pull requests to move collaborators
to emeritus status after (for example) a year of inactivity.

Sample run:

```
$ node tools/find-inactive-collaborators.mjs '30 months ago'
864 authors have made commits since 30 months ago.
101 landers have landed commits since 30 months ago.
146 reviewers have approved landed commits since 30 months ago.
109 collaborators currently in the project.

Inactive collaborators:

Thomas Watson
$
```

PR-URL: #39262
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL