12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- #!/bin/sh
- set -eu
- start="${1:-}"
- if test "$start" = "-h"; then
- echo "Usage: $0 <since this tag/hash>"
- exit
- fi
- if test -z "$start"; then
- start=$(git tag --sort=taggerdate | grep "^curl-" | tail -1)
- fi
- CURLWWW="${CURLWWW:-../curl-www}"
- cat ./docs/THANKS
- {
- {
- git log --use-mailmap "$start..HEAD"
- if [ -d "$CURLWWW" ]; then
- git -C "$CURLWWW" log --use-mailmap "$start..HEAD"
- fi
- } | \
- grep -Eai '(^Author|^Commit|by):' | \
- cut -d: -f2- | \
- cut '-d(' -f1 | \
- cut '-d<' -f1 | \
- tr , '\012' | \
- sed 's/ at github/ on github/' | \
- sed 's/ and /\n/' | \
- sed -e 's/^ //' -e 's/ $//g' -e 's/@users.noreply.github.com$/ on github/'
-
-
-
- grep -a "^ [^ (]" RELEASE-NOTES| \
- sed 's/, */\n/g'| \
- sed 's/^ *//'
- } | \
- sed -f ./docs/THANKS-filter | \
- sort -fu | \
- grep -aixvFf ./docs/THANKS
|