typelead / eta

The Eta Programming Language, a dialect of Haskell on the JVM
https://eta-lang.org
BSD 3-Clause "New" or "Revised" License
2.61k stars 141 forks source link

Update URLs #989

Open jsoref opened 2 years ago

jsoref commented 2 years ago

Description

Generally https urls should be preferred over http urls. Also, live urls should be preferred over dead ones.

Note that I tend to leave distinct changes as distinct commits as it makes it easier for me to drop things that groups don't like. I'm not attached to any of these individual changes, nor their structure. I'm happy to squash, although I prefer to do that after the changes are accepted (and I'm happier to let someone else squash and pick a commit message).

How Has This Been Tested?

I used a simple script that checked to see if it looked like pages were available via https:

check() { curl -I "$1"; curl -I "$(echo "$1" | perl -pe 's<http:><https:>')"; }

And had a handy script to update them if they did:

update() { rs "$1" "$(echo "$1" | perl -pe 's<http:><https:>')" "https"; }     

For a number of things that failed or provided redirects, I followed them.

Note that I left a handful of dead dangling links as http (and msys insists on using http, so...)

Types of changes

Checklist: