Re: Add "format" target to make and ninja to run pgindent and pgperltidy

From: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
To: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: Add "format" target to make and ninja to run pgindent and pgperltidy
Date: 2026-01-05 18:11:42
Message-ID: 875x9g53q9.fsf@wibble.ilmari.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> writes:

> On Wed, 31 Dec 2025 at 19:37, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(at)20230309

- ilmari

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2026-01-05 18:18:05 Re: Fix typo in code comment
Previous Message Masahiko Sawada 2026-01-05 18:02:34 pg_upgrade: optimize replication slot caught-up check