Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. pero.p

    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!

    P Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    pero.p

    @pero.p

    0
    Reputation
    6
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    pero.p Unfollow Follow

    Latest posts made by pero.p

    • No xml:base attribute in service node of nuget endpoint response

      Hitting a nuget feed endpoint in proget returns the following:

      <service xmlns="http://www.w3.org/2007/app">
         <workspace>
            <title xmlns="http://www.w3.org/2005/Atom">Default</title>
                <collection href="Packages">
                     <title xmlns="http://www.w3.org/2005/Atom">Packages</title>
                </collection>
          </workspace>
      </service>
      

      The root node, service, contains no xml:base attribute which is seen in other v2 endpoints, e.g. https://www.nuget.org/api/v2:

      <service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xml:base="https://www.nuget.org/api/v2">
      

      It appears Dependabot uses the base attribute to build it's list of nuget sources from nuget.configs. As a result of the ProGet not returning a base attribute in the response Dependabot is not able to query the feed for updates to packages.

      Is there a reason this attribute is not set? I see there is a Web.BaseUrl config setting in ProGet's advanced settings so I was wondering if setting this would result in the attribute showing up?

      Thanks

      posted in Support
      P
      pero.p