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!

    Nuget SemVer 2.0.0

    Scheduled Pinned Locked Moved Support
    progetnuget
    4 Posts 1 Posters 6 Views
    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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,

      i tried to upload a package which was versioned with githash in it (1.0.0+abcdabcd). Now this is a valid version according to this: https://docs.microsoft.com/en-us/nuget/reference/package-versioning

      The upload was failed because ProGet couldn't parse the version number. This is the end of the stack trace:

       at Inedo.ProGet.Feeds.NuGet.NuGetVersion.Parse (System.String version) [0x00008] in <71613e4cf66848b0a13ff66ec5f0e241>:0 
        at Inedo.ProGet.Feeds.NuGet.NuGetPackage.ReadFromNuspecFile (System.IO.Stream nuspecStream) [0x00083] in <71613e4cf66848b0a13ff66ec5f0e241>:0 
        at Inedo.ProGet.Feeds.NuGet.NuGetFeed+<InstallOrUpdatePackageAsync>d__40.MoveNext () [0x000e5] in <782cac368f944d919f2746c16d685751>:0 
      --- End of stack trace from previous location where exception was thrown ---
      

      Is this a bug in the version parse? Do you have any idea how should i upload packages like this?

      Attila

      Product: ProGet
      Version: 4.7.13

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        SemVer 2.0 for NuGet feeds will be supported in ProGet v5.0.0. The beta is already out if you want to try it out (note there are still some known oddities that we have already fixed in 5.0.1 internally).

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Thank you for the fast answer.
          We are using ProGet as a docker image. Right now i don't see any v5 or beta images on the Docker Hub.
          Are you planning to build a docker image from the beta or should we wait for the final version? Do you have any plans when will the v5 be released?

          Thanks!
          Attila

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            We plan to make the next beta release (5.0.1) available as a Docker image - most likely this week. Unfortunately we weren't able to get one out for the initial beta due to some issues with the PostgreSQL database update scripts, but we have since resolved those.

            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