From 79608cdc169b5da7ddcfa70fd5faf1e1e399d2f7 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 10 Dec 2018 14:30:14 +0100 Subject: AUTHORS: auto-generate from commit log 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 --- .authors.aux | 36 +++++++++++++++++++++++++++++++ .gitignore | 3 --- .mailmap | 1 + AUTHORS | 54 +++++++++++++++++++++------------------------- Misc | 7 ++++++ contrib/extract-authors.sh | 16 ++++++++++++++ 6 files changed, 85 insertions(+), 32 deletions(-) create mode 100644 .authors.aux create mode 100644 .mailmap create mode 100755 contrib/extract-authors.sh diff --git a/.authors.aux b/.authors.aux new file mode 100644 index 0000000..b87636a --- /dev/null +++ b/.authors.aux @@ -0,0 +1,36 @@ +The following people have provided helpful bug reports, suggestions or have +otherwise provided valuable contributions to the project: + + * Christoph Jaeger + * Dan Horák + * Dennis Gilmore + * Doug Burks + * Emmanuel Roullit + * Herbert Haas + * Jim Binder + * Markus Kötter + * Ronald W. Henderson + * Scott Moeller + * Sibir Chakraborty + * Stefan Seering + * Ulrich Weber + +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. ;) diff --git a/.gitignore b/.gitignore index f369474..906d2af 100644 --- a/.gitignore +++ b/.gitignore @@ -5,9 +5,6 @@ .\#* .*.sw[a-z] *.un~ - -# Hidden files, general things -.* *~ # Compiled object files diff --git a/.mailmap b/.mailmap new file mode 100644 index 0000000..d2b4215 --- /dev/null +++ b/.mailmap @@ -0,0 +1 @@ +Jonn Schipp diff --git a/AUTHORS b/AUTHORS index c222857..ceafe66 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,41 +1,26 @@ -Maintainers: +The following people, in alphabetical order, have authored +commits in the netsniff-ng repository: - * Tobias Klauser - * Daniel Borkmann - -Former maintainer: - - * Emmanuel Roullit - -Contributors: - - * Arch3y + * arch3y * Baruch Siach * Christian Wiese - * Christoph Jaeger - * Dan Horák * Daniel Borkmann * Daniel Roberson - * Dennis Gilmore - * Doug Burks - * Emmanuel Roullit * Eric Dumazet * Erik Bengtsson - * Herbert Haas * * Hideo Hattori * Hisao Tanabe * James McCoy * Jaroslav Škarvada * Jesper Dangaard Brouer - * Jim Binder - * Jon Schipp - * Kartik Mistry - * Ken Wu + * Jia Zhouyang + * Jonn Schipp + * Kartik Mistry * Ken-ichirou MATSUZAWA + * Ken Wu * Mandar Gokhale * Mark Latimer - * Markus Amend - * Markus Kötter + * Markus Amend * Martin Hauke * Matteo Croce * Michał Purzyński @@ -46,22 +31,33 @@ Contributors: * Petr Machata * Radoslav Bodo * Reiner Herrmann - * Ronald W. Henderson - * Scott Moeller - * Sibir Chakraborty - * Stefan Seering * Stephen Wadeley * Teguh + * Thomas Fleischmann * Tillmann Karras * Tobias Geerinckx-Rice * Tobias Klauser * Tommy Beadle - * Ulrich Weber * Vadim Kochan * Whang Choi * wilson * Yousong Zhou - * Zhouyang Jia +The following people have provided helpful bug reports, suggestions or have +otherwise provided valuable contributions to the project: + + * Christoph Jaeger + * Dan Horák + * Dennis Gilmore + * Doug Burks + * Emmanuel Roullit + * Herbert Haas + * Jim Binder + * Markus Kötter + * Ronald W. Henderson + * Scott Moeller + * Sibir Chakraborty + * Stefan Seering + * Ulrich Weber Special thanks to some of our sponsors: diff --git a/Misc b/Misc index c65c26b..1bfaebd 100644 --- a/Misc +++ b/Misc @@ -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 diff --git a/contrib/extract-authors.sh b/contrib/extract-authors.sh new file mode 100755 index 0000000..486e906 --- /dev/null +++ b/contrib/extract-authors.sh @@ -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 -- cgit v1.2.3-54-g00ecf