mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Do the rpms-checks virtual distgit namespace in prod.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user