summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2017-08-17 15:20:54 +0000
committerRalph Bean <rbean@redhat.com>2017-08-17 15:20:54 +0000
commita6de3a1d20230055d7b499bfdd5c0f65ecd3257a (patch)
tree95539b7fa4ef4c4dbfbdb5fd478e8446bf63c4ab
parentd39f09af1254124ae198aba6d35557f9c7b29baf (diff)
downloadansible-a6de3a1d20230055d7b499bfdd5c0f65ecd3257a.tar.gz
ansible-a6de3a1d20230055d7b499bfdd5c0f65ecd3257a.tar.xz
ansible-a6de3a1d20230055d7b499bfdd5c0f65ecd3257a.zip
Map dist-git namespaces to pdc types.
-rw-r--r--roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j25
1 files changed, 5 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 e3f69d274..e2077d336 100644
--- a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2
+++ b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2
@@ -125,6 +125,11 @@ PRODUCTS_TO_LEAD_BRANCH = {
# If epel7 is retired, then all new epel bugs go to orphan.
'Fedora EPEL': 'epel7',
}
+PDC_TYPES = {
+ 'rpms': 'rpm',
+ 'modules': 'module',
+ 'container': 'container',
+}
# When querying for current info, take segments of 1000 packages a time