Skip to content
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

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

jNullj
Copy link
Collaborator

@jNullj jNullj commented Oct 16, 2024

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

Copy link
Contributor

github-actions bot commented Oct 16, 2024

Messages
📖 ✨ Thanks for your contribution to Shields, @jNullj!

Generated by 🚫 dangerJS against 5f17d1f

@jNullj jNullj added needs-upstream-help Not actionable without help from a service provider service-badge New or updated service badge keep-service-tests-green Related to fixing failing tests of the services javascript [dependabot only] Pull requests that update Javascript packages labels Oct 16, 2024
@chris48s
Copy link
Member

chris48s commented Oct 17, 2024

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.

@chris48s chris48s removed the needs-upstream-help Not actionable without help from a service provider label Oct 17, 2024
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.
@jNullj jNullj force-pushed the fix/service-test-green/hackage branch from 2d357ac to 5f17d1f Compare October 18, 2024 08:44
@jNullj jNullj changed the title remove HackageDeps - upstream dead Deprecate [HackageDeps] service Oct 18, 2024
@jNullj
Copy link
Collaborator Author

jNullj commented Oct 18, 2024

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

Copy link
Member

@PyvesB PyvesB left a 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 :)

@PyvesB PyvesB added this pull request to the merge queue Oct 20, 2024
Merged via the queue into badges:master with commit 04f4fbd Oct 20, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript [dependabot only] Pull requests that update Javascript packages keep-service-tests-green Related to fixing failing tests of the services service-badge New or updated service badge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants