From 0de9fdade7625d3e046a79eb638f75809b8d2a95 Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Mon, 3 Jan 2022 19:07:03 +0100 Subject: [PATCH] bodhi: relax regex used to catch bug ids in changelogs Signed-off-by: Mattia Verga --- roles/bodhi2/base/templates/production.ini.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index 38c5621539..41fc1c10f5 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -522,6 +522,9 @@ bz_products = Fedora,Fedora EPEL,Fedora Modules # Comma separated list of Release.name values bz_exclude_rels = ELN +# Relax default regex used to catch bug ids in RPM changelogs +bz_regex = (?:fedora|epel|rh(?:bz)?)#(\d{5,}) + # A template to use for links to Bugzilla tickets. %%s will be filled in with the bug number. # buglink = https://bugzilla.redhat.com/show_bug.cgi?id=%%s {% if env == 'production' %}