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

Merge branch 'fix-mirroring' into 'master'

Use repodata_from_packages.json for establishing packages to mirror

See merge request !139
parents a4407b08 30e1dd17
No related branches found
No related tags found
1 merge request!139Use repodata_from_packages.json for establishing packages to mirror
Pipeline #36238 passed
......@@ -147,7 +147,8 @@ def mirror(
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',
len(remote_repodata.get('packages', {})))
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