-
Notifications
You must be signed in to change notification settings - Fork 46
disable file deletion #252
Comments
Original comment by Armin Ronacher (Bitbucket: mitsuhiko, GitHub: mitsuhiko): It should not be possible in the first place to delete files if you cannot put them back. I have three proposals:
To be frank, I think only option 2 is a possible one. Imagine you accidentally delete a release and your build script is not stable, so now your user's pinned dependencies are broken forever. The current behavior is terrible will cause problems. I can't be the only person that accidentally deleted the wrong releases in the past. |
The new PyPI at
The new PyPI also has no notion of "hiding" a release, but adding the ability to "deprecate" a release is being considered in pypi/warehouse#345. |
Originally reported by: Mike Bayer (Bitbucket: zzzeek, GitHub: zzzeek)
the "delete" feature of a file now does something completely different than it has done for many years, because that filename is permanently stored in the pypi system and can never be replaced. Users who have for years known they can just press "remove" on a package and try their upload again are in for a surprise now that it's been turned off. The flow of "Removal" should be highly modified so that it is clear that nothing is really being "deleted" here, the filename is forever and it is simply being taken off the list as something that can be downloaded.
The text was updated successfully, but these errors were encountered: