Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2016-03-09 00:42:06 +0300
committerFeross Aboukhadijeh <feross@feross.org>2016-03-09 00:42:06 +0300
commit8d153285992e19e8d77f09eb7109bf1abc4c0d84 (patch)
tree1d7d0287d1ecd5fccf6b89a56d8889497df2305d /bin
parent5642a872bc4b27a5c37c164858853cec26ac96e6 (diff)
parent0be199d431e72d7d37cf9596a205917730c22fe7 (diff)
Merge pull request #660 from feross/authors
New contributor guidelines; Add AUTHORS.md
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-authors.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/bin/update-authors.sh b/bin/update-authors.sh
new file mode 100755
index 0000000..2b7fd79
--- /dev/null
+++ b/bin/update-authors.sh
@@ -0,0 +1,22 @@
+#!/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 /<badger\@gitter.im>/;
+ next if /<y.ciabaud\@free.fr>/;
+ next if /<.*\@users.noreply.github.com>/;
+ $seen{$_} = push @authors, "- ", $_;
+}
+END {
+ print "# Authors\n\n";
+ print "#### Ordered by first contribution.\n\n";
+ print @authors, "\n";
+ print "#### Generated by tools/authors.sh.\n\n";
+}
+' > AUTHORS.md