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!

    Pull all cached packages to ProGet

    Scheduled Pinned Locked Moved Support
    proget
    4 Posts 2 Posters 44 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.
    • F Offline
      florian.peschka_9815
      last edited by

      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

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

        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.

        1 Reply Last reply Reply Quote 0
        • F Offline
          florian.peschka_9815
          last edited by

          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.

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

            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

            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