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

find .nupkg URL without PackageBaseAddress #9117

Merged
merged 5 commits into from
Feb 26, 2024

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Feb 23, 2024

The NuGet updater uses the PackageBaseAddress endpoint to generate URLs to download .nupkg packages, but some feed providers don't supply that endpoint. This is a workaround that allows PackageBaseAddress to be missing/nil and if it is, it makes a few extra network hops to discover the .nupkg download URL.

This PR is also dependent on a separate internal PR that injects authentication to the proper URL endpoints.

Fixes #8887.

@brettfo brettfo requested a review from a team as a code owner February 23, 2024 18:48
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Feb 23, 2024
@brettfo brettfo force-pushed the dev/brettfo/nuget-without-package-base branch from b4e8bb8 to 2340e62 Compare February 23, 2024 19:04
Copy link
Contributor

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

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

Looks good. Just one concern about possible nil reference.

@abdulapopoola abdulapopoola merged commit 6a32b25 into main Feb 26, 2024
67 checks passed
@abdulapopoola abdulapopoola deleted the dev/brettfo/nuget-without-package-base branch February 26, 2024 22:25
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.

Artifactory private nuget package source authentication
3 participants