2017-12-24 14:53:20 +08:00
|
|
|
|
#!/bin/sh
|
2021-01-27 20:37:10 +08:00
|
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-12-24 14:53:20 +08:00
|
|
|
|
set -eu
|
2017-04-15 12:16:23 +08:00
|
|
|
|
|
2021-03-30 18:45:14 +08:00
|
|
|
|
tag="$(git describe --abbrev=0 --match 'v[0-9][0-9][0-9]')"
|
2022-03-30 01:42:01 +08:00
|
|
|
|
git log --pretty=tformat:%aN -s "${tag}.." |
|
|
|
|
|
grep -v noreply@weblate.org |
|
git-contrib: copypaste-friendly output
Format output in a manner that can be copypasted as-is to NEWS.
That is, with 8 spaces indentation and wrapped at 80 columns.
Before:
$ tools/git-contrib.sh
Ben Stockett,
Carl Lei,
Frantisek Sumsal,
Gibeom Gwon,
Hugo Osvaldo Barrera,
James Hilliard,
Jan Palus,
Lennart Poettering,
Luca Boccassi,
Luca BRUNO,
Mike Gilbert,
nassir90,
nl6720,
Raul Tambre,
Yegor Alexeyev,
Yu Watanabe,
Zbigniew Jędrzejewski-Szmek,
After:
Contributions from: Ben Stockett, Carl Lei, Frantisek Sumsal,
Gibeom Gwon, Hugo Osvaldo Barrera, James Hilliard, Jan Palus,
Lennart Poettering, Luca Boccassi, Luca BRUNO, Mike Gilbert,
nassir90, nl6720, Raul Tambre, Yegor Alexeyev, Yu Watanabe,
Zbigniew Jędrzejewski-Szmek
2021-07-18 00:49:20 +08:00
|
|
|
|
sed 's/ / /g; s/--/-/g; s/.*/\0,/' |
|
2022-03-30 01:42:01 +08:00
|
|
|
|
sort -u | tr '\n' ' ' | sed -e "s/^/Contributions from: /g" -e "s/,\s*$/\n/g" | fold -w 72 -s |
|
git-contrib: copypaste-friendly output
Format output in a manner that can be copypasted as-is to NEWS.
That is, with 8 spaces indentation and wrapped at 80 columns.
Before:
$ tools/git-contrib.sh
Ben Stockett,
Carl Lei,
Frantisek Sumsal,
Gibeom Gwon,
Hugo Osvaldo Barrera,
James Hilliard,
Jan Palus,
Lennart Poettering,
Luca Boccassi,
Luca BRUNO,
Mike Gilbert,
nassir90,
nl6720,
Raul Tambre,
Yegor Alexeyev,
Yu Watanabe,
Zbigniew Jędrzejewski-Szmek,
After:
Contributions from: Ben Stockett, Carl Lei, Frantisek Sumsal,
Gibeom Gwon, Hugo Osvaldo Barrera, James Hilliard, Jan Palus,
Lennart Poettering, Luca Boccassi, Luca BRUNO, Mike Gilbert,
nassir90, nl6720, Raul Tambre, Yegor Alexeyev, Yu Watanabe,
Zbigniew Jędrzejewski-Szmek
2021-07-18 00:49:20 +08:00
|
|
|
|
sed -e "s/^/ /g" -e "s/\s*$//g"
|