doc: update metacpan.org links to avoid redirects
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 16 Nov 2022 09:24:37 +0000 (10:24 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 16 Nov 2022 09:24:37 +0000 (10:24 +0100)
The /release/ links are redirected to /dist/ and /pod/release/ to
/release/../view/, so update our links accordingly to avoid 301
redirects.

Discussion: https://postgr.es/m/CA672723-BAD2-436E-B6E6-163841E11A1B@yesql.se

doc/src/sgml/external-projects.sgml
doc/src/sgml/install-windows.sgml
src/test/perl/PostgreSQL/Test/Cluster.pm
src/tools/perlcheck/perlcriticrc

index bf590aba5d9da3e2e55ec9514c3ff7831036f20d..2d0fd723b2902cba5d1d9cfa06d1d9572bc22a0c 100644 (file)
@@ -65,7 +65,7 @@
       <entry>DBD::Pg</entry>
       <entry>Perl</entry>
       <entry>Perl DBI driver</entry>
-      <entry><ulink url="https://metacpan.org/release/DBD-Pg"></ulink></entry>
+      <entry><ulink url="https://metacpan.org/dist/DBD-Pg"></ulink></entry>
      </row>
 
      <row>
index a1013d12807928066dc8c02bfdfce0a8a07193d1..342178bcc24914ddbf9a5b961c0b101b1a3803cb 100644 (file)
@@ -488,7 +488,7 @@ $ENV{CONFIG}="Debug";
       ActiveState Perl installation, nor in the ActiveState Perl Package
       Manager (PPM) library. To install, download the
       <filename>IPC-Run-&lt;version&gt;.tar.gz</filename> source archive from CPAN,
-      at <ulink url="https://metacpan.org/release/IPC-Run"></ulink>, and
+      at <ulink url="https://metacpan.org/dist/IPC-Run"></ulink>, and
       uncompress. Edit the <filename>buildenv.pl</filename> file, and add a PERL5LIB
       variable to point to the <filename>lib</filename> subdirectory from the
       extracted archive. For example:
index c7531c5efb477cb77d09d786fc48a53f9f850ced..b5a24976e7f618c145ac48749bfe59d5f14d5ab3 100644 (file)
@@ -1826,7 +1826,7 @@ sub psql
    # and set the flag.  Otherwise, and for any other exception, rethrow.
    #
    # For background, see
-   # https://metacpan.org/pod/release/ETHER/Try-Tiny-0.24/lib/Try/Tiny.pm
+   # https://metacpan.org/release/ETHER/Try-Tiny-0.24/view/lib/Try/Tiny.pm
    do
    {
        local $@;
index 9267fb43b27f3ba3039f20717b30ed77d1ef6945..49ac9ee52b5cd5a87cbd974c80a319f65c4d9865 100644 (file)
@@ -13,7 +13,7 @@ theme = core
 # print the policy name as well as the normal output
 verbose = %f: %m at line %l, column %c.  %e.  ([%p] Severity: %s)\n
 
-# Note: for policy descriptions see https://metacpan.org/release/Perl-Critic
+# Note: for policy descriptions see https://metacpan.org/dist/Perl-Critic
 
 
 # allow octal constants with leading zeros