Skip to content

Commit dd69dc6

Browse files
committed
Add AUTHORS.md
Give contributors credit!
1 parent 4595824 commit dd69dc6

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

AUTHORS.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Authors
2+
3+
#### Ordered by first contribution.
4+
5+
- Feross Aboukhadijeh <[email protected]>
6+
- Mathias Buus <[email protected]>
7+
- thermatk <[email protected]>
8+
- fisch0920 <[email protected]>
9+
- Aliaksei Sapach <[email protected]>
10+
- John Hiesey <[email protected]>
11+
- hicom150 <[email protected]>
12+
13+
14+
- Anthony MOI <[email protected]>
15+
- Max Ogden <[email protected]>
16+
- Sidd Sridharan <[email protected]>
17+
- Nick Rafter <[email protected]>
18+
- zckevin <[email protected]>
19+
- Michael Williams <[email protected]>
20+
- Garret Buell <[email protected]>
21+
- Linus Unnebäck <[email protected]>
22+
- Aram Drevekenin <[email protected]>
23+
- Gustavo Rodrigues <[email protected]>
24+
25+
- Harsh Vakharia <[email protected]>
26+
- Yoann Ciabaud <[email protected]>
27+
- Diego Rodríguez Baquero <[email protected]>
28+
29+
30+
#### Generated by bin/update-authors.sh.

bin/update-authors.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/sh
2+
# Update AUTHORS.md based on git history.
3+
4+
git log --reverse --format='%aN <%aE>' | perl -we '
5+
BEGIN {
6+
%seen = (), @authors = ();
7+
}
8+
while (<>) {
9+
next if $seen{$_};
10+
next if /<support\@greenkeeper.io>/;
11+
next if /<yoann\@atacma.agency>/;
12+
next if /<yciabaud\@users.noreply.github.com>/;
13+
$seen{$_} = push @authors, "- ", $_;
14+
}
15+
END {
16+
print "# Authors\n\n";
17+
print "#### Ordered by first contribution.\n\n";
18+
print @authors, "\n";
19+
print "#### Generated by bin/update-authors.sh.\n";
20+
}
21+
' > AUTHORS.md

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"url": "git://github.com/feross/bittorrent-tracker.git"
6565
},
6666
"scripts": {
67+
"update-authors": "./bin/update-authors.sh",
6768
"test": "standard && tape test/*.js"
6869
}
6970
}

0 commit comments

Comments
 (0)