comparison mupdf-source/thirdparty/curl/scripts/contrithanks.sh @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 #!/bin/sh
2 #***************************************************************************
3 # _ _ ____ _
4 # Project ___| | | | _ \| |
5 # / __| | | | |_) | |
6 # | (__| |_| | _ <| |___
7 # \___|\___/|_| \_\_____|
8 #
9 # Copyright (C) 2013-2017, Daniel Stenberg, <daniel@haxx.se>, et al.
10 #
11 # This software is licensed as described in the file COPYING, which
12 # you should have received as part of this distribution. The terms
13 # are also available at https://curl.haxx.se/docs/copyright.html.
14 #
15 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
16 # copies of the Software, and permit persons to whom the Software is
17 # furnished to do so, under the terms of the COPYING file.
18 #
19 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 # KIND, either express or implied.
21 #
22 ###########################################################################
23
24 #
25 # This script shows all mentioned contributors from <hash> until HEAD and
26 # puts them at the end of the THANKS document on stdout
27 #
28
29 start=$1
30
31 if test -z "$start"; then
32 echo "Usage: $0 <since this tag/hash>"
33 fi
34
35 cat ./docs/THANKS
36
37 (
38 git log --use-mailmap $start..HEAD | \
39 egrep -ai '(^Author|^Commit|by):' | \
40 cut -d: -f2- | \
41 cut '-d(' -f1 | \
42 cut '-d<' -f1 | \
43 tr , '\012' | \
44 sed 's/ at github/ on github/' | \
45 sed 's/ and /\n/' | \
46 sed -e 's/^ //' -e 's/ $//g' -e 's/@users.noreply.github.com$/ on github/'
47
48 # grep out the list of names from RELEASE-NOTES
49 # split on ", "
50 # remove leading white spaces
51 grep -a "^ [^ (]" RELEASE-NOTES| \
52 sed 's/, */\n/g'| \
53 sed 's/^ *//'
54
55 )| \
56 sed -f ./docs/THANKS-filter | \
57 grep -a ' ' | \
58 sort -fu | \
59 grep -aixvf ./docs/THANKS