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

properly resolve nuget search query when the api is versioned #8534

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Dec 5, 2023

From this comment, a NuGet repository's :search_url can't be found if it has a version suffix like /3.0.0, etc. This PR checks in priority order for the specific SearchQueryService value.

@brettfo brettfo requested a review from a team as a code owner December 5, 2023 17:34
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Dec 5, 2023
Copy link
Member

@jakecoffman jakecoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick PR!

I confirmed this fixes dependabot update nuget udap-tools/udap-dotnet.

@brettfo Do you want someone from your team to approve as well or should I go ahead and deploy this?

@brettfo
Copy link
Contributor Author

brettfo commented Dec 5, 2023

This fix was pretty straight forward, it can be merged.

@brettfo brettfo force-pushed the dev/brettfo/nuget-search-url-not-found branch from 5c5aa66 to 4672ef3 Compare December 5, 2023 20:23
@jakecoffman
Copy link
Member

Looks like it didn't fix this case: dependabot update nuget SonarSource/sonar-scanner-msbuild

@jakecoffman
Copy link
Member

Again this seems like an improvement to the error rate so I'll merge it.

@jakecoffman jakecoffman merged commit ffb64af into main Dec 5, 2023
81 checks passed
@jakecoffman jakecoffman deleted the dev/brettfo/nuget-search-url-not-found branch December 5, 2023 22:03
@brettfo
Copy link
Contributor Author

brettfo commented Dec 6, 2023

@jakecoffman Just created PR #8538 that should cover this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants