Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Get package license with ProGetClient
-
Hello,
I was trying to use ProGetClient to get the license information from a NuGet package present on a feed, but I didn't find any method to get that information.
I know I can use the NuGet CLI to get that information, but if the license is set on ProGet GUI, the returned license is not what we have on ProGet, but what is present in the package metadata.
As an example, the System.Memory 4.5.5 has a URL license, and on ProGet, it was set to MIT.
Best Regards,
Pedro
-
Hi @pmsensi ,
The
pgutil builds audit
command should show the same license information you see in the UI:
https://docs.inedo.com/docs/proget/api/sca/builds/analyzeThe
pgutil packages audit
command should also provide similar information on a package level.Is that's what you're looking for?
Thanks,
Steve