Re: Stale external URL in doc? - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Stale external URL in doc?
Date
Msg-id CA+hUKG+Cn8RV_jz=27DzGHfDVRZ+wgJw_-Zc3AE8ns13C9AdvA@mail.gmail.com
Whole thread Raw
In response to Re: Stale external URL in doc?  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Stale external URL in doc?
List pgsql-hackers
On Fri, Jul 10, 2020 at 10:07 AM Daniel Gustafsson <daniel@yesql.se> wrote:
> (but I didn't test all of them)

Cave-person shell script time:

for url in ` git grep 'url="http' | sed 's/.*url="//;s/".*//' | sort | uniq `
do
  if ! curl --output /dev/null --silent --head --fail "$url"
  then
    echo "bad URL: $url"
  fi
done

bad URL: https://mingw-w64.org/
bad URL: https://msdn.microsoft.com/en-us/library/aa380493%28VS.85%29.aspx
bad URL: https://ssl.icu-project.org/icu-bin/locexp
bad URL: https://www.ismn-international.org/ranges.html

The Microsoft one is OK, it's a redirect, but the redirect target
looks like a more permanent URL to me so maybe we should change it.
The others required minor manual sleuthing to correct; I hope I found
the correct ISN ranges page.  Please see attached.

Looking at the ICU URL, I found a couple like that in our source tree,
and fixed those too, including one used by
src/backend/utils/mb/Unicode/Makefile to fetch source data which has
moved (http://site.icu-project.org/repository says "Announcement
07/16/2018: The ICU source code repository has been migrated from
Subversion to Git, and is now hosted on GitHub.").

Attachment

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Stale external URL in doc?
Next
From: Tom Lane
Date:
Subject: Re: Stale external URL in doc?