summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormprahl <mprahl@redhat.com>2017-08-26 22:43:45 -0400
committermprahl <mprahl@redhat.com>2017-08-27 02:52:14 +0000
commit9fabcc45d4d6e33d16b469173734561e49963a49 (patch)
treecf45e6d674d65384771d8f348dd7c377729c29ec
parent8f264907f70117ef75d38f95cd0f9f0cb5b9cbc7 (diff)
downloadansible-9fabcc45d4d6e33d16b469173734561e49963a49.tar.gz
ansible-9fabcc45d4d6e33d16b469173734561e49963a49.tar.xz
ansible-9fabcc45d4d6e33d16b469173734561e49963a49.zip
Stop making the releng user be CC'd on Bugzilla bugs on projects that it is inherently watching issues on in Pagure
-rw-r--r--roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2
index d860e052d..d933f2231 100644
--- a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2
+++ b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2
@@ -652,6 +652,8 @@ def _pagure_project_to_acl_schema(project_and_product, session=None):
user_cc_list = []
for user, watch_levels in watchers_rv_json['watchers'].items():
+ if user == 'releng':
+ continue
# Only people watching issues should be CC'd
if 'issues' in watch_levels:
user_cc_list.append(user)