mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-07-01 07:22:45 +00:00
download packages specfied in 'packages.conda' field
This commit is contained in:
parent
a8818c7cbc
commit
0f0a174fd9
@ -94,6 +94,8 @@ def sync_repo(repo_url: str, local_dir: Path, tmpdir: Path):
|
||||
repodata = json.load(f)
|
||||
|
||||
packages = repodata['packages']
|
||||
if 'packages.conda' in repodata:
|
||||
packages.update(repodata['packages.conda'])
|
||||
for filename, meta in packages.items():
|
||||
if meta['name'] in EXCLUDED_PACKAGES:
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user