-
Notifications
You must be signed in to change notification settings - Fork 250
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
Signing: implement dotnet verify
command
#8051
Comments
Adding a completely new command, especially in dotnet.exe can have a lot of tail. I'd recommend you review: https://github.com/NuGet/NuGet.Client/blob/dev/docs/feature-guide.md#cli-nugetexe--dotnetexe-considerations and create the respective issues. Note that the dotnet/sdk repo side changes need to be done in the same time period as the nuget side one. |
Thank @nkolev92 for the feedback.
|
N/A in this case. It's not N/A. There is parsing work on the dotnet.exe side. This needs done and it should be in the same release as the NuGet changes otherwise customers can end up with a thing where they simply can't invoke the command at all through dotnet.exe. See related code: https://github.com/dotnet/sdk/blob/master/src/Cli/dotnet/commands/dotnet-list/dotnet-list-package/ListPackageReferencesCommand.cs + https://github.com/dotnet/sdk/blob/master/src/Cli/dotnet/commands/dotnet-list/dotnet-list-package/ListPackageReferencesCommandParser.cs. The repo for that is https://github.com/dotnet/sdk. Previous PR for a similar command is |
I think missing tab completion and missing help from But certainly the entire feature is not complete until the dotnet cli and dotnet docs are finished. |
I don't think the arguments will get forwarded. Afaik, the whole feature simply wouldn't work, but worth double checking that. |
Unfortunately this is not true :( I tried to call that out in https://github.com/NuGet/NuGet.Client/blob/dev/docs/feature-guide.md#cli-nugetexe--dotnetexe-considerations, but maybe that doc can be made more specific. Consider getting a patched SDK with your changes to test out whether the dotnet nuget verify arguments get forwarded. Feel free to ping me if you need help. |
Thanks, Nikolche. I followed your suggestion by placing a breakpoint just before executing verify command is last in the
verified a package from patched CLI
|
I am glad I was wrong about the feature not working! I think
We should try to add it sooner rather than later though. We don't want to be out of sight/out of mind. We should still have an SDK side issue and a dotnet/docs issue. |
dotnet verify
command
Implement "dotnet verify" command according to NuGet.exe command "nuget verify".
The text was updated successfully, but these errors were encountered: