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!

Pull all cached packages to ProGet



  • Is there a way to pull all currently "cached" packages to ProGet? I don't see any difference in the two states other than cached packages are removed when I clear the cache, so it doesn't seem like that action is doing much.

    Product: ProGet
    Version: 5.1.10



  • Well, it's a bit like the difference between a file automatically cached by your web browser and a file you downloaded. Both are stored on disk in a folder, and it can be hard to explain the differences without getting quite technical.

    There is no function that I'm aware of to do this, but you could use the Native API to query cached packages, and then pull them.



  • I know the theory behind the cached packages.

    I looked into the Databse of ProGet, it appears to me that the "cached" status is simply a boolean field in the database.

    Changings that seems to be effectively all that happens when you "Pull to ProGet" from the webinterface.

    Unfortunately, I can't look into the ProGet source to confirm this, but evidence seems to be strong that all it is is a flag on the package version.



  • Behind the scenes, that's the only difference in how they're stored (and has been for as long as I remember); but I do know that data directly in the database is not officially supported. But for a one-off thing it's fine to do IMO


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation