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

Update expected Azure repository format #217

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

JamieMagee
Copy link
Contributor

Currently, dependabot-core uses the repository directly to construct the service pack URL:

https://github.com/dependabot/dependabot-core/blob/f6382ed6357c6c0020fb9083af7614400d5e3b65/common/lib/dependabot/git_metadata_fetcher.rb#L199-L204

This is fine for all other sources, except for Azure DevOps, where it constructs an invalid URL.

Before: https://dev.azure.com:443/org/project/repo/info/refs?service=git-upload-pack (404)
After https://dev.azure.com:443/org/project/_git/repo/info/refs?service=git-upload-pack (200)

A more long term fix would be to change how the URL is constructed in dependabot-core. But that is a larger and riskier change.

@JamieMagee JamieMagee requested a review from jakecoffman January 2, 2024 22:28
@JamieMagee JamieMagee requested a review from a team as a code owner January 2, 2024 22:28
@JamieMagee JamieMagee added this pull request to the merge queue Jan 3, 2024
Merged via the queue into main with commit dc33234 Jan 3, 2024
60 checks passed
@JamieMagee JamieMagee deleted the jamiemagee/azure-repo branch January 3, 2024 15:01
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