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!

    API delete is not deleting packages from the file system

    Scheduled Pinned Locked Moved Support
    2 Posts 1 Posters 11 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

      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

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

        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.

        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