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

Deprecate NuGet.exe list in favor of NuGet.exe search #7912

Closed
dominoFire opened this issue Mar 26, 2019 · 1 comment · Fixed by NuGet/NuGet.Client#5633
Closed

Deprecate NuGet.exe list in favor of NuGet.exe search #7912

dominoFire opened this issue Mar 26, 2019 · 1 comment · Fixed by NuGet/NuGet.Client#5633
Assignees
Labels
Category:SeasonOfGiving https://devblogs.microsoft.com/nuget/nuget-season-of-giving/#season-of-giving Functionality:List(Search) Priority:2 Issues for the current backlog. Product:NuGet.exe NuGet.exe Type:DCR Design Change Request
Milestone

Comments

@dominoFire
Copy link
Contributor

dominoFire commented Mar 26, 2019

Following the deprecation effort in commands to avoid ambiguity, the nuget.exe list command will be renamed to nuget.exe search.

Why we are renaming?

  1. The dotnet.exe list command lists package or project references in projects or solutions, which is different from listing packages from a feed in the actual nuget.exe list behavior. To avoid confusion between those commands, we want to set a more adequate verb for describing the actual nuget.exe list behavior.
  2. We want to implement new search filters.

How this will be?

First we'll both commands available in nuget.exe; both of them will have the same functionality, except for nuget.exe list, that will display a deprecation warning message each time the command is invoked.

In the upcoming releases, we will remove the nuget.exe list command.

The issue tracking all the deprecated commands is : #7753

@dominoFire dominoFire added Type:DCR Design Change Request Functionality:ListPackage dotnet.exe list package Sprint 150 labels Mar 26, 2019
@dominoFire dominoFire added this to the 5.0 milestone Mar 26, 2019
@dominoFire dominoFire self-assigned this Mar 26, 2019
@dominoFire dominoFire added the Product:NuGet.exe NuGet.exe label Mar 27, 2019
@rrelyea rrelyea modified the milestones: 5.0, 5.1 Apr 1, 2019
@rrelyea rrelyea changed the title Rename nuget.exe list to nuget.exe search Enable Deprecation of Commands, Deprecate NuGet.exe List Apr 22, 2019
@rrelyea rrelyea modified the milestones: 5.1, 5.2 Apr 30, 2019
@dominoFire dominoFire changed the title Enable Deprecation of Commands, Deprecate NuGet.exe List Deprecate NuGet.exe list in favor of NuGet.exe search Apr 30, 2019
@nkolev92 nkolev92 removed the Functionality:ListPackage dotnet.exe list package label May 14, 2019
@rrelyea rrelyea modified the milestones: 5.2, Backlog May 16, 2019
@nkolev92 nkolev92 added Functionality:List(Search) Category:SeasonOfGiving https://devblogs.microsoft.com/nuget/nuget-season-of-giving/#season-of-giving and removed Pipeline:Backlog labels Aug 29, 2022
@nkolev92 nkolev92 added the Priority:2 Issues for the current backlog. label Sep 30, 2022
@nkolev92 nkolev92 modified the milestones: Backlog, 6.3 Nov 8, 2022
@Nigusu-Allehu Nigusu-Allehu self-assigned this Sep 5, 2023
@JonDouglas
Copy link
Contributor

I'm not a fan of deprecating a command purely because its name. This tool has used a specific command for many years before a new one is introduced.

Let us use simple aliases instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:SeasonOfGiving https://devblogs.microsoft.com/nuget/nuget-season-of-giving/#season-of-giving Functionality:List(Search) Priority:2 Issues for the current backlog. Product:NuGet.exe NuGet.exe Type:DCR Design Change Request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants