404 checker #201
Replies: 6 comments 3 replies
-
Love this idea. |
Beta Was this translation helpful? Give feedback.
-
An attempt was made to solve this in #75 but didn't take into account rate-limiting so we disabled the command. @cameronscott137, the creator of the PR, outlined a good flow that I generally agree with a few modifications:
Regarding the actual rate-limiting, I believe we can take advantage of Laravel's job rate-limiting features to space out the jobs and ensure we're not hammering third party sites. Importantly, before this command set in the scheduler and emails go out to offline packages, we need to allow users to delete packages. #81 is open to track that issue. |
Beta Was this translation helpful? Give feedback.
-
@marcusmoore confirmed. Will attempt redemption this weekend. Having achieved some distance from it, the only addition that I would like to make is an alert on the package edit screen, notifying the author that an issue was detected with their URL. Within that alert, I'd like to include a link for the author to reset the URL status without changing the stored URL Right now, the PR is coded to assume a change in the URL, but that might not always be the case. Furthermore, it's not immediately clear from the UI that changing the URL is required to reset the status. That will—and evidently did—lead to author confusion. |
Beta Was this translation helpful? Give feedback.
-
Don't stress about it too much! 😄 I totally agree about making it clearer to the author that changing the url is what is needed to fix the issue. I would be ok with allowing the author to reset the url status (if they had made the repo private or something and then wanted to republish it). We would just want to make sure we check the url when it's submitted to make sure it's not still a 404. |
Beta Was this translation helpful? Give feedback.
-
@marcusmoore Right on. Will open another PR in a few days. Hope you're well! |
Beta Was this translation helpful? Give feedback.
-
** hat in hand ** @marcusmoore just got tagged when you converted this to a discussion. Happy to get this across the finish line unless y'all have other plans. Let me know, and thanks! |
Beta Was this translation helpful? Give feedback.
-
As the ecosystem matures a number of older packages are starting to have issues. The one that could be auto detected are the ones that are giving 404s because links have not been maintained.
Perhaps there can be some kind of scraper on this site that runs through all the links and looks for 404s. If a 404 is found then either the owner is notified or a small minor badge is attached to the detail view of the package to indicate 404 issues.
It's a bit disheartening to look at a package only to find some key links one would rely on no longer exists.
Beta Was this translation helpful? Give feedback.
All reactions