Skip to content

'cabal upload --check' broken #1823

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

Closed
hvr opened this issue Apr 26, 2014 · 5 comments
Closed

'cabal upload --check' broken #1823

hvr opened this issue Apr 26, 2014 · 5 comments

Comments

@hvr
Copy link
Member

hvr commented Apr 26, 2014

I noticed that cabal upload --check is broken, as it uses the hardcoded URL:

checkURI :: URI
Just checkURI = parseURI "http://hackage.haskell.org/cgi-bin/hackage-scripts/check-pkg"

Which doesn't seem to work anymore (it responds with a 404). Is it planned to have this functionality restored?

@23Skidoo
Copy link
Member

@dcoutts, does the new Hackage server provide this functionality?

@23Skidoo
Copy link
Member

See also haskell/hackage-server#128

@dcoutts
Copy link
Contributor

dcoutts commented Nov 20, 2014

Yes, it looks like we never implemented the check feature because we expected to replace it with the package candidates feature. The candidate feature more or less works. We should probably add support to cabal-install for using the candidates feature. May also want to support the existing one-off style check feature if we think they're distinct use cases.

@23Skidoo
Copy link
Member

For those wondering what package candidates are, from https://hackage.haskell.org/new-features:

Package “candidates”. You may have noticed that package versions are often uploaded in quick succession — sometimes just minutes apart — because a mistake is only noticed after the author uploaded. This feature lets you upload a “candidate”, giving it a URL that others can download from, and gives an opportunity for build bots and documentation builders to try the package out. Once the author is satisfied then they can publish to the main package index. We think this feature is about 90% complete. See haskell/hackage-server#41.

@ttuegel
Copy link
Member

ttuegel commented Apr 24, 2015

If this option has been replaced by package candidates, should it be removed?

23Skidoo added a commit to 23Skidoo/cabal that referenced this issue May 11, 2016
23Skidoo added a commit to 23Skidoo/cabal that referenced this issue May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants