From d75b0eba5556d5005cfc13a72a7365ee7a859db2 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 15 Dec 2017 21:34:11 +0000 Subject: [PATCH] Don't create new bugzilla components for modules, yet. --- roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 index f94e7e9c18..e5d340ae7c 100644 --- a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 +++ b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 @@ -711,6 +711,12 @@ if __name__ == '__main__': watchers=pagure_namespace_to_cc[namespace][name], )) + # Filter out any modules, since we don't have rights to create new + # components in the "Fedora Modules" project yet + pagure_projects = [ + p for p in pagure_projects if p['namespace'] != 'modules' + ] + branches_url = PDCURL.split('rest_api')[0] + 'extras/active_branches.json' if DEBUG: print("Querying %r for EOL information." % branches_url)