Skip to content

Support templated artifact URLs for proxy indexes - #535

Draft
zaniebot wants to merge 2 commits into
zb/proxy-indexes-20790-basefrom
zb/artifact-url-templates
Draft

zaniebot wants to merge 2 commits into
zb/proxy-indexes-20790-basefrom
zb/artifact-url-templates

Conversation

@zaniebot

@zaniebot zaniebot commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Proxy indexes currently assume that canonical and physical artifact hosts preserve the same path, which prevents registries such as Google Artifact Registry and internal package repositories from sharing portable locks.

Add artifact-url templates with {name}, {normalized_name}, {version}, {filename}, and {path} placeholders so each index can declare its artifact layout independently. Existing PyPI locks can be installed through differently shaped proxies, while creating a new lock fails before recording a fabricated canonical artifact URL when the real upstream path cannot be derived.

@zaniebot zaniebot added priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. size:4 Complex: architectural or security-sensitive work requiring broad or cross-repository context. enhancement New feature or request area:registry Related to package indexes and registries risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. labels Sep 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:registry Related to package indexes and registries enhancement New feature or request priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. size:4 Complex: architectural or security-sensitive work requiring broad or cross-repository context.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants