]> git.ipfire.org Git - thirdparty/pdns.git/blob - build-scripts/git-to-changelog-merges
Add support for dnsdist-15 to repo script.
[thirdparty/pdns.git] / build-scripts / git-to-changelog-merges
1 #!/bin/sh
2
3 if [ "$1" = "-" ]; then
4 cat
5 else
6 git log --merges --pretty=format:'- %sXXX %b (AUTHOR)' "$@" |\
7 perl -pe 's! from ([^/]+).+XXX (.+) \(AUTHOR\)!: \2 (\1)!g' |\
8 perl -pe 's!Merge pull request #([[:digit:]]+)![#\1](https://github.com/PowerDNS/pdns/pull/\1)!g' |\
9 perl -pe 's![#[[:digit:]]+]\(.+\): Backport #([[:digit:]]+)![#\1](https://github.com/PowerDNS/pdns/pull/\1)!g' |\
10 perl -pe 's!\((rgacogne|habbie|ahupowerdns|pieterlexis|omoerbeek|aerique|chbruyand)\)!!gi' |\
11 perl -pe 's!\(mind04\)!(Kees Monshouwer)!g' |\
12 perl -pe 's! $!!' |\
13 grep -v dnsdist
14 fi