stevearc / pypicloud-docker

Docker image for pypicloud
MIT License
86 stars 34 forks source link

Deleting package version from webui as admin is not deleting from s3 #21

Open saurabtanej opened 6 years ago

saurabtanej commented 6 years ago

I want to delete some versions from our Pypi repo. Our repo is hosted on S3.

When I delete it from WebUI using admin credentials, It deletes the package from WebUI for sometime and the package reappears magically again after sometime. I checked the object still exists in S3 after deleting from WebUI.

Do we need to do something special to delete packages from Pypi (and s3 eventually) or is it a bug?

stevearc commented 6 years ago

This is more a question for the main repo, as it doesn't have anything to do with docker.

That behavior shouldn't be happening. If I had to guess, I'd say that maybe your AWS credentials don't have delete access on the S3 bucket. I'd recommend checking the logs when you delete a package to see if there are any exceptions.