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 --check' broken #1823

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

Comments

Projects
None yet
4 participants
@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

This comment has been minimized.

Copy link
Member

23Skidoo commented Apr 26, 2014

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

@23Skidoo

This comment has been minimized.

Copy link
Member

23Skidoo commented Nov 20, 2014

@dcoutts

This comment has been minimized.

Copy link
Member

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

This comment has been minimized.

Copy link
Member

23Skidoo commented Nov 20, 2014

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

This comment has been minimized.

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