-
-
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
Deprecate [HackageDeps] service #10618
Conversation
Thanks. Agree we should just get rid of this. When we need to remove a service, we initially replace it with a message that says "no longer available". That way users get some kind of explanation of what happened instead of just a in their README. Then we delete it after a year (or whenever we do a clear out). There's docs on this in https://github.com/badges/shields/blob/master/doc/deprecating-badges.md and you could look at something like #10371 as an example. |
HackageDeps will allways return a landing page with 200 and no text about outdated packages. The site is down and looking for someone to take over. Therefor api information is false and non functional.
2d357ac
to
5f17d1f
Compare
My bad, didn't notice this section of the docs. Thanks for the example it saved me some time.
In the wild Github has about 2k usages of this badge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this! There are less than 1000 of these badges rendered on a typical day, I don't think this service will be hugely missed :)
Badge will always return up to date falsely as the upstream site is closed and looking for someone to take over.
The first test if a package exist will always return 200 OK even when non existing as we get the landing page.
Then we will never get "outdated dependencies" as the landing page doesn't include that text.
I looked into the https://hackage.haskell.org/api and couldn't find a quick way to replace the current upstream.
Therefor i propose we remove this badge, this is misleading at best as it's now.