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!

    Filter by version in Proget Retention Rules

    Scheduled Pinned Locked Moved Support
    proget
    9 Posts 2 Posters 4 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,

      We make use of the prerelease tag in the NuGet package to tag packages with different uses.

      Ex:

      My.Package.1.0.0-dev-20151126-1545

      I'd like to be able to filter the retention rules for a feed on the version, not just id/name.

      Ex. I would like to only keep the latest 10 versions of all packages that matches the "rel" tag in the version. Thins would not touch packages named ex. My.Package.1.0.0-rel-20151126-1545.

      Thanks,

      /Erik

      Product: ProGet
      Version: 3.8.6

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

        I've noted this as a feature request!

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

          Any updates on this feature?

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

            Filtering retention rules by pre-release version was implemented a while ago.

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

              I want to filter on the pre-release tag, not version. "my.Package" is the ID, "1.0.0" is the version and the pre-release tag is ex. "-dev-20151126-1545"

              My.Package.1.0.0-dev-20151126-1545
              My.Package.1.0.0-rel-20151126-1645

              I want to be able to delete all packages which has the word "-dev-" in the pre-release tag.

              To my knowledge you can't do this at the moment.

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

                No, you cannot do this as the moment and would also like to have this functionality.

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

                  Why would you guys want this?

                  I can't quite figure it out... you have a "pre-release" version called "release"? Doesn't this totally defeat the purpose of semantic versioning?

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

                    We've also encountered a scenario where we had hoped we could filter by the pre-release prefix/tag.

                    In the same feed, we have a bunch of -betaNNN packages coming from our development CI process. We also have a few -rcMMM packages that are release candidates and are undergoing additional testing.

                    For example, we would have liked a retention policy of keeping the last 10 -beta packages AND the last 3 -rc packages.

                    As it is now, if we use the "Delete prerelease versions" filter, a slew of new -beta packages will cause the older -rc packages to get purged away.

                    1 Reply Last reply Reply Quote 0
                    • jraschJ Offline
                      jrasch inedo-engineer
                      last edited by

                      We will implement retention policy filtering by version. See the tracking issue here for updates: PG-1278

                      Hopefully it will be in the official v5.1 release (or soon-after maintenance release) but it may also be there earlier since we are also going to allow pre-release product versions to be downloaded from the Hub installer.

                      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