node icon indicating copy to clipboard operation
node copied to clipboard

doc: add option to have support me link

Open mhdawson opened this issue 1 year ago β€’ 14 comments

Refs: https://github.com/nodejs/TSC/issues/1552

mhdawson avatar Jun 03 '24 20:06 mhdawson

Review requested:

  • [ ] @nodejs/tsc

nodejs-github-bot avatar Jun 03 '24 20:06 nodejs-github-bot

I volunteered in the last TSC meeting to create this to start broader input from collaborators.

@ruyadorno I'm not sure if htis addresses your concerns. @jasnell it tries to cover some of the points that you and others had raised about limitations on where links go.

It's a known issue that before any support me links are added some tooling would need to be updated to support the new format of the REAMDE.md

mhdawson avatar Jun 03 '24 20:06 mhdawson

Adding https://github.com/nodejs/node/labels/blocked as I don't think this should land until all the README parsers we're using have been updated (and we should probably define what the format should be first).

aduh95 avatar Jun 03 '24 21:06 aduh95

we should probably define what the format should be first

What format do you have in mind? Examples:

Handle Name Email Pronouns Support
@Octocat Jane Doe [email protected] She/Her https://example.com

@Octocat - Jane Doe <[email protected]> (She/Her) Support Me

@Octocat

Jane Doe (She/Her)

[email protected]

https://example.com

avivkeller avatar Jun 03 '24 22:06 avivkeller

@RedYetiDev, @aduh95 I think this does define the format which would be

mhdawson - Michael Dawson <[email protected]> (he/him) Support me

based on what's written and the existing format listing people on the README.md

mhdawson avatar Jun 06 '24 21:06 mhdawson

Looks like this should be ready to land once the ncu tools are updated.

mhdawson avatar Jun 11 '24 13:06 mhdawson

@aduh95 when you say all of the readme parsers do you have a list of what you had in mind?

I checked ncu-core-utils and added the extra Support me to section at the end of a number of collaborators in https://github.com/mhdawson/node-core-utils/blob/main/test/fixtures/README/README.md and all of the tests still passed so I think the regex in https://github.com/mhdawson/node-core-utils/blob/main/lib/collaborators.js is happy to have whatever after the initial parts that it matches with/uses.

mhdawson avatar Jun 19 '24 21:06 mhdawson

Note that we have sections other than the collaborators section in the README that may repeat the same name. I suppose we want people to put the link in the collaborators section?

joyeecheung avatar Jun 20 '24 12:06 joyeecheung

I suppose we want people to put the link in the collaborators section?

@joyeecheung I was thinking they could go into any of the sections related to collaborators, include TSC, Collaborators, the emeritus for each of those, etc. How about I add this list of places its ok to add to:

Collaborators Emeriti TSC voting members TSC regular members TSC emeriti members

?

mhdawson avatar Jun 20 '24 15:06 mhdawson

I think it would be better to just use the collaborators section since everyone is in there equally, or people don’t need to copy paste the link into multiple sections. But I don’t very feel strongly about it.

joyeecheung avatar Jun 20 '24 18:06 joyeecheung

@joyeecheung I'd be ok with either as well. I'll just update to say that and we can see if anybody else feels strongly otherwise.

mhdawson avatar Jun 20 '24 18:06 mhdawson

@joyeecheung updated.

mhdawson avatar Jun 20 '24 18:06 mhdawson

@aduh95 just checking in again to see if you had a specific list of tooling we need to check as I think node-core-utils might be ok as per my comment in - https://github.com/nodejs/node/pull/53312#issuecomment-2179481119

mhdawson avatar Jun 28 '24 18:06 mhdawson

There's also scripts in this repo (lint-readme-lists.mjs, and find-inactive-collaborators.mjs). If we were to allow the TSC list to change format, there would be more, but for collaborators, I think it's only those two.

aduh95 avatar Jun 28 '24 22:06 aduh95

@aduh95 thanks will take a look at those 2

