-
Notifications
You must be signed in to change notification settings - Fork 199
Delete erroneously uploaded package versions #382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
if you do that, please use the unofficial convention and add a |
@manny-fp unfortunately this is going to get harder to implement not easier, because we'll soon be serving an append-only log of all the package uploads and changes (think git like, only additions, never rebasing). So as a matter of policy, I'd prefer to only delete things when we're really compelled to by legal reasons (copyright, illegal content etc). |
Duplicate of #112? It seems to me that there are several cases we may need to deal with here... Mistakes in uploads of otherwise-permitted content (e.g. Tarballs that cannot be distributed Cabal files that cannot be distributed |
This is slightly different than #112 in that it's about removing a specific version of a package, rather than the whole package. But it's close enough that merging the two issues probably makes sense. I'd definitely be happy if the resolution is hiding deprecated versions by default. |
This is motivated by the fact that last week I mistakenly uploaded an weird stack version (9.9.9). I asked the Hackage admins to remove it, but was told that there is currently no ability to delete package versions in hackage. Admins did tell me that it's not a difficult feature to add and that it's something they want to do, so posting this issue to make it easier to track it.
Aside from fixing dumb mistakes, there could be important reasons this needs to be done, such as copyright violation or other illegal content.
Deprecating a version helps a bit, but I found it did not prevent
cabal install stack
from installing the 9.9.9 version (however, giving it impossible dependency version bounds did the trick).I am happy to work on a PR to implement this myself, but it would be most helpful to have someone nudge me in the right direction before I start.
The text was updated successfully, but these errors were encountered: