From 3a8e1640a9f08f3e117fae3ac370dc4688ad83ff Mon Sep 17 00:00:00 2001 From: Matt Traudt <sirmatt@ksu.edu> Date: Mon, 2 Apr 2018 14:49:43 -0400 Subject: [PATCH] Add AUTHORS.md and its update script --- AUTHORS.md | 7 +++++++ scripts/maint/update-authors | 20 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 AUTHORS.md create mode 100755 scripts/maint/update-authors diff --git a/AUTHORS.md b/AUTHORS.md new file mode 100644 index 00000000..548312ec --- /dev/null +++ b/AUTHORS.md @@ -0,0 +1,7 @@ +The following people have contributed to Simple Bandwidth Scanner. +Thank you for helping make Tor better. + +* Matt Traudt +* juga0 + +*Last updated: 2018-04-02 on 018aba9* diff --git a/scripts/maint/update-authors b/scripts/maint/update-authors new file mode 100755 index 00000000..3a3116d3 --- /dev/null +++ b/scripts/maint/update-authors @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# Add <%aE> to the format string to get emails too +AUTHORS=$(git log --format='%aN' | sort -u | + while read LINE + do + printf "* $LINE\n" + done +) +DATE=$(date +%Y-%m-%d) +COMMIT=$(git log -n 1 --format='%h') + +cat << EOF +The following people have contributed to Simple Bandwidth Scanner. +Thank you for helping make Tor better. + +$AUTHORS + +*Last updated: $DATE on $COMMIT* +EOF -- GitLab