Change pgindent/README to specify that we use perltidy version 20170521.

Per discussion, this is now the project's standard version.
Update the obsolete URL, and explain how to install a specific version.

Discussion: https://postgr.es/m/CABUevEzK3cNiHZQ18f5tK0guoT+cN_jWeVzhYYxY=r+1Q3SmoA@mail.gmail.com
This commit is contained in:
Tom Lane 2018-04-25 13:58:39 -04:00
parent 4eaf7eaccb
commit 46cda5bf7b
1 changed files with 8 additions and 3 deletions

View File

@ -14,9 +14,14 @@ PREREQUISITES:
git clone https://git.postgresql.org/git/pg_bsd_indent.git
then follow the directions in README.pg_bsd_indent therein.
2) Install perltidy. Please be sure it is v20090616 (older and newer
versions make different formatting choices, and we want consistency). See
https://sourceforge.net/projects/perltidy/files/perltidy/perltidy-20090616/
2) Install perltidy. Please be sure it is version 20170521 (older and newer
versions make different formatting choices, and we want consistency).
You can get the correct version from
https://cpan.metacpan.org/authors/id/S/SH/SHANCOCK/
To install, follow the usual install process for a Perl module
("man perlmodinstall" explains it). Or, if you have cpan installed,
this should work:
cpan SHANCOCK/Perl-Tidy-20170521.tar.gz
DOING THE INDENT RUN: