Do the rpms-checks virtual distgit namespace in prod.
This commit is contained in:
parent
5c5fce7b22
commit
c86eaf4388
2 changed files with 0 additions and 4 deletions
|
@ -70,13 +70,11 @@ if __name__ == '__main__':
|
||||||
#print ' RW private- = @all'
|
#print ' RW private- = @all'
|
||||||
# dont' enable the above until we prevent building for real from private-
|
# 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
|
# 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
|
# 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.
|
# This hack occurs in two places. Here, and in the branch-creation script.
|
||||||
# https://github.com/fedora-infra/pkgdb2/issues/329#issuecomment-207050233
|
# https://github.com/fedora-infra/pkgdb2/issues/329#issuecomment-207050233
|
||||||
data['rpms-checks'] = copy.copy(data['rpms'])
|
data['rpms-checks'] = copy.copy(data['rpms'])
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
# Get a list of all the packages
|
# Get a list of all the packages
|
||||||
for key in data:
|
for key in data:
|
||||||
|
|
|
@ -250,13 +250,11 @@ def main():
|
||||||
|
|
||||||
pkgdb_info = pkgdb_pkg_branch()
|
pkgdb_info = pkgdb_pkg_branch()
|
||||||
|
|
||||||
{% if env == 'staging' %}
|
|
||||||
# XXX - Insert an artificial namespace into the set of namespaces returned
|
# 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
|
# 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.
|
# This hack occurs in two places. Here, and in genacls.pkgdb.
|
||||||
# https://github.com/fedora-infra/pkgdb2/issues/329#issuecomment-207050233
|
# https://github.com/fedora-infra/pkgdb2/issues/329#issuecomment-207050233
|
||||||
pkgdb_info['rpms-checks'] = copy.copy(pkgdb_info['rpms'])
|
pkgdb_info['rpms-checks'] = copy.copy(pkgdb_info['rpms'])
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
for ns in pkgdb_info:
|
for ns in pkgdb_info:
|
||||||
namespace = ns
|
namespace = ns
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue