diff options
author | Rod Vagg <rod@vagg.org> | 2015-01-02 16:16:21 +1100 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-01-07 12:40:29 +1100 |
commit | 53ba494537259b18b346dc6150d6a100c557e08f (patch) | |
tree | 051372d18c3156a9ede2f6d06adc0070fbd4cd53 /tools | |
parent | 52e600a9c8655f578fae55d85e778b58d731201a (diff) | |
download | android-node-v8-53ba494537259b18b346dc6150d6a100c557e08f.tar.gz android-node-v8-53ba494537259b18b346dc6150d6a100c557e08f.tar.bz2 android-node-v8-53ba494537259b18b346dc6150d6a100c557e08f.zip |
doc: update AUTHORS, .mailmap, add authors tool
PR-URL: https://github.com/iojs/io.js/pull/232
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/update-authors.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/update-authors.sh b/tools/update-authors.sh new file mode 100755 index 0000000000..f0944889b2 --- /dev/null +++ b/tools/update-authors.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +git log --reverse --format='%aN <%aE>' | awk ' + +BEGIN { + print "# Authors ordered by first contribution.\n"; + + # explicit excludes + excludes["<erik.corry@gmail.com>"] = 1 # chromium team +} + +{ + if ($NF !~ /@chromium.org/ && all[$NF] != 1 && excludes[$NF] != 1) { + all[$NF] = 1; + ordered[length(all)] = $0; + } +} + +END { + for (i in ordered) { + print ordered[i]; + } + + print "\n# Generated by tools/update-authors.sh"; +} + +' > AUTHORS |