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

authors.sh « tools - github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 035af1bb2e35400e330533d309dab81671d2b610 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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 /<.*\@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