From 6c0e3586f87803f7428e46a12f7a3e18248efbc2 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Thu, 21 Dec 2017 09:58:28 -0500 Subject: [PATCH] distgit: ignore forks when syncing pagure to bugzilla (#6593) --- roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 index cf6c411e8..16c23b1e8 100644 --- a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 +++ b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 @@ -694,11 +694,13 @@ if __name__ == '__main__': poc_url = PAGURE_DIST_GIT_URL + '/extras/pagure_poc.json' if DEBUG: print("Querying %r for points of contact." % poc_url) - pagure_namespace_to_poc = session.get(poc_url, timeout=120).json() + pagure_namespace_to_poc = session.get( + poc_url, params={'fork': False}, timeout=120).json() cc_url = PAGURE_DIST_GIT_URL + '/extras/pagure_bz.json' if DEBUG: print("Querying %r for initial cc list." % cc_url) - pagure_namespace_to_cc = session.get(cc_url, timeout=120).json() + pagure_namespace_to_cc = session.get( + cc_url, params={'fork': False}, timeout=120).json() # Combine and collapse those two into a single list: pagure_projects = [] -- 2.15.1