From c6688d8f89bd2ffc4a275b4a46ad3338c55f0e59 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 7 Dec 2014 09:16:52 +0100 Subject: [PATCH] Include ref#, show author nickname in release notes --- .mailmap | 1 + NICKS | 34 ++++++++++++++++++++++++++++++++++ changelog.sh | 2 +- 3 files changed, 36 insertions(+), 1 deletion(-) create mode 120000 .mailmap create mode 100644 NICKS diff --git a/.mailmap b/.mailmap new file mode 120000 index 000000000..060d08b1a --- /dev/null +++ b/.mailmap @@ -0,0 +1 @@ +NICKS \ No newline at end of file diff --git a/NICKS b/NICKS new file mode 100644 index 000000000..ebceb3787 --- /dev/null +++ b/NICKS @@ -0,0 +1,34 @@ +# This file maps email addresses used in commits to nicks used the changelog. + +AudriusButkevicius +KayoticSully +Nutomic +Vilbrekin +Zillode +alex2108 +andrew-d +asdil12 +bigbear2nd +bsidhom +calmh +cdata +ceh +cqcallaw +filoozoom +frioux +gillisig +jedie +jpjp +kozec +marcindziadus +mvdan +philips +piobpl +pluby +pyfisch +qbit +seehuhn +snnd +tojrobinson +uok +veeti diff --git a/changelog.sh b/changelog.sh index ba8214390..a26a076cd 100755 --- a/changelog.sh +++ b/changelog.sh @@ -5,5 +5,5 @@ if [[ -z $since ]] ; then since="$(git describe --abbrev=0 HEAD^).." fi -git log --pretty=format:'* %h %s (%an)' "$since" | grep '(fixes #' +git log --pretty=format:'* %s (%h, @%aN)' "$since" | egrep 'fixes #\d|ref #\d'