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

doc: make tools/update-authors.sh cross-platform #1121

Merged
merged 1 commit into from
Mar 11, 2015
Merged
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
9 changes: 9 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -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]>
Expand Down Expand Up @@ -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]>
Expand All @@ -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]>
Expand All @@ -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]>
Expand Down
11 changes: 8 additions & 3 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -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]>
Expand Down Expand Up @@ -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]>
Expand Down Expand Up @@ -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]>
Expand Down Expand Up @@ -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]>
Copy link
Member Author

Choose a reason for hiding this comment

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

I couldn't find real names for these two. :-/

Copy link
Member

Choose a reason for hiding this comment

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

ping @bnb, got a name you want listed in AUTHORS?

Michael Dawson <[email protected]>
Ruben Verborgh <[email protected]>
Ken Perkins <[email protected]>
Malte-Thorben Bruns <[email protected]>

# Generated by tools/update-authors.sh
25 changes: 10 additions & 15 deletions tools/update-authors.sh
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