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

tools,doc: update authors script + list #22771

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ Gabriel de Perthuis <[email protected]>
Gareth Ellis <[email protected]> <[email protected]>
Garwah Lam <[email protected]>
Geoffrey Bugaisky <[email protected]> gbugaisky <[email protected]>
Gerhard Stoebich <[email protected]>
Gibson Fahnestock <[email protected]> <[email protected]>
Gil Pedersen <[email protected]> <[email protected]>
Graham Fairweather <[email protected]> Xotic750 <xotic750@gmail>
Expand Down Expand Up @@ -204,6 +205,7 @@ Jérémy Lal <[email protected]> <[email protected]>
Juan Sebastian Velez Posada <[email protected]>
Kai Sasaki Lewuathe <[email protected]>
Karl Skomski <[email protected]> <[email protected]>
Kat Marchán <[email protected]> <[email protected]>
Copy link
Member Author

Choose a reason for hiding this comment

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

@zkat Can you confirm that this is your preferred email now? :)

Kathy Truong <[email protected]> k3kathy <[email protected]>
Kazuyuki Yamada <[email protected]>
Keith M Wesolowski <[email protected]> <[email protected]>
Expand Down Expand Up @@ -237,6 +239,7 @@ Matheus Marchini <[email protected]> <[email protected]>
Matheus Marchini <[email protected]> <[email protected]>
Matt Lang <[email protected]> matt-in-a-hat <[email protected]>
Matt Reed <[email protected]> matthewreed26 <[email protected]>
Matteo Collina <[email protected]> <[email protected]>
addaleax marked this conversation as resolved.
Show resolved Hide resolved
Matthias Bastian <[email protected]> piepmatz <[email protected]>
Mathias Buus <[email protected]> <[email protected]>
Mathias Pettersson <[email protected]>
Expand Down Expand Up @@ -363,6 +366,7 @@ Tadashi SAWADA <[email protected]>
Takahiro ANDO <[email protected]>
Tarun Batra <[email protected]> Tarun <[email protected]>
Ted Young <[email protected]>
Teppei Sato <[email protected]>
Thomas Hunter II <[email protected]> <[email protected]>
Thomas Lee <[email protected]> <[email protected]>
Thomas Reggi <[email protected]>
Expand Down Expand Up @@ -390,7 +394,8 @@ Vladimir de Turckheim <[email protected]>
vsemozhetbyt <[email protected]> Vse Mozhet Byt <[email protected]>
Wang Xinyong <[email protected]> <[email protected]>
Weijia Wang <[email protected]>
Weijia Wang <[email protected]> starkewang <[email protected]>
Weijia Wang <[email protected]> <[email protected]>
Weijia Wang <[email protected]> <[email protected]>
Wei-Wei Wu <[email protected]>
Willi Eggeling <[email protected]>
Will Hayslett <[email protected]>
Expand Down
107 changes: 94 additions & 13 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ Micleusanu Nicu <[email protected]>
Alejandro Oviedo Garcia <[email protected]>
Ben Burns <[email protected]>
Julian Duque <[email protected]>
teppeis <[email protected]>
Teppei Sato <[email protected]>
Rudi Cilibrasi <[email protected]>
Tim Ruffles <[email protected]>
CGavrila <[email protected]>
Expand Down Expand Up @@ -754,14 +754,14 @@ Felipe Batista <[email protected]>
Rebecca Turner <[email protected]>
Tyler Anton <[email protected]>
João Reis <[email protected]>
Kat Marchán <kzm@sykosomatic.org>
Kat Marchán <kzm@zkat.tech>
Ryan Petschek <[email protected]>
Pierre Inglebert <[email protected]>
Ivan Yan <[email protected]>
Sangmin Yoon <[email protected]>
Mark Plomer <[email protected]>
Phillip Johnsen <[email protected]>
Matteo Collina <hello@matteocollina.com>
Matteo Collina <matteo.collina@gmail.com>
jomo <[email protected]>
Gireesh Punathil <[email protected]>
Lucien Greathouse <[email protected]>
Expand Down Expand Up @@ -1432,23 +1432,25 @@ Ahmad Nassri <[email protected]>
Tom Atkinson <[email protected]>
Tobias Nießen <[email protected]>
Joseph Gentle <[email protected]>
Arunesh Chandra <[email protected]>
Gabriel Schulhof <[email protected]>
Ian Halliday <[email protected]>
Sampson Gao <[email protected]>
Taylor Woll <[email protected]>
Zero King <[email protected]>
Raphael Okon <[email protected]>
JR McEntee <[email protected]>
Lovell Fuller <[email protected]>
Jason Marsh <[email protected]>
Vinay Hiremath <[email protected]>
Gabriel Schulhof <[email protected]>
alejandro <[email protected]>
dave-k <[email protected]>
Steven <[email protected]>
Uppinder Chugh <[email protected]>
Karl Cheng <[email protected]>
Taylor Woll <[email protected]>
Tarun Batra <[email protected]>
Nao YONASHIRO <[email protected]>
Christopher Luke <[email protected]>
Sampson Gao <[email protected]>
John Paul Bamberg <[email protected]>
Cody Deckard <[email protected]>
Fabio Campinho <[email protected]>
Expand Down Expand Up @@ -1488,7 +1490,7 @@ Madara Uchiha <[email protected]>
Gil Tayar <[email protected]>
Glenn Schlereth <[email protected]>
Artur G Vieira <[email protected]>
Flarna <[email protected]>
Gerhard Stoebich <[email protected]>
Sreepurna Jasti <[email protected]>
Rafael Fragoso <[email protected]>
Andrei Cioromila <[email protected]>
Expand Down Expand Up @@ -1658,6 +1660,8 @@ Piotr Mionskowski <[email protected]>
Cyril Lakech <[email protected]>
Eduard Bondarenko <[email protected]>
Adina Shanholtz <[email protected]>
Guy Bedford <[email protected]>
Jan Krems <[email protected]>
Miguel Martins <[email protected]>
Yury Popov <[email protected]>
George Bezerra <[email protected]>
Expand All @@ -1670,7 +1674,6 @@ Alex Gresnel <[email protected]>
Will Young <[email protected]>
Martijn Schrage <[email protected]>
Halil İbrahim Şener <[email protected]>
Guy Bedford <[email protected]>
Antoine Amara <[email protected]>
Mani Maghsoudlou <[email protected]>
Bartek Szczepański <[email protected]>
Expand Down Expand Up @@ -1884,7 +1887,6 @@ Ashish Kaila <[email protected]>
c0b <[email protected]>
Damian <[email protected]>
Alec Perkins <[email protected]>
Teppei Sato <[email protected]>
Jinwoo Lee <[email protected]>
Peter Marton <[email protected]>
Erwin W. Ramadhan <[email protected]>
Expand Down Expand Up @@ -2154,9 +2156,7 @@ Nick Filatov <[email protected]>
Jesse Gorzinski <[email protected]>
Pieter Mees <[email protected]>
Malcolm White <[email protected]>
Gerhard Stoebich <[email protected]>
Matei Copot <[email protected]>
ikasumiwt <[email protected]>
Gurin, Sebastian <[email protected]>
Indranil Dasgupta <[email protected]>
Harry Sarson <[email protected]>
Expand Down Expand Up @@ -2187,7 +2187,6 @@ Kyle Martin <[email protected]>
Denis Fäcke <[email protected]>
Daylor Yanes <[email protected]>
Carrie Coxwell <[email protected]>
BeniCheni <[email protected]>
Masashi Hirano <[email protected]>
Brandon Ruggles <[email protected]>
Allen Yonghuang Wang <[email protected]>
Expand Down Expand Up @@ -2218,6 +2217,7 @@ Abhimanyu Vashisht <[email protected]>
Sagir Khan <[email protected]>
Kael Zhang <[email protected]>
Unknown <[email protected]>
Krzysztof Taborski <[email protected]>
Blaine Bublitz <[email protected]>
Shailesh Shekhawat <[email protected]>
Davis Okoth <[email protected]>
Expand All @@ -2236,5 +2236,86 @@ Shelley Vohr <[email protected]>
Deepjyoti Mondal <[email protected]>
Brett Kiefer <[email protected]>
Kevin Thomas <[email protected]>
ZaneHannanAU <[email protected]>
Fernando Doglio <[email protected]>
Renée Kooi <[email protected]>
Jo Colina <[email protected]>
itaysabato <[email protected]>
Victor Belozyorov <[email protected]>
Joonas Rouhiainen <[email protected]>
GauthamBanasandra <[email protected]>
Hugo Josefson <[email protected]>
Sam Ruby <[email protected]>
Haroon Khan <[email protected]>
Developer Davo <[email protected]>
Jacek Pospychała <[email protected]>
MaleDong <[email protected]>
iwko <[email protected]>
Sohail Rajdev <[email protected]>
Niicck <[email protected]>
Denys Otrishko <[email protected]>
Sergey Zelenov <[email protected]>
Travis Fischer <[email protected]>
Dominic Farolino <[email protected]>
Octavian Soldea <[email protected]>
XhmikosR <[email protected]>
AdityaSrivast <[email protected]>
Javier Gonzalez <[email protected]>
RidgeA <[email protected]>
Ryuichi Sakagami <[email protected]>
hectorcoronado <[email protected]>
Petras <[email protected]>
Kevin Lacabane <[email protected]>
Simionescu, Radu <[email protected]>
mariotsi <[email protected]>
prayag21 <[email protected]>
Bruno Pinho <[email protected]>
Anto Aravinth <[email protected]>
Helio Frota <[email protected]>
Tim Ruffles <[email protected]>
Jacob Page <[email protected]>
sagulati <[email protected]>
conectado <[email protected]>
Vitor Bruno de Oliveira Barth <[email protected]>
cclauss <[email protected]>
James Ide <[email protected]>
MaleDong <[email protected]>
bhavayAnand9 <[email protected]>
Brandon Lee <[email protected]>
Oryan Moshe <[email protected]>
Michael Sommer <[email protected]>
Eugene Y. Q. Shen <[email protected]>
Rishabh Singh <[email protected]>
Marco Levrero <[email protected]>
Ouyang Yadong <[email protected]>
yahavfuchs <[email protected]>
Thomas Leah <[email protected]>
Musa Hamwala <[email protected]>
James Bromwell <[email protected]>
Jeremy Apthorp <[email protected]>
Eugen Cazacu <[email protected]>
James Bromwell <[email protected]>
Csaba Palfi <[email protected]>
Ryan Petrich <[email protected]>
Andreas Girgensohn <[email protected]>
Caleb Sander <[email protected]>
Dzmitry_Prudnikau <[email protected]>
Ian McKellar <[email protected]>
Jennifer Bland <[email protected]>
Kyle Fuller <[email protected]>
ZYSzys <[email protected]>
Neeraj Laad <[email protected]>
Scott Van Gilder <[email protected]>
Yaniv Friedensohn <[email protected]>
Lars-Magnus Skog <[email protected]>
Lucas Woo <[email protected]>
Troels Liebe Bentsen <[email protected]>
pranshuchittora <[email protected]>
lakamsani <[email protected]>
Chris White <[email protected]>
Ben Newman <[email protected]>
Szymon Marczak <[email protected]>
Tessei Kameyama <[email protected]>
Chakravarthy S M <[email protected]>

