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!

    Bulk Import not deleting packages

    Scheduled Pinned Locked Moved Support
    proget
    4 Posts 1 Posters 24 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

      I created a folder and placed all my nuget packages in it to do a bulk import in to Proget. Proget does scan the folder and imports all the packages, but it does not removing them from the import folder when they are successfully imported.

      This is the description in the documentation:

      Bulk Import Drop Path

      If set, ProGet will periodically scan this path for packages to import into the feed. Each package that is successfully imported will then be deleted from this path. This is useful for a one-time import of lots of packages, or as a target for a build tool that produces a NuGet package.

      I was expect that "Each package that is successfully imported will then be deleted from this path."

      Is there something else that needs configured for it to delete the packages?

      Thanks

      Product: ProGet
      Version: 3.5.8

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

        I'm guessing that the ProGet service account doesn't have permission to delete files from that directory. By default, ProGet is installed using the Network Service account, which is very restricted. I'd check to make sure Network Service has read/write permission for that path.

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

          That appeared to be the issue.

          A follow on to that, what happens if I put a package in the Import folder that already exits in ProGet. It doesn't appear to delete it. Is that the proper behavior or should it delete packages that already exits as well.

          Thanks

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

            The current behavior is to never overwrite existing packages during a bulk import. Maybe we should add a configuration flag for this- at the very least I'll make a note to update the documentation to describe this behavior.

            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