From efec626ebb78f4f222038d63656e49bf13cb7a4e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 24 Feb 2025 00:08:32 +0100 Subject: [PATCH] contributors.sh: lowercase 'github' for consistency also fix contrithanks and THANKS-filter Ref: #16438 Closes #16443 --- docs/THANKS-filter | 1 + scripts/contributors.sh | 5 +++-- scripts/contrithanks.sh | 7 ++++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/THANKS-filter b/docs/THANKS-filter index e4f1bfd0ca..6f1faed3a8 100644 --- a/docs/THANKS-filter +++ b/docs/THANKS-filter @@ -157,3 +157,4 @@ s/edmcln\z/edmcln on github/ s/andrewkirillov-ibm/Andrew Kirillov/ s/\(.*\) via #[0-9]*// s/jethrogb$/jethrogb on github/ +s/on github/on github/i diff --git a/scripts/contributors.sh b/scripts/contributors.sh index ad6f0b5662..ddc9bdfba0 100755 --- a/scripts/contributors.sh +++ b/scripts/contributors.sh @@ -67,9 +67,10 @@ CURLWWW="${CURLWWW:-../curl-www}" cut '-d(' -f1 | \ cut '-d<' -f1 | \ tr , '\012' | \ - sed 's/ at github/ on github/' | \ + sed 's/ at github/ on github/i' | \ + sed 's/on github/on github/i' | \ sed 's/ and /\n/' | \ - sed -e 's/^ *//' -e 's/ $//g' -e 's/@users.noreply.github.com$/ on github/' + sed -e 's/^ *//' -e 's/ $//g' -e 's/@users.noreply.github.com$/ on github/i' grep -a "^ [^ \(]" RELEASE-NOTES| \ sed 's/, */\n/g'| \ diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh index 2afc30c244..d212d35d2a 100755 --- a/scripts/contrithanks.sh +++ b/scripts/contrithanks.sh @@ -43,7 +43,7 @@ fi # We also include curl-www if possible. Override by setting CURLWWW CURLWWW="${CURLWWW:-../curl-www}" -cat ./docs/THANKS +cat ./docs/THANKS | sed 's/ github/ github/i' { { @@ -57,9 +57,10 @@ cat ./docs/THANKS cut '-d(' -f1 | \ cut '-d<' -f1 | \ tr , '\012' | \ - sed 's/ at github/ on github/' | \ + sed 's/ at github/ on github/i' | \ sed 's/ and /\n/' | \ - sed -e 's/^ //' -e 's/ $//g' -e 's/@users.noreply.github.com$/ on github/' + sed -e 's/^ //' -e 's/ $//g' -e 's/@users.noreply.github.com$/ on github/i' | \ + sed 's/ github/ github/i' # grep out the list of names from RELEASE-NOTES # split on ", " -- 2.47.3