Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion acbs/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ def fetch_source(info: List[ACBSSourceInfo], source_location: str, package_name:
# in generate mode, we need to fetch all the sources
if not i.enabled and not generate_mode:
logging.info(f'Source {count} skipped.')
url_hash = hash_url(i.url)
# special handling for PyPI type
url = i.url if i.type != "pypi" else f"pypi://{i.url}/{i.revision}"
url_hash = hash_url(url)
fetch_source_inner(i, source_location, url_hash)
return None

Expand Down