contributors: Also include people who contributed to curl-www

Closes #4884
This commit is contained in:
Frank Gevaerts 2020-02-05 11:45:47 +01:00 committed by Daniel Stenberg
parent d2411a78ee
commit 8a5c1cf1f0
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 27 additions and 2 deletions

View File

@ -38,6 +38,11 @@ if test -z "$start"; then
echo "Since $start:" echo "Since $start:"
fi 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 # filter out Author:, Commit: and *by: lines
# cut off the email parts # cut off the email parts
# split list of names at comma # split list of names at comma
@ -47,8 +52,15 @@ fi
# only count names with a space (ie more than one word) # only count names with a space (ie more than one word)
# sort all unique names # sort all unique names
# awk them into RELEASE-NOTES format # 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):' | \ egrep -ai '(^Author|^Commit|by):' | \
cut -d: -f2- | \ cut -d: -f2- | \
cut '-d(' -f1 | \ cut '-d(' -f1 | \

View File

@ -36,10 +36,23 @@ if test -z "$start"; then
start=`git tag --sort=taggerdate | tail -1`; start=`git tag --sort=taggerdate | tail -1`;
fi fi
# We also include curl-www if possible. Override by setting CURLWWW
if [ -z "$CURLWWW" ] ; then
CURLWWW=../curl-www
fi
cat ./docs/THANKS 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):' | \ egrep -ai '(^Author|^Commit|by):' | \
cut -d: -f2- | \ cut -d: -f2- | \
cut '-d(' -f1 | \ cut '-d(' -f1 | \