# Generated by tools/update-authors.sh
# Generated by tools/update-authors.js
50 changes: 50 additions & 0 deletions tools/update-authors.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/usr/bin/env node
targos marked this conversation as resolved.
Show resolved Hide resolved
// Usage: tools/update-author.js [--dry]
// Passing --dry will redirect output to stdout rather than write to 'AUTHORS'.
'use strict';
const { spawn } = require('child_process');
const fs = require('fs');
const readline = require('readline');

const log = spawn(
'git',
// Inspect author name/email and body.
['log', '--reverse', '--format=Author: %aN <%aE>\n%b'], {
stdio: ['inherit', 'pipe', 'inherit']
});
const rl = readline.createInterface({ input: log.stdout });

let output;
if (process.argv.includes('--dry'))
output = process.stdout;
else
output = fs.createWriteStream('AUTHORS');

output.write('# Authors ordered by first contribution.\n\n');

const seen = new Set();

// Support regular git author metadata, as well as `Author:` and
// `Co-authored-by:` in the message body. Both have been used in the past
// to indicate multiple authors per commit, with the latter standardized
// by GitHub now.
const authorRe =
/(^Author:|^Co-authored-by:)\s+(?<author>[^<]+)\s+(?<email><[^>]+>)/i;
rl.on('line', (line) => {
const match = line.match(authorRe);
if (!match) return;

const { author, email } = match.groups;
if (seen.has(email) ||
/@chromium\.org/.test(email) ||
email === '<[email protected]>') {
return;
}

seen.add(email);
output.write(`${author} ${email}\n`);
});

rl.on('close', () => {
output.end('\n# Generated by tools/update-authors.js\n');
});
22 changes: 0 additions & 22 deletions tools/update-authors.sh

This file was deleted.