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!

Developer



  • Hi,

    • Proget: Version 5.0.7 (Build 1)
    • License: ProGet Basic

    I dont get my retention policy to work.

    I have one retention rule for my feed:

    Delete
    - matching My.Package
    - all except the most recent 5 versions
    from the feed
    

    "My.Package" has 33 versions uploaded, but when I run FeedCleanup no packages are deleted, log:

    • Beginning cleanup for internal-feed (NuGet) feed.
    • Starting feed retention check...
    • Checking for feed retention rules...
    • Feed has 1 retention rule.
    • Checking rule 1...
    • Only delete packages that match My.Package
    • Never delete the most recent 5 versions of packages.
    • Finding packages that match retention rule 1...
    • Getting count of matching packages...
    • 0 packages qualify for deletion under this rule.
    • Deleting matching packages...
    • Deleted 0 packages (0 KB total).
    • Done checking rule 1.
    • Feed retention check completed.
    • Cleanup complete.

    What could be wrong?

    Product: ProGet
    Version: 5.0.7



  • There was an issue (PG-1208) with semantic version-enabled NuGet feeds and retention policies fixed in v5.0.8 - an upgrade should resolve this.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation