From 7c195934836a2ea341795b9757bd11db81fa5b70 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Sun, 21 Jan 2018 16:15:11 +0100 Subject: don't write 'stable' in bugzilla comment for stabilization --- templates/updatebug | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/updatebug b/templates/updatebug index 24f8463..548aa06 100644 --- a/templates/updatebug +++ b/templates/updatebug @@ -37,14 +37,18 @@ def main(): # We don't close bugs which still have other arches for obvious reasons, # and security bugs because stabilization is not the last step for them. + if '@@NEWKEYWORD@@' == '@@ARCH@@': + comment = "@@ARCH@@ stable" + else: + comment = "@@ARCH@@ keyworded" params['cc'] = {} if has_my_arch: params['cc']['remove'] = ['@@ARCH@@@gentoo.org'] params['comment'] = {} if has_other_arches or 'Security' in response['product']: - params['comment']['body'] = '@@ARCH@@ stable' + params['comment']['body'] = comment else: - params['comment']['body'] = '@@ARCH@@ stable, closing' + params['comment']['body'] = comment + ', closing' params['status'] = 'RESOLVED' params['resolution'] = 'FIXED' -- cgit v1.2.3-65-gdbad