Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Strip trailing slash for repo url #2495

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

amartani
Copy link
Contributor

@amartani amartani commented Dec 11, 2024

Strip potential trailing slash when building url on the case of relative path without up-references. In particular, this fixes using experimental_index_url with a AWS CodeArtifact python repository, which currently fails package downloads due to an incorrect URL (with double //) being produced by this code.

@amartani amartani changed the title fix: Strip leading slash for repo url fix: Strip trailing slash for repo url Dec 11, 2024
@amartani amartani marked this pull request as ready for review December 11, 2024 00:30
@rickeylev rickeylev enabled auto-merge December 11, 2024 00:31
@rickeylev
Copy link
Collaborator

Thanks for the PR! CI failures look unrelated, so I've approved and queued it. We'll have the CI stuff fixed in the next day or so.

@rickeylev rickeylev added this pull request to the merge queue Dec 11, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 11, 2024
@rickeylev rickeylev added this pull request to the merge queue Dec 11, 2024
Merged via the queue into bazelbuild:main with commit e823657 Dec 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants