From c89c29d3584d8e6e4a25eb434849f93b14897485 Mon Sep 17 00:00:00 2001 From: Jonathan Toppins Date: Thu, 27 Aug 2015 10:09:37 -0400 Subject: gbp-dch: allow bug number format to be overridden MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some derivatives and non Debian exclusive projects don't use just numbers for their bug numbers. gbp-dch should still be able to parse these bug numbers and generate useful changelog entries. This doesn't solve dpkg-parsechangelog but is a start. Examples of non-Debian bug numbers are: example change header Example: EX-12345 Should produce the following change log: * example change header (Example: EX-12345) This also helps in pulling CVE numbers simply by letting the user modify the regex to something like 'cve-\d+-\d+'. Signed-off-by: Jonathan Toppins Signed-off-by: Guido Günther --- gbp.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gbp.conf') diff --git a/gbp.conf b/gbp.conf index 43fc36dd..64cd3a1e 100644 --- a/gbp.conf +++ b/gbp.conf @@ -96,6 +96,8 @@ #meta = False # what tags to look for to generate bug-closing changelog entries: #meta-closes = Closes|LP +# what regex should be used to parse the bug number +#meta-closes-bugnum = '(?:bug|issue)?\#?\s?\d+' # include the full commit message in the changelog: #full = True # ignore Signed-off-by: lines: -- cgit v1.2.3