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



  • 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



  • I've noted this as a feature request!



  • Any updates on this feature?



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



  • 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.



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



  • 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?



  • 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.


  • inedo-engineer

    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.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation