EbookFoundation / free-programming-books

:books: Freely available programming books
https://ebookfoundation.github.io/free-programming-books/
Creative Commons Attribution 4.0 International
327.02k stars 60.58k forks source link

lint: Broken links reported from urlchecker #5470

Closed davorpa closed 1 year ago

davorpa commented 2 years ago

It seems that some links are down :worried: like in the past #2541. It's rare, because ci build didn't fail

Last full update: July 5, 2022

:hammer_and_wrench: How to proceed

First look up for an alternative link:

  1. Try to change protocol http-https.
  2. On the same site. Maybe was moved due to a website redesign.
  3. In the author/editorial/publisher site
  4. In The Wayback Machine or Unglue.it
  5. In third-party websites, specially public libraries, universities or colleges.

If in none of :arrow_up: was found, then delete it









What we could do to fix it?

Related with

eshellman commented 2 years ago

The link checking CI doesn't fail because we don't want submitters to be distracted by unrelated link failures and there is a background of false negatives. We've discussed having the link checker autogenerate issues, but no one has really worked on it much.

davorpa commented 2 years ago

Yes. I've see first step would be take bot report and publish as PR comment or attach to a pinned issue as recurrent comment using a cron job.

Another good option would be send a backup to wayback machine of each link on push over master branch (merge). It could be also a cron to catch updates.

Let me research a bit more about GitHub actions, and maybe I can help.

davorpa commented 2 years ago

After https://github.com/EbookFoundation/free-programming-books/pull/6471#commitcomment-58850566 , this is interesting....

image

_Originally posted by @davorpa in https://github.com/EbookFoundation/free-programming-books/pull/6471#discussion_r738707137_

Herisanto commented 2 years ago

my fb hack someone

LuigiImVector commented 1 year ago

Latest update: July 18, 2022

A list with all the broken links, I got it from this workflow: https://github.com/LuigiImVector/free-programming-books/actions/runs/2692542026 (I used this script)

See how to proceed in the first message

./books/

./casts/

./courses/

./more/


It will be fun :upside_down_face:

LuigiImVector commented 1 year ago

Discussion moved to #6942