From 8a5c1cf1f0ee6e3ed7c12b37bb290c209321f21e Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Wed, 5 Feb 2020 11:45:47 +0100 Subject: contributors: Also include people who contributed to curl-www Closes #4884 --- scripts/contributors.sh | 14 +++++++++++++- scripts/contrithanks.sh | 15 ++++++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/contributors.sh b/scripts/contributors.sh index 0bb16ec00..6a6d34484 100755 --- a/scripts/contributors.sh +++ b/scripts/contributors.sh @@ -38,6 +38,11 @@ if test -z "$start"; then echo "Since $start:" fi +# We also include curl-www if possible. Override by setting CURLWWW +if [ -z "$CURLWWW" ] ; then + CURLWWW=../curl-www +fi + # filter out Author:, Commit: and *by: lines # cut off the email parts # split list of names at comma @@ -47,8 +52,15 @@ fi # only count names with a space (ie more than one word) # sort all unique names # awk them into RELEASE-NOTES format + ( -git log --pretty=full --use-mailmap $start..HEAD | \ + ( + git log --pretty=full --use-mailmap $start..HEAD + if [ -d "$CURLWWW" ] + then + git -C ../curl-www log --pretty=full --use-mailmap $start..HEAD + fi + ) | \ egrep -ai '(^Author|^Commit|by):' | \ cut -d: -f2- | \ cut '-d(' -f1 | \ diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh index da395aebf..44e461455 100755 --- a/scripts/contrithanks.sh +++ b/scripts/contrithanks.sh @@ -36,10 +36,23 @@ if test -z "$start"; then start=`git tag --sort=taggerdate | tail -1`; fi + +# We also include curl-www if possible. Override by setting CURLWWW +if [ -z "$CURLWWW" ] ; then + CURLWWW=../curl-www +fi + cat ./docs/THANKS ( -git log --use-mailmap $start..HEAD | \ + ( + git log --use-mailmap $start..HEAD + if [ -d "$CURLWWW" ] + then + git -C ../curl-www log --use-mailmap $start..HEAD + fi + ) | \ + egrep -ai '(^Author|^Commit|by):' | \ cut -d: -f2- | \ cut '-d(' -f1 | \ -- cgit v1.2.3