Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. mike.vanoorschot_1180
    3. Topics

    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!

    M Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Groups 0

    Topics

    • M

      ProGet: incorrect license violations and errors when recording them

      Watching Ignoring Scheduled Pinned Locked Moved Support
      6
      0 Votes
      6 Posts
      25 Views
      atrippA
      Hi @mike-vanoorschot_1180 We check for local requests using HttpRequest.IsLocal, which basically just looks for 127.0.0.1. If it's not local, then a license violation is recorded. If the server doesn't resolve proget.xxxx.com as 127.0.0.1, then configuring BaseUrl will be a problem, especially with NuGet. The NuGet API requires absolute urls (issue #1), and many API responses are just URLS that the client (in this case, the connector) must follow to get the "real answer" (issue #2). So this will trigger license violations. If you need to specify a BaseUrl (you really shouldn't have to), then you'll need add a /etc/hosts entry for proget.xxxx.com 127.0.0.1
    • M

      ProGet: nuget.org connector still using v2 after upgrade to 5.3.x and changing to v3 url

      Watching Ignoring Scheduled Pinned Locked Moved Support
      5
      0 Votes
      5 Posts
      32 Views
      atrippA
      For this, you could just disable the connector, and use a Promoted-package workflow, where you manually promote approved packages from one feed (Unapproved) to another feed (Approved). When the request is very simple, like "give me this exact version of this exact package", then it's not forwarded. But typically the request is, "what's the latest version of this package". Of course, that must be forwarded and aggregated against all connectors. Why the client makes such a request in some cases is a mystery, but that's why they rewrote everything from scratch into a new, v3 api.
    • 1 / 1