diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2018-01-21 16:15:11 +0100 |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2018-01-21 16:15:11 +0100 |
commit | 7c195934836a2ea341795b9757bd11db81fa5b70 (patch) | |
tree | 0726deb680a0dd17f91476ef130acdfa44325c07 | |
parent | only try to remove arch from bugzilla CC if it is there (diff) | |
download | tatt-7c195934836a2ea341795b9757bd11db81fa5b70.tar.gz tatt-7c195934836a2ea341795b9757bd11db81fa5b70.tar.bz2 tatt-7c195934836a2ea341795b9757bd11db81fa5b70.zip |
don't write 'stable' in bugzilla comment for stabilization
-rw-r--r-- | templates/updatebug | 8 |
1 files 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' |