Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-15427

Unable to download NLog newer than 4.4.6 from proxy repo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: 5.5.1
    • Fix Version/s: None
    • Component/s: NuGet
    • Environment:

      Linux x64; Java 8. Nuget client version 4+ (which is delivered with Microsoft Visual Studio 2017)

    • Severity:
      High

      Description

      Steps to reproduce:

      • Setup remote repository in Artifactory to nuget.org
      • Create empty C# project in Visual Studio 2017
      • Open window "Package Manager Console" (see Microsoft docs)
      • Execute line "Find Package -Id NLog -Source "http://...."", where http address should be from first item (e.g. to remote nuget repo)
      • Remember package list
      • Go to official nuget site to see available packages https://www.nuget.org/packages/NLog/4.4.12

      Expected result:
      MSVS shows the same last packages with nuget web site , both of them are 4.4.12

      Actual result:
      Local Artifactory has the last nuget package version - 4.4.6
      Nuget.org web side has the last nuget package version - 4.4.12

      Possible issue:
      Nuget Api v2 returns 100 packages per single request. So, NLog package with version 4.4.6 is the 100th version of this package. You can check url https://your-artifactory/api/nuget/nuget.org-proxy/FindPackagesById()?id=%27NLog%27&$skip=100 and https://your-artifactory/api/nuget/nuget.org-proxy/FindPackagesById()?id=%27NLog%27&$skip=1 (see the last number of this URL)

      Therefore, possible, Artifactory does not do deep lookup of the package and can return only 100 versions of package.

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              igor.manushin Igor Manushin (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-15427 -
                  SYNCHRONIZED
                  • Last Sync Date: