Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    ProGet: Issue: Latest versions listed at bottom of list

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 13 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MaxCasconeM Offline
      MaxCascone
      last edited by

      ProGet version: Version 5.3.43 (Build 4-proget53)

      Hi,

      We've seen twice now that the latest build package published to ProGet is showing at the bottom of the list of versions.

      Additionally, the "Latest Version" shown on the feed main page does not reflect the actual latest version.

      I have a feeling we are not understanding something about semantic versioning and pre-release version semantics.

      We are using separate Dev and Prod feeds. Ready-To-Ship packages are manually (for now) repackaged into the Prod feed. So by design we'll never have a "stable" release version in the Dev feed. Part of me feels this is overcomplicating things, but it feels "safer" to have an Approved Packages Only feed to deploy to Production with.

      Example:

      • 2.1.1-PLATDEV-11647-1017 is shown at the top of the list, after 2.1.1-PLATDEV-11647-1016, 2.1.1-PLATDEV-11647-1015, etc.
        At the bottom of the list is 2.1.1-develop-2018, which is the most recent build of this package.
        On the main feed page, Latest Version: 2.1.1-PLATDEV-11647-1017 is displayed.

      I just saw this post which seems to be related. I tried to repackage a existing package with a lower, 3-digit version, and it didn't work, possibly because it was just a repackage and not an upload; regardless, this doesn't feel like a valid workaround.

      1 Reply Last reply Reply Quote 0
      • Dan_WoolfD Offline
        Dan_Woolf inedo-engineer
        last edited by

        Hi @mcascone,

        So this is actually working as expected. We order by the version number itself instead of the upload date, which is why you are seeing that version on the bottom. When ordering, we order first by major, then minor, then patch. So in this case 1-PLATDEV > 1-develop, which is why 2.1.1-develop-2018 drops to the bottom.

        I believe we have sent this to you before, but just in case we have not. We have created an article for
        Best Practices for Versioning NuGet Packages in the Enterprise
        . This goes into a lot more detail on NuGet versioning.

        Thanks,
        Dan

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation