Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    proget
    2 Posts 2 Posters 15 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pmsensi
      last edited by

      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.

      27cd1701-e1c5-48d8-a2a4-8302d307be07-image.png

      Best Regards,
      Pedro

      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @pmsensi
        last edited by

        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/analyze

        The pgutil packages audit command should also provide similar information on a package level.

        Is that's what you're looking for?

        Thanks,
        Steve

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation