Skip to content

Commit b7acd20

Browse files
authored
Allow opt-out of PII in CONTRIBUTORS.txt (#6670)
* Update CONTRIBUTORS.txt * Update contributors script to allow removal of PII
1 parent 696e9d7 commit b7acd20

File tree

4 files changed

+70
-8
lines changed

4 files changed

+70
-8
lines changed

.mailfilter

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This is a list of `shasum` hashed email addresses which are filtered from CONTRIBUTORS.txt, typically for privacy.
2+
# Lines can be generated by running `echo -n 'My Name <my@email>' | shasum | head -c 40`.
3+
4+
03a39e53ca4764a094b9f6e548e8d1ce0d941d7b
5+
38268a29b340ecfb435c5e6c5827a596acb71cc6
6+
43b012c0b4e67962522a02e12d07cb5d5c5ba036
7+
886d1da6503c6de1d630beaf6acb667e4ce3e2a0

.mailmap

-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ Alex Blewitt <[email protected]> <[email protected]>
22
33
44
5-
6-
75
86
97
@@ -103,7 +101,5 @@ Tim Gymnich <[email protected]> <[email protected]>
103101
104102
105103
106-
107-
108104
109105

CONTRIBUTORS.txt

+49-2
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,21 @@ needs to be listed here.
1919
- Adam Cox <[email protected]>
2020
- Adam Thayer <[email protected]>
2121
- Adam Yanalunas <[email protected]>
22+
- Ahmad Yasser <[email protected]>
2223
- Alastair Houghton <[email protected]>
24+
- Alejandro Alonso <[email protected]>
25+
- Aleksei Sapitskii <[email protected]>
2326
- Aleksey Mashanov <[email protected]>
2427
- Aleph Retamal <[email protected]>
2528
- Alex Blewitt <[email protected]>
2629
- Alex Hoppen <[email protected]>
30+
- Alex Lorenz <[email protected]>
2731
- Alex Migicovsky <[email protected]>
32+
- Alexander Sandberg <[email protected]>
33+
- Alexey Ivashko <[email protected]>
2834
- Alexis Laferrière <[email protected]>
2935
- Anders Bertelrud <[email protected]>
3036
- Andreas Koslowski <[email protected]>
31-
- Andrew Bennett <[email protected]>
3237
- Andrew Carter <[email protected]>
3338
- Andrew Clark <[email protected]>
3439
- Angelo Villegas <[email protected]>
@@ -47,8 +52,10 @@ needs to be listed here.
4752
- Arthur Ariel Sabintsev <[email protected]>
4853
- Atul Sowani <[email protected]>
4954
- Aura Lily Vulcano <[email protected]>
55+
5056
- BJ Homer <[email protected]>
5157
- Bastian Rinsche <[email protected]>
58+
- Ben Barham <[email protected]>
5259
- Ben Chatelain <[email protected]>
5360
- Ben Cohen <[email protected]>
5461
- Ben Kennedy <[email protected]>
@@ -65,6 +72,7 @@ needs to be listed here.
6572
- Bob Wilson <[email protected]>
6673
- Boris Bielik <[email protected]>
6774
- Boris Buegling <[email protected]>
75+
- BossJue <[email protected]>
6876
- Bouke Haarsma <[email protected]>
6977
- Braden Scothern <[email protected]>
7078
- Brandon Titus <[email protected]>
@@ -78,25 +86,33 @@ needs to be listed here.
7886
- Chris Zielinski <[email protected]>
7987
- Christian Rishøj <[email protected]>
8088
- Christopher Goulet <[email protected]>
89+
- Clay Ellis <[email protected]>
8190
- Colin Cornaby <[email protected]>
91+
- Connor Wakamo <[email protected]>
8292
- Conrad Kramer <[email protected]>
8393
- Cory Benfield <[email protected]>
8494
8595
- Damiaan Dufaux <[email protected]>
8696
- Dan Liew <[email protected]>
97+
- Dan Mendoza <[email protected]>
8798
- Dan Zheng <[email protected]>
8899
- Daniel Duan <[email protected]>
89100
- Daniel Dunbar <[email protected]>
90101
- Daniel Firsht <[email protected]>
102+
- Daniel Rodríguez Troitiño <[email protected]>
103+
- Danny Mösch <[email protected]>
91104
- Dario Rexin <[email protected]>
92105
- Dave Abrahams <[email protected]>
106+
- Dave Weston <[email protected]>
93107
- David Bryson <[email protected]>
94108
- David Farler <[email protected]>
95109
- David Hart <[email protected]>
96110
- David M. Bryson <[email protected]>
111+
- David Nadoba <[email protected]>
97112
- David Ungar <[email protected]>
98113
- Denis Morozov <[email protected]>
99114
- Derik Ramirez <[email protected]>
115+
- Diggory Laycock <[email protected]>
100116
- Dima Hutsuliak <[email protected]>
101117
- Ding Ye <[email protected]>
102118
- Dmitri Gribenko <[email protected]>
@@ -108,6 +124,7 @@ needs to be listed here.
108124
- Edan Lichtenstein <[email protected]>
109125
- Edward Huynh <[email protected]>
110126
- Edward Valentini <[email protected]>
127+
- Egor Zhdan <[email protected]>
111128
- Egor Zhdan <[email protected]>
112129
- Eli Geller <[email protected]>
113130
- Ellie Shin <[email protected]>
@@ -117,12 +134,16 @@ needs to be listed here.
117134
- Erik Eckstein <[email protected]>
118135
- Erwin Mazariegos <[email protected]>
119136
137+
- Euan Harris <[email protected]>
120138
- Eugene Tulushev <[email protected]>
139+
- Evan Wilde <[email protected]>
121140
- Example Example <[email protected]>
141+
- Fabian Cañas <[email protected]>
122142
- Federico Bucchi <[email protected]>
123143
- Federico Zanetello <[email protected]>
124144
- Florian Friedrich <[email protected]>
125145
- Florian Reinhart <[email protected]>
146+
- Franz Busch <[email protected]>
126147
- Gaushik M.R <[email protected]>
127148
- Gavin Eadie <[email protected]>
128149
- George <unknown>
@@ -140,6 +161,8 @@ needs to be listed here.
140161
- Ilya Kulakov <[email protected]>
141162
- Ismael Vilas Boas <[email protected]>
142163
- Itai Ferber <[email protected]>
164+
- Iulian Onofrei <[email protected]>
165+
- IxhenHasaniQM <[email protected]>
143166
- J. Cheyo Jimenez <[email protected]>
144167
- J.D. Healy <[email protected]>
145168
- JP Simard <[email protected]>
@@ -169,8 +192,10 @@ needs to be listed here.
169192
- John Holdsworth <[email protected]>
170193
- John McCall <[email protected]>
171194
- Jonas Schwartz <[email protected]>
195+
- Jonathan Grynspan <[email protected]>
172196
- Jordan Rose <[email protected]>
173197
- Jose Marcelino <[email protected]>
198+
- Joseph Heck <[email protected]>
174199
- Josh Parnham <[email protected]>
175200
- Joshua Emmons <[email protected]>
176201
- Joshua Peek <[email protected]>
@@ -190,28 +215,35 @@ needs to be listed here.
190215
- Kohki Miki <[email protected]>
191216
- Kostiantyn Koval <[email protected]>
192217
218+
193219
- Kyle Jessup <[email protected]>
194220
- Kyle Rokita <[email protected]>
195221
- Lei Zhang <[email protected]>
196222
- Lev Walkin <[email protected]>
197223
- Lily Vulcano <[email protected]>
198224
- Ling Wang <[email protected]>
225+
- Liu Liu <[email protected]>
199226
- Lukas Stabe <[email protected]>
200227
- Luke Lau <[email protected]>
201228
- MIZUNO Hiroki <[email protected]>
202229
- Marcin Iwanicki <[email protected]>
203230
- Marcin Krzyzanowski <[email protected]>
231+
- Marco Eidinger <[email protected]>
232+
- Marin Todorov <[email protected]>
204233
- Mark Brownsword <[email protected]>
205234
- Mark Lacey <[email protected]>
206235
- Martin Waitz <[email protected]>
207236
- Matt Diephouse <[email protected]>
237+
- Matt Seaman <[email protected]>
208238
- Matthew Seaman <[email protected]>
209239
- Matthias Bartelmeß <[email protected]>
210240
- Mattt Thompson <[email protected]>
241+
- Max Desiatov <[email protected]>
211242
- Max Desiatov <[email protected]>
212243
- Max Howell <[email protected]>
213244
- Max Liberman <[email protected]>
214245
- Max Moiseev <[email protected]>
246+
- Max Obermeier <[email protected]>
215247
- Michael Gottesman <[email protected]>
216248
- Michael Henson <[email protected]>
217249
- Michael Ilseman <[email protected]>
@@ -229,14 +261,17 @@ needs to be listed here.
229261
- Nate Cook <[email protected]>
230262
- Nathan Hawes <[email protected]>
231263
- Nathan Lanza <[email protected]>
264+
- Natik Gadzhi <[email protected]>
232265
- Neil Jones <[email protected]>
233266
- Nicholas Maccharoli <[email protected]>
267+
- Nick Cooke <[email protected]>
234268
- Nikola Lajic <[email protected]>
235269
- Noah Gilmore <[email protected]>
236270
- NobodyNada <[email protected]>
237271
- Norio Nomura <[email protected]>
238272
- Noé Froidevaux <[email protected]>
239273
- Oliver Chick <[email protected]>
274+
- Oliver Epper <[email protected]>
240275
241276
- Ostap Taran <[email protected]>
242277
- Owen Voorhees <[email protected]>
@@ -256,12 +291,14 @@ needs to be listed here.
256291
- Quinn McHenry <[email protected]>
257292
- Rahul Malik <[email protected]>
258293
- Randy Becker <[email protected]>
294+
- Rauhul Varma <[email protected]>
259295
- Renzo Crisóstomo <[email protected]>
260296
- Rich Ellis <[email protected]>
261297
- Rick Ballard <[email protected]>
262298
- Rintaro Ishizaki <[email protected]>
263299
- Ritwik Gupta <[email protected]>
264300
- Robert Widmann <[email protected]>
301+
- Romain Pouclet <[email protected]>
265302
- Roman Levenstein <[email protected]>
266303
- Ron Baker <[email protected]>
267304
- Ron Olson <[email protected]>
@@ -270,10 +307,12 @@ needs to be listed here.
270307
- Ryan Lovelett <[email protected]>
271308
- Ryan Wilson <[email protected]>
272309
- Ryosuke Hayashi <[email protected]>
310+
- Saleem Abdulrasool <[email protected]>
273311
- Saleem Abdulrasool <[email protected]>
274312
- Samuel Giddins <[email protected]>
275313
- Sebastian Grail <[email protected]>
276314
- Sergio Campamá <[email protected]>
315+
- Sheikh Bayazid <[email protected]>
277316
- Slava Pestov <[email protected]>
278317
- Stan Stadelman <[email protected]>
279318
- Stephen Brown <[email protected]>
@@ -296,6 +335,7 @@ needs to be listed here.
296335
- Tim Condon <[email protected]>
297336
- Tim Gymnich <[email protected]>
298337
- Tobias Landsberg <[email protected]>
338+
- Tokuriku <[email protected]>
299339
- Tom Doron <[email protected]>
300340
- Tomasz Bąk <[email protected]>
301341
- Tomoya Kose <[email protected]>
@@ -322,21 +362,26 @@ needs to be listed here.
322362
- Wojtek Czekalski <[email protected]>
323363
- Wowbagger & his liquid lunch <[email protected]>
324364
- Xavier Matos <[email protected]>
365+
- Xiaodi Wu <[email protected]>
325366
- Xiaodi Wu <[email protected]>
326367
- Xing He <[email protected]>
327368
369+
- YOUNG MO SONG <[email protected]>
328370
- YR Chen <[email protected]>
329371
330372
- Yannick Heinrich <[email protected]>
331373
- Yim Lee <[email protected]>
332374
- Yonas Kolb <[email protected]>
375+
- Yoshimasa Niwa <[email protected]>
333376
334377
335378
336379
- Yuta Koshizawa <[email protected]>
337380
- Yuta Saito <[email protected]>
381+
- Zsolt Kiraly <[email protected]>
338382
- adamnemecek <[email protected]>
339383
384+
- akashhansda <[email protected]>
340385
- aniket sharma <[email protected]>
341386
342387
- buttaface <[email protected]>
@@ -354,8 +399,10 @@ needs to be listed here.
354399
- hotchemi <[email protected]>
355400
- jhonnybillm <[email protected]>
356401
- jp_pancake <[email protected]>
402+
- k-kohey <[email protected]>
357403
- linqingmo <[email protected]>
358404
405+
- nate-chandler <[email protected]>
359406
- nathan spindel <[email protected]>
360407
- nonsensery <[email protected]>
361408
- onevcat <[email protected]>
@@ -369,7 +416,6 @@ needs to be listed here.
369416
- swiftix <[email protected]>
370417
- t_hayashi <[email protected]>
371418
372-
- therealbnut <[email protected]>
373419
- twobitunicorn <[email protected]>
374420
375421
- yonihemi <[email protected]>
@@ -378,6 +424,7 @@ needs to be listed here.
378424
- ✪ vi4m Marcin Kliks <[email protected]>
379425
- 冀卓疌 <[email protected]>
380426

427+
381428
**Updating this list**
382429

383430
Please do not edit this file manually. It is generated using `./Utilities/generate_contributors_list.sh`. If a name is misspelled or appearing multiple times: add an entry in `./.mailmap`

Utilities/generate_contributors_list.sh

+14-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,20 @@
1313

1414
set -eu
1515
here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
16-
contributors=$( cd "$here"/.. && git shortlog -es | cut -f2 | sed 's/^/- /' )
16+
contributor_list=$( cd "$here"/.. && git shortlog -es | cut -f2 )
17+
filtered_hashes=$( cat "$here/../.mailfilter" | grep -E '^[a-z0-9]+$' | sort )
18+
19+
NL=$'\n'
20+
21+
contributors=''
22+
while IFS= read -r line; do
23+
hashed="$(echo -n "$line" | shasum | head -c 40)"
24+
found_hash=$(comm -12 <(echo "$hashed") <(echo "$filtered_hashes"))
25+
if [ ! -z "$found_hash" ]; then
26+
continue
27+
fi
28+
contributors="${contributors}- $line$NL"
29+
done <<< "$contributor_list"
1730

1831
cat > "$here/../CONTRIBUTORS.txt" <<- EOF
1932
For the purpose of tracking copyright, this is the list of individuals and
@@ -30,7 +43,6 @@ cat > "$here/../CONTRIBUTORS.txt" <<- EOF
3043
### Contributors
3144
3245
$contributors
33-
3446
**Updating this list**
3547
3648
Please do not edit this file manually. It is generated using \`./Utilities/generate_contributors_list.sh\`. If a name is misspelled or appearing multiple times: add an entry in \`./.mailmap\`

0 commit comments

Comments
 (0)