refactor: simplify pypi and npm URL rewriting #18
Reference in New Issue
Block a user
Delete Branch "benvin/simplify-remote-url-rewriting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
npm_files_url/npm_files_remote; URL rewriting now usesbase_urland remote name directly (same approach as helm). Replace hardcoded.tgzextension check withimmutable_patternsmatch for correctnesspypi+pypi-filesinto a single remote —base_urlpoints tofiles.pythonhosted.org;simple/requests are transparently fetched frompypi.orgwith zero extra config. Removepypi_files_url/pypi_files_remotefrom pypi and pypi-gitea remotes. Rewrite guard now checksimmutable_patterns(consistent with npm)Test plan
make testpassesuv pip installvia proxy resolves simple index and downloads wheel from same remote