-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: make tools/update-authors.sh cross-platform
And by cross-platform I mean Linux and OS X. The awk script is not compatible with BSD awk, that's why this commit changes it to perl. Update the .mailmap to remove some duplicates and regenerate the AUTHORS file. Fixes: #1120 PR-URL: #1121 Reviewed-By: Rod Vagg <[email protected]>
- Loading branch information
1 parent
8453fbc
commit d33a647
Showing
3 changed files
with
27 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ Brandon Benvie <[email protected]> <[email protected]> | |
Brian White <[email protected]> | ||
Brian White <[email protected]> <[email protected]> | ||
Chew Choon Keat <[email protected]> | ||
Colin Ihrig <[email protected]> | ||
Christopher Lenz <[email protected]> <[email protected]> | ||
Daniel Berger <[email protected]> | ||
Daniel Chcouri <[email protected]> | ||
|
@@ -76,16 +77,20 @@ Mathias Pettersson <[email protected]> | |
Michael Bernstein <[email protected]> | ||
Michael Wilber <[email protected]> | ||
Micheil Smith <[email protected]> <[email protected]> | ||
Micleusanu Nicu <[email protected]> | ||
Mikael Bourges-Sevenier <[email protected]> <[email protected]> | ||
Miroslav Bajtoš <[email protected]> <[email protected]> | ||
Mitar Milutinovic <[email protected]> | ||
Nebu Pookins<[email protected]> | ||
Nicholas Kinsey <[email protected]> | ||
Nikolai Vavilov <[email protected]> | ||
Onne Gorter <[email protected]> | ||
Paul Querna <[email protected]> <[email protected]> | ||
Ray Morgan <[email protected]> | ||
Ray Solomon <[email protected]> | ||
Raymond Feng <[email protected]> <[email protected]> | ||
Rick Olson <[email protected]> | ||
Roman Reiss <[email protected]> | ||
Ryan Dahl <[email protected]> | ||
Ryan Emery <[email protected]> | ||
Sam Shull <[email protected]> <[email protected]> | ||
|
@@ -101,6 +106,7 @@ Siddharth Mahendraker <[email protected]> <[email protected]> | |
Simon Willison <[email protected]> | ||
Stanislav Opichal <[email protected]> | ||
Stefan Bühler <[email protected]> | ||
Steven R. Loomis <[email protected]> | ||
TJ Holowaychuk <[email protected]> | ||
TJ Holowaychuk <[email protected]> <[email protected]> | ||
Tadashi SAWADA <[email protected]> | ||
|
@@ -117,6 +123,9 @@ Trevor Burnham <[email protected]> <[email protected]> | |
Tyler Larson <[email protected]> | ||
Vincent Voyer <[email protected]> | ||
Willi Eggeling <[email protected]> | ||
Yazhong Liu <[email protected]> Yazhong Liu <[email protected]> | ||
Yazhong Liu <[email protected]> Yorkie <[email protected]> | ||
Yazhong Liu <[email protected]> Yorkie <[email protected]> | ||
Yoshihiro KIKUCHI <[email protected]> | ||
Yuichiro MASUI <[email protected]> | ||
Zachary Scott <[email protected]> <[email protected]> | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -444,7 +444,7 @@ Ryan Graham <[email protected]> | |
Kelly Gerber <[email protected]> | ||
Ryan Doenges <[email protected]> | ||
Sean Silva <[email protected]> | ||
Miroslav Bajtoš <miro.bajtos@gmail.com> | ||
Miroslav Bajtoš <miroslav@strongloop.com> | ||
Olof Johansson <[email protected]> | ||
Sam Roberts <[email protected]> | ||
Kevin Locke <[email protected]> | ||
|
@@ -517,7 +517,6 @@ Cam Swords <[email protected]> | |
Paul Loyd <[email protected]> | ||
Benjamin Waters <[email protected]> | ||
Lev Gimelfarb <[email protected]> | ||
Yorkie <[email protected]> | ||
pflannery <[email protected]> | ||
Tuğrul Topuz <[email protected]> | ||
Lorenz Leutgeb <[email protected]> | ||
|
@@ -655,7 +654,7 @@ Evan Torrie <[email protected]> | |
Juanjo <[email protected]> | ||
brian m. carlson <[email protected]> | ||
Kevin O'Hara <[email protected]> | ||
micnic <[email protected]> | ||
Micleusanu Nicu <[email protected]> | ||
Alejandro Oviedo <[email protected]> | ||
Ben Burns <[email protected]> | ||
Julian Duque <[email protected]> | ||
|
@@ -723,5 +722,11 @@ Ryan Scheel <[email protected]> | |
Benjamin Gruenbaum <[email protected]> | ||
Pavel Medvedev <[email protected]> | ||
Russell Dempsey <[email protected]> | ||
&! (bitandbang) <[email protected]> | ||
h7lin <[email protected]> | ||
Michael Dawson <[email protected]> | ||
Ruben Verborgh <[email protected]> | ||
Ken Perkins <[email protected]> | ||
Malte-Thorben Bruns <[email protected]> | ||
|
||
# Generated by tools/update-authors.sh |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,22 @@ | ||
#!/bin/sh | ||
|
||
git log --reverse --format='%aN <%aE>' | awk ' | ||
git log --reverse --format='%aN <%aE>' | perl -we ' | ||
BEGIN { | ||
print "# Authors ordered by first contribution.\n"; | ||
# explicit excludes | ||
excludes["<[email protected]>"] = 1 # chromium team | ||
%seen = (), @authors = (); | ||
} | ||
{ | ||
if ($NF !~ /@chromium.org/ && all[$NF] != 1 && excludes[$NF] != 1) { | ||
all[$NF] = 1; | ||
ordered[length(all)] = $0; | ||
} | ||
while (<>) { | ||
next if $seen{$_}; | ||
next if /\@chromium.org/; | ||
next if /<erik.corry\@gmail.com>/; | ||
$seen{$_} = push @authors, $_; | ||
} | ||
END { | ||
for (i in ordered) { | ||
print ordered[i]; | ||
} | ||
print "\n# Generated by tools/update-authors.sh"; | ||
print "# Authors ordered by first contribution.\n"; | ||
print "\n", @authors, "\n"; | ||
print "# Generated by tools/update-authors.sh\n"; | ||
} | ||
' > AUTHORS |