Skip to content

Update expected Azure repository format#217

Merged
JamieMagee merged 1 commit intomainfrom
jamiemagee/azure-repo
Jan 3, 2024
Merged

Update expected Azure repository format#217
JamieMagee merged 1 commit intomainfrom
jamiemagee/azure-repo

Conversation

@JamieMagee
Copy link
Member

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
@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