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!

    Update range dependencies

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 3 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.
    • B Offline
      bkohler_1524
      last edited by

      We are looking to use ranges as dependencies. If when we upload we select a range of 1.0.1 or newer how can we update it if the end range now has a cap.

      For example, product A version 1.0.0 works with all versions of product B after 1.1.0. We then release product A version 2.0.0 and it works with all version of product B after 2.0.0, but Product A does not work with product B 1.1.0. We now need to add an end range on the dependency of product B to be 1.1.0 thru 1.9.0.

      I did see a previous discussion, but I don't think our use case was addressed Update Dependencies for older version of NuGet package in ProGet

      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        Hello @bkohler_1524,

        Because packages are immutable, you need to decide the future-compatibility at the time you create the package. This is where Semantic Versioning dependencies can really help.

        Following the rules of SemVer, you can say that "ProductA 1.0.0 has a dependency on ProductB (1.1.0-2.0.0]", what that means is that you can use every version of ProductB from 1.1.10 up to (but not including) 2.0.0.

        This allows you to make as many minor versions of ProductB (such as 1.200.0) before "breaking" compatibility.

        If these version numbers are business/marketing-driven, and it's impossible to change their mind on versioning, you can always maintain an internal version number - this is what many products (such as Microsoft) does.

        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