@@ -1,22 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
##
|
||||
## This script will auto-generate the AUTHORS attribution file.
|
||||
## If your name does not display correctly, then please
|
||||
## update the .mailmap file in the root repo directory
|
||||
##
|
||||
|
||||
git log --reverse --format='%aN <%aE>' | perl -we '
|
||||
|
||||
BEGIN {
|
||||
%seen = (), @authors = ();
|
||||
}
|
||||
|
||||
## must manually add Lew first, since he generated the code prior to CVS
|
||||
push @authors, "Lew Rossman <LRossman\@cinci.rr.com>\n";
|
||||
|
||||
while (<>) {
|
||||
next if $seen{$_};
|
||||
next if /\@chromium.org/;
|
||||
next if /<erik.corry\@gmail.com>/;
|
||||
next if /orquina.jessica\@epa.gov/; ## this individual never authored code; just init-ed the repo
|
||||
$seen{$_} = push @authors, $_;
|
||||
}
|
||||
|
||||
END {
|
||||
print "# Authors ordered by first contribution.\n";
|
||||
print "\n", @authors, "\n";
|
||||
print "# Generated by tools/update-authors.sh\n";
|
||||
print "\n", @authors;
|
||||
|
||||
}
|
||||
|
||||
' > ../AUTHORS
|
||||
Reference in New Issue
Block a user