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