]> granicus.if.org Git - pdns/commitdiff
Parse backport titles for changelog
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 6 Sep 2016 12:48:26 +0000 (14:48 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 6 Sep 2016 13:12:11 +0000 (15:12 +0200)
build-scripts/git-to-changelog-merges

index c445aaad3e554b39194b6351a25452624c3ba064..993762720c8b19c64ef35028b00b58e050129b4c 100755 (executable)
@@ -6,6 +6,7 @@ else
   git log --merges --pretty=format:'- %sXXX %b (AUTHOR)' "$@" |\
     perl -pe 's! from ([^/]+).+XXX (.+) \(AUTHOR\)!: \2 (\1)!g' |\
     perl -pe 's!Merge pull request #([[:digit:]]+)![#\1](https://github.com/PowerDNS/pdns/pull/\1)!g' |\
+    perl -pe 's![#[[:digit:]]+]\(.+\): Backport #([[:digit:]]+)![#\1](https://github.com/PowerDNS/pdns/pull/\1)!g' |\
     perl -pe 's!\((rgacogne|habbie|ahupowerdns|pieterlexis)\)!!gi' |\
     perl -pe 's!\(mind04\)!(Kees Monshouwer)!g' |\
     grep -v dnsdist