Do the rpms-checks virtual distgit namespace in prod.

This commit is contained in:
Ralph Bean 2016-04-08 13:18:22 +00:00
parent 5c5fce7b22
commit c86eaf4388
2 changed files with 0 additions and 4 deletions

View file

@ -70,13 +70,11 @@ if __name__ == '__main__':
#print ' RW private- = @all'
# dont' enable the above until we prevent building for real from private-
{% if env == 'staging' %}
# XXX - Insert an artificial namespace into the set of namespaces returned
# by pkgdb. We want to create a mirror of rpms/PKG in rpms-checks/PKG
# This hack occurs in two places. Here, and in the branch-creation script.
# https://github.com/fedora-infra/pkgdb2/issues/329#issuecomment-207050233
data['rpms-checks'] = copy.copy(data['rpms'])
{% endif %}
# Get a list of all the packages
for key in data:

View file

@ -250,13 +250,11 @@ def main():
pkgdb_info = pkgdb_pkg_branch()
{% if env == 'staging' %}
# XXX - Insert an artificial namespace into the set of namespaces returned
# by pkgdb. We want to create a mirror of rpms/PKG in rpms-checks/PKG
# This hack occurs in two places. Here, and in genacls.pkgdb.
# https://github.com/fedora-infra/pkgdb2/issues/329#issuecomment-207050233
pkgdb_info['rpms-checks'] = copy.copy(pkgdb_info['rpms'])
{% endif %}
for ns in pkgdb_info:
namespace = ns