Merge branch 'master' of /git/ansible
This commit is contained in:
commit
1b9f4facbd
4 changed files with 13 additions and 7 deletions
|
@ -16,6 +16,6 @@ response = requests.get(
|
|||
)
|
||||
data = response.json()
|
||||
with open(filename, 'wb') as f:
|
||||
f.write(json.dumps(data).encode('utf-8'))
|
||||
f.write(json.dumps(data, indent=2).encode('utf-8'))
|
||||
|
||||
print "Wrote %s" % filename
|
||||
|
|
|
@ -77,10 +77,12 @@ if __name__ == '__main__':
|
|||
# https://github.com/fedora-infra/pkgdb2/issues/329#issuecomment-207050233
|
||||
# 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'])
|
||||
if 'rpms' in data:
|
||||
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'])
|
||||
if 'modules' in data:
|
||||
data['test-modules'] = copy.copy(data['modules'])
|
||||
|
||||
# Get a list of all the packages
|
||||
for key in data:
|
||||
|
|
|
@ -293,10 +293,12 @@ if __name__ == '__main__':
|
|||
# https://github.com/fedora-infra/pkgdb2/issues/329#issuecomment-207050233
|
||||
# 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'])
|
||||
if 'rpms' in data:
|
||||
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'])
|
||||
if 'modules' in data:
|
||||
data['test-modules'] = copy.copy(data['modules'])
|
||||
|
||||
# Get a list of all the packages
|
||||
for key in data:
|
||||
|
|
|
@ -256,10 +256,12 @@ def main():
|
|||
# https://github.com/fedora-infra/pkgdb2/issues/329#issuecomment-207050233
|
||||
# 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'])
|
||||
if 'rpms' in pkgdb_info:
|
||||
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'])
|
||||
if 'modules' in pkgdb_info:
|
||||
pkgdb_info['test-modules'] = copy.copy(pkgdb_info['modules'])
|
||||
|
||||
for ns in pkgdb_info:
|
||||
namespace = ns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue