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!

API delete is not deleting packages from the file system



  • Hi,

    I am running proget Version 2.2.7 (Build 3) on a Windows 2012 server hosted on IIS with my own instance of MSSQL Enterprise.

    When I do an API call to delete a package from a feed I see the package remains on the file system. I can no longer find the package on the website or the database however the problem arises when I call to the API again for all available packages on that feed and the package magically re-appears.

    I think if the API was deleting the package from the file system as well as the DB I wouldn't be experiencing this issue.

    Regards,
    Calvin



  • The API is meant to administer ProGet itself, not anything related to packages - that method should actually be hidden. All it does is remove the entry from the DB, but when re-indexing occurs, of course it would get added back.

    If you on the other hand simply delete the file from the file system, or run nuget.exe delete then it will work.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation