mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 02:46:29 +00:00
24 lines
617 B
Bash
Executable File
24 lines
617 B
Bash
Executable File
#!/bin/sh
|
|
# Update AUTHORS.md based on git history.
|
|
|
|
git log --reverse --format='%aN (%aE)' | perl -we '
|
|
BEGIN {
|
|
%seen = (), @authors = ();
|
|
}
|
|
while (<>) {
|
|
next if $seen{$_};
|
|
next if /(support\@greenkeeper.io)/;
|
|
next if /(yoann\@atacma.agency)/;
|
|
next if /(yciabaud\@users.noreply.github.com)/;
|
|
next if /(DiegoRBaquero\@users.noreply.github.com)/;
|
|
next if /(gustavcaplan\@gmail.com)/;
|
|
$seen{$_} = push @authors, "- ", $_;
|
|
}
|
|
END {
|
|
print "# Authors\n\n";
|
|
print "#### Ordered by first contribution.\n\n";
|
|
print @authors, "\n";
|
|
print "#### Generated by tools/update-authors.sh.\n";
|
|
}
|
|
' > AUTHORS.md
|