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

Add vulnerable option to dotnet list package #14352

Merged

Conversation

drewgillies
Copy link
Contributor

This is a cherry-pick of the commit from #13318 into release/5.0.2xx. Details copied below:

Added --vulnerable option to dotnet list package CLI. Also removed most of the "policing" around other option combinations:

  • --include-prerelease, --highest-minor, and highest-patch are only supposed to be used in combination with the --outdated option, but they're just ignored by the NuGet Xplat CLI otherwise, and we'll do the same here.
  • --config and --source are only supposed to be used in combination with --vulnerable, --outdated and --deprecated reports, but they're also just ignored by the NuGet Xplat CLI, so we'll ignore them here.
  • --vulnerable, --outdated and --deprecated all must be used mutually exclusively, and combining them is nonsense--we throw in the NuGet Xplat CLI in this case, and we'll continue to throw here.

@wli3 wli3 added auto-merge Automatically merge PR once CI passes. Auto-Merge If Tests Pass labels Oct 28, 2020
@ghost
Copy link

ghost commented Oct 28, 2020

Hello @wli3!

Because this pull request has the Auto-Merge If Tests Pass label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 12 minutes, a condition that will be fulfilled in about 8 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit a3c12ef into dotnet:release/5.0.2xx Oct 28, 2020
@drewgillies drewgillies deleted the add-cli-list-package-vulnerable-rel branch October 28, 2020 22:10
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Merge If Tests Pass auto-merge Automatically merge PR once CI passes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants