Rename rpms-checks to test-rpms, and create test-modules.
This commit is contained in:
parent
52cfdccae3
commit
8d4456dc1c
4 changed files with 27 additions and 11 deletions
|
@ -101,9 +101,10 @@
|
||||||
- rpms
|
- rpms
|
||||||
- docker
|
- docker
|
||||||
- modules
|
- modules
|
||||||
# Except for this one. This namespace is artificially created in the
|
# Except for these two. These namespaces are artificially created in the
|
||||||
# dist-git pkgdb sync scripts.
|
# dist-git pkgdb sync scripts.
|
||||||
- rpms-checks
|
- test-rpms
|
||||||
|
- test-modules
|
||||||
tags:
|
tags:
|
||||||
- distgit
|
- distgit
|
||||||
|
|
||||||
|
|
|
@ -71,11 +71,16 @@ 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-
|
||||||
|
|
||||||
# XXX - Insert an artificial namespace into the set of namespaces returned
|
# XXX - Insert artificial namespaces 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 test-rpms/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'])
|
# And then, this got renamed from rpms-checks to test-rpms
|
||||||
|
# https://pagure.io/fedora-infrastructure/issue/5570
|
||||||
|
data['test-rpms'] = copy.copy(data['rpms'])
|
||||||
|
# Also, modules are a thing
|
||||||
|
# https://pagure.io/fedora-infrastructure/issue/5571
|
||||||
|
data['test-modules'] = copy.copy(data['modules'])
|
||||||
|
|
||||||
# Get a list of all the packages
|
# Get a list of all the packages
|
||||||
for key in data:
|
for key in data:
|
||||||
|
|
|
@ -287,11 +287,16 @@ 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-
|
||||||
|
|
||||||
# XXX - Insert an artificial namespace into the set of namespaces returned
|
# XXX - Insert artificial namespaces 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 test-rpms/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'])
|
# And then, this got renamed from rpms-checks to test-rpms
|
||||||
|
# https://pagure.io/fedora-infrastructure/issue/5570
|
||||||
|
data['test-rpms'] = copy.copy(data['rpms'])
|
||||||
|
# Also, modules are a thing
|
||||||
|
# https://pagure.io/fedora-infrastructure/issue/5571
|
||||||
|
data['test-modules'] = copy.copy(data['modules'])
|
||||||
|
|
||||||
# Get a list of all the packages
|
# Get a list of all the packages
|
||||||
for key in data:
|
for key in data:
|
||||||
|
|
|
@ -250,11 +250,16 @@ def main():
|
||||||
|
|
||||||
pkgdb_info = pkgdb_pkg_branch()
|
pkgdb_info = pkgdb_pkg_branch()
|
||||||
|
|
||||||
# XXX - Insert an artificial namespace into the set of namespaces returned
|
# XXX - Insert artificial namespaces 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 test-rpms/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'])
|
# And then, this got renamed from rpms-checks to test-rpms
|
||||||
|
# https://pagure.io/fedora-infrastructure/issue/5570
|
||||||
|
pkgdb_info['test-rpms'] = copy.copy(pkgdb_info['rpms'])
|
||||||
|
# Also, modules are a thing
|
||||||
|
# https://pagure.io/fedora-infrastructure/issue/5571
|
||||||
|
pkgdb_info['test-modules'] = copy.copy(pkgdb_info['modules'])
|
||||||
|
|
||||||
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