Re: Add "format" target to make and ninja to run pgindent and pgperltidy - Mailing list pgsql-hackers

From Dagfinn Ilmari Mannsåker
Subject Re: Add "format" target to make and ninja to run pgindent and pgperltidy
Date
Msg-id 875x9g53q9.fsf@wibble.ilmari.org
Whole thread Raw
In response to Add "format" target to make and ninja to run pgindent and pgperltidy  ("Jelte Fennema-Nio" <postgres@jeltef.nl>)
List pgsql-hackers
Jelte Fennema-Nio <postgres@jeltef.nl> writes:

> On Wed, 31 Dec 2025 at 19:37, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> As an affected committer, I want to push back against having such
>> a requirement, because I don't think it is reasonable to require
>> everybody to have precisely version XYZ of perltidy installed.
>> If that's not the version provided by their platform-of-choice,
>> it's an annoying hurdle.
>
> That's why I tried to make that hurdle as small as possible. All
> that's needed with the current patchset is:
>
> wget https://cpan.metacpan.org/authors/id/S/SH/SHANCOCK/Perl-Tidy-20230309.tar.gz
> cpanm -l $HOME/perltidy-20230309 Perl-Tidy-20230309.tar.gz

You can ask cpanm to install a specific version without having to
download the tarball manually or knowing who made the release and which
archive format they used:

   cpanm -l $HOME/perltidy-20230309 Perl::Tidy@20230309

- ilmari



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: pg_upgrade: optimize replication slot caught-up check
Next
From: Masahiko Sawada
Date:
Subject: Re: Fix typo in code comment