Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. mike.vanoorschot_1180
    3. Topics
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by mike.vanoorschot_1180

    • M

      ProGet: incorrect license violations and errors when recording them
      Support • • mike.vanoorschot_1180  

      6
      0
      Votes
      6
      Posts
      25
      Views

      atripp

      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
      Support • • mike.vanoorschot_1180  

      5
      0
      Votes
      5
      Posts
      31
      Views

      atripp

      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