Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-11181

Unlisted nuget packages are marked as latest version

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Ready to Groom
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.0.2, 3.29.0
    • Fix Version/s: None
    • Component/s: NuGet
    • Labels:
    • Notability:
      3

      Description

      If I try to get the latest version from official nuget feed and Nexus 3 (proxy repo) I get different versions.

      Example:

      // Some comments here
      https://<feed-url>/FindPackagesById()?id='Unity'
      

      Unity package has the official latest version 4.0.1. Version 4.0.2 is unlisted.

      Using nuget.org I get Unity 4.0.1 as the latest version.

          <entry>
              <id>https://www.nuget.org/api/v2/Packages(Id='Unity',Version='4.0.2')</id>
              <category term="NuGetGallery.OData.V2FeedPackage" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
              <link rel="edit" href="https://www.nuget.org/api/v2/Packages(Id='Unity',Version='4.0.2')" />
              <link rel="self" href="https://www.nuget.org/api/v2/Packages(Id='Unity',Version='4.0.2')" />
              <title type="text">Unity</title>
              <updated>2015-11-23T20:43:15Z</updated>
              <author>
                  <name>AgileSight</name>
              </author>
              <content type="application/zip" src="https://www.nuget.org/api/v2/package/Unity/4.0.2" />
              <m:properties>
                  <d:Id>Unity</d:Id>
                  <d:Version>4.0.2</d:Version>
                  <d:NormalizedVersion>4.0.2</d:NormalizedVersion>
                  <d:Authors>AgileSight</d:Authors>
                  <d:Copyright m:null="true" />
                  <d:Created m:type="Edm.DateTime">2015-11-23T20:43:15.643Z</d:Created>
                  <d:Dependencies>Unity.ServiceLocator:2.0.0:net45|Unity.ServiceLocator:2.0.0:dnx451|Unity.ServiceLocator:2.0.0:dotnet|Microsoft.CSharp:4.0.0-beta-23109:dotnet|System.IO.FileSystem:4.0.0:dotnet|System.Runtime.Serialization.Primitives:4.0.11-beta-23225:dotnet|System.Diagnostics.Tools:4.0.0-beta-23019:dotnet</d:Dependencies>
                  <d:Description>Unity Class Library</d:Description>
                  <d:DownloadCount m:type="Edm.Int32">4368395</d:DownloadCount>
                  <d:GalleryDetailsUrl>https://www.nuget.org/packages/Unity/4.0.2</d:GalleryDetailsUrl>
                  <d:IconUrl m:null="true" />
                  <d:IsLatestVersion m:type="Edm.Boolean">false</d:IsLatestVersion>
                  <d:IsAbsoluteLatestVersion m:type="Edm.Boolean">false</d:IsAbsoluteLatestVersion>
                  <d:IsPrerelease m:type="Edm.Boolean">false</d:IsPrerelease>
                  <d:Language m:null="true" />
                  <d:LastUpdated m:type="Edm.DateTime">2015-11-23T20:43:15.643Z</d:LastUpdated>
                  <d:Published m:type="Edm.DateTime">1900-01-01T00:00:00</d:Published>
                  <d:PackageHash>mM/AGqlra8MMY75PSzFNqWgE8ZDxd8pTbXZ4U1TzOxPqRbeSog7bnXDJ4MhH/qC7rJsCLqj5pm3ipSRM/Q1TzQ==</d:PackageHash>
                  <d:PackageHashAlgorithm>SHA512</d:PackageHashAlgorithm>
                  <d:PackageSize m:type="Edm.Int64">250092</d:PackageSize>
                  <d:ProjectUrl m:null="true" />
                  <d:ReportAbuseUrl>https://www.nuget.org/packages/Unity/4.0.2/ReportAbuse</d:ReportAbuseUrl>
                  <d:ReleaseNotes m:null="true" />
                  <d:RequireLicenseAcceptance m:type="Edm.Boolean">false</d:RequireLicenseAcceptance>
                  <d:Summary></d:Summary>
                  <d:Tags></d:Tags>
                  <d:Title>Unity</d:Title>
                  <d:VersionDownloadCount m:type="Edm.Int32">4816</d:VersionDownloadCount>
                  <d:MinClientVersion m:null="true" />
                  <d:LastEdited m:type="Edm.DateTime">2015-11-24T17:41:52.513Z</d:LastEdited>
                  <d:LicenseUrl m:null="true" />
                  <d:LicenseNames m:null="true" />
                  <d:LicenseReportUrl m:null="true" />
              </m:properties>
          </entry>
      

      Using Nexus 3 I get Unity 4.0.2 as the leatest version.

          <entry>
              <id>http://repo.schroeder.recy-systems.com/repository/nuget-group/Packages(Id='Unity',Version='4.0.2')</id>
              <title type="text">Unity</title>
              <summary type="text"></summary>
              <updated>2015-11-23T20:43:15.643Z</updated>
              <author>
                  <name>AgileSight</name>
              </author>
              <link rel="edit-media" title="V2FeedPackage" href="Packages(Id='Unity',Version='4.0.2')/$value" />
              <link rel="edit" title="V2FeedPackage" href="Packages(Id='Unity',Version='4.0.2')" />
              <category term="NuGetGallery.V2FeedPackage" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
              <content type="application/zip" src="http://repo.schroeder.recy-systems.com/repository/nuget-group/Unity/4.0.2" />
              <m:properties>
                  <d:Version>4.0.2</d:Version>
                  <d:Copyright m:null="true"></d:Copyright>
                  <d:Created m:type="Edm.DateTime">2015-11-23T20:43:15.643Z</d:Created>
                  <d:Dependencies>Unity.ServiceLocator:2.0.0:net45|Unity.ServiceLocator:2.0.0:dnx451|Unity.ServiceLocator:2.0.0:dotnet|Microsoft.CSharp:4.0.0-beta-23109:dotnet|System.IO.FileSystem:4.0.0:dotnet|System.Runtime.Serialization.Primitives:4.0.11-beta-23225:dotnet|System.Diagnostics.Tools:4.0.0-beta-23019:dotnet</d:Dependencies>
                  <d:Description>Unity Class Library</d:Description>
                  <d:DownloadCount m:type="Edm.Int32">4299299</d:DownloadCount>
                  <d:GalleryDetailsUrl>https://www.nuget.org/packages/Unity/4.0.2</d:GalleryDetailsUrl>
                  <d:IconUrl m:null="true"></d:IconUrl>
                  <d:IsLatestVersion m:type="Edm.Boolean">true</d:IsLatestVersion>
                  <d:IsAbsoluteLatestVersion m:type="Edm.Boolean">true</d:IsAbsoluteLatestVersion>
                  <d:IsPrerelease m:type="Edm.Boolean">false</d:IsPrerelease>
                  <d:Published m:type="Edm.DateTime">1900-01-01T00:00:00.000Z</d:Published>
                  <d:Language m:null="true"></d:Language>
                  <d:LicenseUrl m:null="true"></d:LicenseUrl>
                  <d:PackageHash>mM/AGqlra8MMY75PSzFNqWgE8ZDxd8pTbXZ4U1TzOxPqRbeSog7bnXDJ4MhH/qC7rJsCLqj5pm3ipSRM/Q1TzQ==</d:PackageHash>
                  <d:PackageHashAlgorithm>SHA512</d:PackageHashAlgorithm>
                  <d:PackageSize m:type="Edm.Int64">250092</d:PackageSize>
                  <d:ProjectUrl m:null="true"></d:ProjectUrl>
                  <d:ReportAbuseUrl>https://www.nuget.org/packages/Unity/4.0.2/ReportAbuse</d:ReportAbuseUrl>
                  <d:ReleaseNotes m:null="true"></d:ReleaseNotes>
                  <d:RequireLicenseAcceptance m:type="Edm.Boolean">false</d:RequireLicenseAcceptance>
                  <d:Tags></d:Tags>
                  <d:Title>Unity</d:Title>
                  <d:VersionDownloadCount m:type="Edm.Int32">4698</d:VersionDownloadCount>
              </m:properties>
          </entry>
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            er@recy-systems.com Eugen Richter
            Last Updated By:
            Rich Seddon Rich Seddon
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title