Skip to content

Commit 7d5e9f7

Browse files
committed
fixup! tools,meta: update README and tools to reflect changes in TSC charter
1 parent b549b59 commit 7d5e9f7

File tree

2 files changed

+27
-24
lines changed

2 files changed

+27
-24
lines changed

README.md

+19-16
Original file line numberDiff line numberDiff line change
@@ -207,28 +207,39 @@ For information about the governance of the Node.js project, see
207207
* [Trott](https://github.com/Trott) -
208208
**Rich Trott** <<rtrott@gmail.com>> (he/him)
209209

210-
<details>
211-
212-
<summary>Regular members</summary>
213-
214210
#### TSC regular members
215211

216212
* [addaleax](https://github.com/addaleax) -
217213
**Anna Henningsen** <<anna@addaleax.net>> (she/her)
218214
* [bnoordhuis](https://github.com/bnoordhuis) -
219215
**Ben Noordhuis** <<info@bnoordhuis.nl>>
220-
* [chrisdickinson](https://github.com/chrisdickinson) -
221-
**Chris Dickinson** <<christopher.s.dickinson@gmail.com>>
222216
* [codebytere](https://github.com/codebytere) -
223217
**Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
224218
* [danbev](https://github.com/danbev) -
225219
**Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
220+
* [gabrielschulhof](https://github.com/gabrielschulhof) -
221+
**Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
222+
* [mscdex](https://github.com/mscdex) -
223+
**Brian White** <<mscdex@mscdex.net>>
224+
* [MylesBorins](https://github.com/MylesBorins) -
225+
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
226+
* [rvagg](https://github.com/rvagg) -
227+
**Rod Vagg** <<r@va.gg>>
228+
* [TimothyGu](https://github.com/TimothyGu) -
229+
**Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
230+
231+
<details>
232+
233+
<summary>TSC emeriti members</summary>
234+
235+
#### TSC emeriti members
236+
237+
* [chrisdickinson](https://github.com/chrisdickinson) -
238+
**Chris Dickinson** <<christopher.s.dickinson@gmail.com>>
226239
* [evanlucas](https://github.com/evanlucas) -
227240
**Evan Lucas** <<evanlucas@me.com>> (he/him)
228241
* [Fishrock123](https://github.com/Fishrock123) -
229242
**Jeremiah Senkpiel** <<fishrock123@rocketmail.com>> (he/they)
230-
* [gabrielschulhof](https://github.com/gabrielschulhof) -
231-
**Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
232243
* [gibfahn](https://github.com/gibfahn) -
233244
**Gibson Fahnestock** <<gibfahn@gmail.com>> (he/him)
234245
* [indutny](https://github.com/indutny) -
@@ -239,10 +250,6 @@ For information about the governance of the Node.js project, see
239250
**Josh Gavant** <<josh.gavant@outlook.com>>
240251
* [mmarchini](https://github.com/mmarchini) -
241252
**Mary Marchini** <<oss@mmarchini.me>> (she/her)
242-
* [mscdex](https://github.com/mscdex) -
243-
**Brian White** <<mscdex@mscdex.net>>
244-
* [MylesBorins](https://github.com/MylesBorins) -
245-
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
246253
* [nebrius](https://github.com/nebrius) -
247254
**Bryan Hughes** <<bryan@nebri.us>>
248255
* [ofrobots](https://github.com/ofrobots) -
@@ -251,16 +258,12 @@ For information about the governance of the Node.js project, see
251258
**Alexis Campailla** <<orangemocha@nodejs.org>>
252259
* [piscisaureus](https://github.com/piscisaureus) -
253260
**Bert Belder** <<bertbelder@gmail.com>>
254-
* [rvagg](https://github.com/rvagg) -
255-
**Rod Vagg** <<r@va.gg>>
256261
* [sam-github](https://github.com/sam-github) -
257262
**Sam Roberts** <<vieuxtech@gmail.com>>
258263
* [shigeki](https://github.com/shigeki) -
259264
**Shigeki Ohtsu** <<ohtsu@ohtsu.org>> (he/him)
260265
* [thefourtheye](https://github.com/thefourtheye) -
261266
**Sakthipriyan Vairamani** <<thechargingvolcano@gmail.com>> (he/him)
262-
* [TimothyGu](https://github.com/TimothyGu) -
263-
**Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
264267
* [trevnorris](https://github.com/trevnorris) -
265268
**Trevor Norris** <<trev.norris@gmail.com>>
266269

tools/find-inactive-tsc.mjs

+8-8
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async function getVotingRecords(tscMembers, votes) {
104104
return votingRecords;
105105
}
106106

107-
async function moveTscToEmeritus(peopleToMove) {
107+
async function moveVotingToRegular(peopleToMove) {
108108
const readmeText = readline.createInterface({
109109
input: fs.createReadStream(new URL('../README.md', import.meta.url)),
110110
crlfDelay: Infinity,
@@ -133,17 +133,17 @@ async function moveTscToEmeritus(peopleToMove) {
133133
inTscRegularSection = false;
134134
}
135135

136-
const isTsc = inTscVotingSection && line.length;
137-
const isTscEmeritus = inTscRegularSection && line.length;
136+
const isTscVoting = inTscVotingSection && line.length;
137+
const isTscRegular = inTscRegularSection && line.length;
138138

139139
if (line === '#### TSC voting members') {
140140
inTscVotingSection = true;
141141
}
142-
if (line === '### TSC regular members') {
142+
if (line === '#### TSC regular members') {
143143
inTscRegularSection = true;
144144
}
145145

146-
if (isTsc) {
146+
if (isTscVoting) {
147147
if (line.startsWith('* ')) {
148148
memberFirstLine = line;
149149
const match = line.match(/^\* \[([^\]]+)/);
@@ -162,7 +162,7 @@ async function moveTscToEmeritus(peopleToMove) {
162162
}
163163
}
164164

165-
if (isTscEmeritus) {
165+
if (isTscRegular) {
166166
if (line.startsWith('* ')) {
167167
memberFirstLine = line;
168168
} else if (line.startsWith(' **')) {
@@ -178,7 +178,7 @@ async function moveTscToEmeritus(peopleToMove) {
178178
}
179179
}
180180

181-
if (!isTsc && !isTscEmeritus) {
181+
if (!isTscVoting && !isTscRegular) {
182182
fileContents += `${line}\n`;
183183
}
184184
}
@@ -229,7 +229,7 @@ if (inactive.length) {
229229
// Using console.warn() to avoid messing with find-inactive-tsc which
230230
// consumes stdout.
231231
console.warn('Generating new README.md file...');
232-
const newReadmeText = await moveTscToEmeritus(inactive);
232+
const newReadmeText = await moveVotingToRegular(inactive);
233233
fs.writeFileSync(new URL('../README.md', import.meta.url), newReadmeText);
234234
}
235235
}

0 commit comments

Comments
 (0)