Skip to content

Commit

Permalink
Prepend zzz to underscore leading package names only available as .ta…
Browse files Browse the repository at this point in the history
…r.bz2
  • Loading branch information
jaimergp committed Mar 9, 2025
1 parent 8321c07 commit 0d787aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conda_metadata_app/pages/main_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,11 @@ def disable_button(query):
if with_broken:
st.query_params.with_broken = str(with_broken).lower()
with st.spinner("Fetching metadata..."):
if artifact.startswith("_") and artifact.endswith(".tar.bz2"):
# TarBz2 artifacts come from the OCI mirror, which can't host
# artifacts starting with `_`. Those packages are prepended with
# zzz_ instead.
artifact = f"zzz{artifact}"
data = artifact_metadata(
channel=channel,
subdir=subdir,
Expand Down

0 comments on commit 0d787aa

Please sign in to comment.