Skip to content

Commit

Permalink
AUTHORS: auto-generate from commit log
Browse files Browse the repository at this point in the history
I tend to forget to update the AUTHORS file with new contributors. Let's
automate it and extract the contributors from the commit log.

Manually mention people how have contributed in other ways (bug reports,
documentation etc.) or how had commits in the previousl, no longer
existing repository.

Script based on
https://github.com/cilium/cilium/blob/master/contrib/scripts/extract_authors.sh

Signed-off-by: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser committed Dec 10, 2018
1 parent da2b31c commit 79608cd
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 32 deletions.
36 changes: 36 additions & 0 deletions .authors.aux
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
The following people have provided helpful bug reports, suggestions or have
otherwise provided valuable contributions to the project:

* Christoph Jaeger <[email protected]>
* Dan Horák <[email protected]>
* Dennis Gilmore <[email protected]>
* Doug Burks <[email protected]>
* Emmanuel Roullit <[email protected]>
* Herbert Haas <[email protected]>
* Jim Binder <[email protected]>
* Markus Kötter <[email protected]>
* Ronald W. Henderson <[email protected]>
* Scott Moeller <[email protected]>
* Sibir Chakraborty <[email protected]>
* Stefan Seering <[email protected]>
* Ulrich Weber <[email protected]>

Special thanks to some of our sponsors:

* Deutsche Flugsicherung GmbH
* ETH Zurich, Communications Systems Group
* Max Planck Institute for Human Cognitive and Brain Sciences
* Team Cymru

Notes:

Note that we have taken over the maintenance and further development of Herbert
Haas' mausezahn [ˈmauzəˌtsa:n] utility after he passed away in 2011. There were
no Git commit statistics available from the import of his project. The project
is currently in a staging area, but will be fully integrated soon. (*)

Want to join the core team? Submit enough great patches over a long time,
implement what's on the TODO file and show an ongoing, active interest in
supporting netsniff-ng. What's in it for you? If you ever come to Switzerland,
you get a free beer on Daniel and you can meet some great people involved in
this project. ;)
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
.\#*
.*.sw[a-z]
*.un~

# Hidden files, general things
.*
*~

# Compiled object files
Expand Down
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Jonn Schipp <[email protected]>
54 changes: 25 additions & 29 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,41 +1,26 @@
Maintainers:
The following people, in alphabetical order, have authored
commits in the netsniff-ng repository:

* Tobias Klauser <[email protected]>
* Daniel Borkmann <[email protected]>

Former maintainer:

* Emmanuel Roullit <[email protected]>

Contributors:

* Arch3y <[email protected]>
* arch3y <[email protected]>
* Baruch Siach <[email protected]>
* Christian Wiese <[email protected]>
* Christoph Jaeger <[email protected]>
* Dan Horák <[email protected]>
* Daniel Borkmann <[email protected]>
* Daniel Roberson <[email protected]>
* Dennis Gilmore <[email protected]>
* Doug Burks <[email protected]>
* Emmanuel Roullit <[email protected]>
* Eric Dumazet <[email protected]>
* Erik Bengtsson <[email protected]>
* Herbert Haas <[email protected]>*
* Hideo Hattori <[email protected]>
* Hisao Tanabe <[email protected]>
* James McCoy <[email protected]>
* Jaroslav Škarvada <[email protected]>
* Jesper Dangaard Brouer <[email protected]>
* Jim Binder <[email protected]>
* Jon Schipp <[email protected]>
* Kartik Mistry <[email protected]>
* Ken Wu <[email protected]>
* Jia Zhouyang <[email protected]>
* Jonn Schipp <[email protected]>
* Kartik Mistry <[email protected]>
* Ken-ichirou MATSUZAWA <[email protected]>
* Ken Wu <[email protected]>
* Mandar Gokhale <[email protected]>
* Mark Latimer <[email protected]>
* Markus Amend <[email protected]>
* Markus Kötter <[email protected]>
* Markus Amend <[email protected]>
* Martin Hauke <[email protected]>
* Matteo Croce <[email protected]>
* Michał Purzyński <[email protected]>
Expand All @@ -46,22 +31,33 @@ Contributors:
* Petr Machata <[email protected]>
* Radoslav Bodo <[email protected]>
* Reiner Herrmann <[email protected]>
* Ronald W. Henderson <[email protected]>
* Scott Moeller <[email protected]>
* Sibir Chakraborty <[email protected]>
* Stefan Seering <[email protected]>
* Stephen Wadeley <[email protected]>
* Teguh <[email protected]>
* Thomas Fleischmann <[email protected]>
* Tillmann Karras <[email protected]>
* Tobias Geerinckx-Rice <[email protected]>
* Tobias Klauser <[email protected]>
* Tommy Beadle <[email protected]>
* Ulrich Weber <[email protected]>
* Vadim Kochan <[email protected]>
* Whang Choi <[email protected]>
* wilson <[email protected]>
* Yousong Zhou <[email protected]>
* Zhouyang Jia <[email protected]>
The following people have provided helpful bug reports, suggestions or have
otherwise provided valuable contributions to the project:

* Christoph Jaeger <[email protected]>
* Dan Horák <[email protected]>
* Dennis Gilmore <[email protected]>
* Doug Burks <[email protected]>
* Emmanuel Roullit <[email protected]>
* Herbert Haas <[email protected]>
* Jim Binder <[email protected]>
* Markus Kötter <[email protected]>
* Ronald W. Henderson <[email protected]>
* Scott Moeller <[email protected]>
* Sibir Chakraborty <[email protected]>
* Stefan Seering <[email protected]>
* Ulrich Weber <[email protected]>

Special thanks to some of our sponsors:

Expand Down
7 changes: 7 additions & 0 deletions Misc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ people:
log:
$(GIT_LOG)

authors:
$(Q)echo "The following people, in alphabetical order, have authored" > AUTHORS
$(Q)echo "commits in the netsniff-ng repository:" >> AUTHORS
$(Q)echo "" >> AUTHORS
$(Q)contrib/extract-authors.sh >> AUTHORS
$(Q)cat .authors.aux >> AUTHORS

announcement:
$(Q)echo -e " *** BLURB HERE (general bits, optional) ***\n\n---\n" > .MAIL_MSG
$(Q)echo -e "netsniff-ng $(VERSION_SHORT) ($(NAME)) has been released to the public.\n" >> .MAIL_MSG
Expand Down
16 changes: 16 additions & 0 deletions contrib/extract-authors.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

# Based on
# https://github.com/cilium/cilium/blob/master/contrib/scripts/extract_authors.sh

function extract_authors() {
authors=$(git shortlog --summary | awk '{$1=""; print $0}' | sed -e 's/^ //')
IFS=$'\n'
for i in $authors; do
name=$(git log --use-mailmap --author="$i" --format="%aN" | head -1)
mail=$(git log --use-mailmap --author="$i" --format="%aE" | head -1)
printf ' * %s <%s>\n' "$name" "$mail"
done
}

extract_authors | uniq | sort

0 comments on commit 79608cd

Please sign in to comment.