From 9fabcc45d4d6e33d16b469173734561e49963a49 Mon Sep 17 00:00:00 2001 From: mprahl Date: Sat, 26 Aug 2017 22:43:45 -0400 Subject: [PATCH] Stop making the releng user be CC'd on Bugzilla bugs on projects that it is inherently watching issues on in Pagure --- roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 index d860e052d8..d933f22315 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)