adding authors listing tool and initial AUTHORS file

This commit is contained in:
Sam Hatchett
2015-09-15 10:45:51 -04:00
parent 72a9ce3026
commit c9839c0eb3
2 changed files with 46 additions and 0 deletions

22
tools/update-authors.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/sh
git log --reverse --format='%aN <%aE>' | perl -we '
BEGIN {
%seen = (), @authors = ();
}
while (<>) {
next if $seen{$_};
next if /\@chromium.org/;
next if /<erik.corry\@gmail.com>/;
$seen{$_} = push @authors, $_;
}
END {
print "# Authors ordered by first contribution.\n";
print "\n", @authors, "\n";
print "# Generated by tools/update-authors.sh\n";
}
' > ../AUTHORS