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

dotnet list package should show RID specific packages #13978

Open
zivkan opened this issue Dec 3, 2024 · 0 comments
Open

dotnet list package should show RID specific packages #13978

zivkan opened this issue Dec 3, 2024 · 0 comments
Labels
Area:NuGetAudit Functionality:ListPackage dotnet.exe list package Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:DCR Design Change Request

Comments

@zivkan
Copy link
Member

zivkan commented Dec 3, 2024

NuGet Product(s) Affected

dotnet.exe

Current Behavior

dotnet list package --vulnerable --include-transitive does not list some packages that NuGetAudit (restore) does. This is because audit will check all RID graphs, but dotnet list package only checks the no-RID graphs.

Desired Behavior

Any package that NuGetAudit reports as vulnerable during restore should also be discoverable with dotnet list package.

However, when a project contains multiple RIDs, and the graphs are the same, it should show 'groups' with the same package list, to avoid long output that is difficult to understand. See dotnet nuget why for an example.

Additional Context

list package previously did show packages from all the RIDs (although it didn't tell you that it was a RID-specific graph, or what the RID was), but it was removed because it looked like redundant output:

@zivkan zivkan added Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:DCR Design Change Request Functionality:ListPackage dotnet.exe list package Area:NuGetAudit labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:NuGetAudit Functionality:ListPackage dotnet.exe list package Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:DCR Design Change Request
Projects
None yet
Development

No branches or pull requests

1 participant