mhdawson avatar Jul 02 '24 21:07 mhdawson

@aduh95 I made this change to the README.md

diff --git a/README.md b/README.md
index 8e1ddf8531..40bab1099f 100644
--- a/README.md
+++ b/README.md
@@ -400,7 +400,7 @@ For information about the governance of the Node.js project, see
 * [Mesteery](https://github.com/Mesteery) -
   **Mestery** <<[email protected]>> (he/him)
 * [mhdawson](https://github.com/mhdawson) -
-  **Michael Dawson** <<[email protected]>> (he/him)
+  **Michael Dawson** <<[email protected]>> (he/him) [Support me](http://devrus.com)
 * [mildsunrise](https://github.com/mildsunrise) -
   **Alba Mendez** <<[email protected]>> (she/her)
 * [MoLow](https://github.com/MoLow) -
root@18add8f89985:/newpull/io.js# 

and then ran both of those scripts:

root@18add8f89985:/newpull/io.js# ./node ./tools/find-inactive-collaborators.mjs 

Inactive collaborators:

* Mestery
* Khaidi Chu
root@18add8f89985:/newpull/io.js# ./node ./tools/lint-readme-lists.mjs 
root@18add8f89985:/newpull/io.js# 

And they seemed ok.

Anything else you can think I should check out before landing this PR?

mhdawson avatar Jul 05 '24 16:07 mhdawson

Removing the blocked tag as I think @aduh95 confirmed that made sense.

mhdawson avatar Jul 09 '24 15:07 mhdawson

Commit Queue failed
- Loading data for nodejs/node/pull/53312
βœ”  Done loading data for nodejs/node/pull/53312
----------------------------------- PR info ------------------------------------
Title      doc: add option to have support me link (#53312)
Author     Michael Dawson <[email protected]> (@mhdawson)
Branch     mhdawson:sponsorship -> nodejs:main
Labels     doc, author ready, commit-queue-squash
Commits    9
 - doc: add option to have support me link
 - Update doc/contributing/reconizing-contributors.md
 - Update doc/contributing/reconizing-contributors.md
 - Update reconizing-contributors.md
 - Update reconizing-contributors.md
 - Update doc/contributing/reconizing-contributors.md
 - Update reconizing-contributors.md
 - Update doc/contributing/reconizing-contributors.md
 - Update doc/contributing/reconizing-contributors.md
Committers 2
 - Michael Dawson <[email protected]>
 - GitHub <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/53312
Refs: https://github.com/nodejs/TSC/issues/1552
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruy Adorno <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/53312
Refs: https://github.com/nodejs/TSC/issues/1552
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruy Adorno <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last approving review:
   ⚠  - Update doc/contributing/reconizing-contributors.md
   ⚠  - Update doc/contributing/reconizing-contributors.md
   β„Ή  This PR was created on Mon, 03 Jun 2024 20:11:17 GMT
   βœ”  Approvals: 6
   βœ”  - Yagiz Nizipli (@anonrig): https://github.com/nodejs/node/pull/53312#pullrequestreview-2103276884
   βœ”  - Moshe Atlow (@MoLow) (TSC): https://github.com/nodejs/node/pull/53312#pullrequestreview-2094865955
   βœ”  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/53312#pullrequestreview-2094951781
   βœ”  - Ruy Adorno (@ruyadorno) (TSC): https://github.com/nodejs/node/pull/53312#pullrequestreview-2097049849
   βœ”  - Rafael Gonzaga (@RafaelGSS) (TSC): https://github.com/nodejs/node/pull/53312#pullrequestreview-2105411539
   βœ”  - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/53312#pullrequestreview-2161154833
   βœ”  Last GitHub CI successful
   β„Ή  Green GitHub CI is sufficient
--------------------------------------------------------------------------------
   βœ”  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/9861485696

nodejs-github-bot avatar Jul 09 '24 17:07 nodejs-github-bot

Landed in 23ef285ac498

mhdawson avatar Jul 10 '24 20:07 mhdawson