Skip to content
Snippets Groups Projects
Commit 30e1dd17 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[scripts/mirror] Use repodata_from_packages.json for establishing package...

[scripts/mirror] Use repodata_from_packages.json for establishing package contents on repo to mirror - default channel repodata.json is not updated anymore?
parent a4407b08
No related branches found
No related tags found
1 merge request!139Use repodata_from_packages.json for establishing packages to mirror
Pipeline #36236 passed
...@@ -147,7 +147,8 @@ def mirror( ...@@ -147,7 +147,8 @@ def mirror(
for arch in DEFAULT_SUBDIRS: for arch in DEFAULT_SUBDIRS:
remote_repodata = get_json(channel_url, arch, 'repodata.json.bz2') remote_repodata = get_json(channel_url, arch,
'repodata_from_packages.json.bz2')
logger.info('%d packages available in remote index', logger.info('%d packages available in remote index',
len(remote_repodata.get('packages', {}))) len(remote_repodata.get('packages', {})))
local_packages = get_local_contents(dest_dir, arch) local_packages = get_local_contents(dest_dir, arch)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment