-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
hackage-deps: incorrect not found
check
#1498
Comments
Thanks for reporting this. I'm not haskell programmer but I did add this error handling. We had to use a workaround to try and work out if a package is indexed due to snoyberg/packdeps#35 - see #1416 (for discussion on adding the error handling). My instinct is that we should change from using the As someone more familiar with the haskell community, does that seem reasonable @jakubdaniel ? |
Is there a reason why not simply use hackage.haskell.org/package/..., which seems to return 404 too if the package is not known? If the point is to avoid discrepancies between hackage.haskell.org and packdeps.haskellers.com, then the licenses endpoint might do. I am not affiliated with neither though, so don’t take my word for it :). |
Yes - this was the situation we're trying to guard against, although I'm unclear whether this is a likely condition. Given Hackage requires all packages to be published under an open source license I've submitted PR #1506 proposing to change to the |
* switch to /licenses endpoint to check if package exists refs #1498 * trim whitespace from version string
hackage-deps
claims to check existence of package (say3d-graphics-examples
) by looking for packages that depend on it. If there are none thennot found
badge is returned, instead of checking the dependencies of3d-graphics-examples
.The text was updated successfully, but these errors were encountered: