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
cabal upload creates candidate without asking #3931
Comments
@edsko Well, there was the idea to have hackage automatically delete a candidate when its published or the exact same version uploaded, and then reject candidates being uploaded for which the very same version already exists published in the index. IOW, candidates ought to be really just one of 3 states for a package version:
|
Fair enough. |
I think there's currently no way to delete a package candidate (except maybe via REST API?). |
There is, although it took me a minute to find it as well. After you click on "Edit package information" you will be given an option to delete a candidate. |
Thanks, now I see it. You must go to https://hackage.haskell.org/package/foo-$VER/candidate/maintain instead of https://hackage.haskell.org/package/foo/maintain. |
Can we close this bug? |
Is there a |
@23Skidoo now there is... :-) |
OK, closing in favour of haskell/hackage-server#558. |
This might be what we want, but it might result in a lot of unnecessary candidate packages on Hackage; especially since the instructions say:
but don't explain how the candidate can be deleted (in fact, the wording suggests to me that
--upload
will delete the candidate, but it doesn't).Perhaps a better UI might be
cabal upload --publish
versuscabal upload --candidate
with either--publish
or--candidate
required.Pinging @dcoutts and @hvr .
The text was updated successfully, but these errors were encountered: