badges / shields

Concise, consistent, and legible badges in SVG and raster format
https://shields.io
Creative Commons Zero v1.0 Universal
23.9k stars 5.51k forks source link

Deprecate [HackageDeps] service #10618

Closed jNullj closed 1 month ago

jNullj commented 1 month ago

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.

image

github-actions[bot] commented 1 month ago
Messages
:book: :sparkles: Thanks for your contribution to Shields, @jNullj!

Generated by :no_entry_sign: dangerJS against 5f17d1f8c1d1943e7ee65bfff0a6fe7251cba2a9

chris48s commented 1 month ago

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 https://github.com/badges/shields/pull/10371 as an example.

jNullj commented 1 month ago

My bad, didn't notice this section of the docs. Thanks for the example it saved me some time.

http://localhost:8080/hackage-deps/v/test Screen Shot 2024-10-18 at 11 49 21

In the wild Github has about 2k usages of this badge