From 2808256eb4b370267d2bea39f48239a0b7d214e0 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 1 Feb 2021 22:25:37 +0000 Subject: [PATCH] Update authors list, use .mailmap file Use a git standard .mailmap file for removing duplicates and choosing which names to use for authors that used different display names on different commits. This means `git log` and `git show` naturally pick it up, as well as summary commands like `git shortlog -s` and `git shortlog -sn`, and various GUIs for Git. I've also added -f to the sort command as it appeared to (mostly) be sorted case-insensitively already. Without this option, running the script resulted in all lowercase names being moved to the end of the list (tried both macOS/BSD's default sort, and the one from gnu-coreutils). I'm guessing the previous run was done on a machine with a different implementation or override present that uses some kind of hybrid by default. --- .mailmap | 4 ++++ AUTHORS | 9 ++++++--- bin/update_authors.sh | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 .mailmap diff --git a/.mailmap b/.mailmap new file mode 100644 index 000000000..c3319aa46 --- /dev/null +++ b/.mailmap @@ -0,0 +1,4 @@ +Adrian Heine +Alistair Braidwood +Forbes Lindesay +Rich Harris diff --git a/AUTHORS b/AUTHORS index 5743ada49..4cd58982f 100644 --- a/AUTHORS +++ b/AUTHORS @@ -41,7 +41,9 @@ Joel Kemp Johannes Herr John-David Dalton Jordan Gensler +Jordan Harband Jordan Klassen +Julian Wyzykowski Jürg Lehni Kai Cataldo keeyipchan @@ -75,11 +77,11 @@ piotr PlNG Praveen N Prayag Verma -ReadmeCritic r-e-d +ReadmeCritic Renée Kooi -Richard Gibson Rich Harris +Richard Gibson Sebastian McKenzie Shahar Soel Sheel Bedi @@ -87,8 +89,8 @@ Simen Bekkhus susiwen susiwen8 Teddy Katz -Timothy Gu Tim van der Lippe +Timothy Gu Tony Ross Toru Nagashima tuesmiddt @@ -96,4 +98,5 @@ Victor Homyakov Vladislav Tupikin Wexpo Lyu zsjforcn +星灵 龙腾道 diff --git a/bin/update_authors.sh b/bin/update_authors.sh index 7533226d7..92fa1461b 100755 --- a/bin/update_authors.sh +++ b/bin/update_authors.sh @@ -1,3 +1,3 @@ echo "List of Acorn contributors. Updated before every release." > AUTHORS echo >> AUTHORS -git log --format='%aN' | grep -v 'Adrian Heine né Lang' | grep -v abraidwood | grep -v Rich-Harris | grep -v ForbesLindesay | sort -u >> AUTHORS +git log --format='%aN' | sort -uf >> AUTHORS