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

Warn when nuget.org v2 is used instead of the v3 endpoint #6576

Open
emgarten opened this issue Feb 16, 2018 · 0 comments
Open

Warn when nuget.org v2 is used instead of the v3 endpoint #6576

emgarten opened this issue Feb 16, 2018 · 0 comments
Labels
Area:Settings NuGet.Config and related issues Functionality:Restore Priority:2 Issues for the current backlog. Type:DCR Design Change Request
Milestone

Comments

@emgarten
Copy link
Member

The client should log a warning during restore if https://www.nuget.org/api/v2/ is used and suggest that https://api.nuget.org/v3/index.json should be used instead.

Benefits of v3:

  • Trusted source support for package signing
  • Improved performance on the client and reduced server load when using flatcontainer (static files) instead of the odata feed.

If a restore has both the v2 and v3 endpoints for nuget.org restore could also warn or error since this is redundant and only slows down restore.

@emgarten emgarten added this to the Backlog milestone Feb 16, 2018
@PatoBeltran PatoBeltran added Area:Settings NuGet.Config and related issues and removed Functionality:Signing labels Dec 11, 2018
@aortiz-msft aortiz-msft added the Type:DCR Design Change Request label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:Settings NuGet.Config and related issues Functionality:Restore Priority:2 Issues for the current backlog. Type:DCR Design Change Request
Projects
None yet
Development

No branches or pull requests

5 participants