Re: perlcritic

From: ilmari(at)ilmari(dot)org (Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?=)
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: perlcritic
Date: 2017-03-06 17:02:51
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

ilmari(at)ilmari(dot)org (Dagfinn Ilmari Mannsåker) writes:

> Hi Peter,
> Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
>> I posted this about 18 months ago but then ran out of steam. [ ] Here
>> is an updated patch. The testing instructions below still apply.
>> Especially welcome would be ideas on how to address some of the places
>> I have marked with ## no critic.
> Attached is a patch on top of yours that addresses all the ## no critic
> annotations except RequireFilenameMatchesPackage, which can't be fixed
> without more drastic reworking of the plperl build process.
> Tested on perl 5.8.1 and 5.24.0 by configuring with --with-perl and
> --enable-tap-tests followed by make check-world, and running pgindent
> --build.

Attached is an updated version of the patch, in which
src/tools/msvc/ actually compiles. If someone on Windows could
test it, that would be great.

"The surreality of the universe tends towards a maximum" -- Skud's Law
"Never formulate a law or axiom that you're not prepared to live with
the consequences of." -- Skud's Meta-Law

Attachment Content-Type Size
0001-Fix-most-perlcritic-exceptions-v2.patch text/x-diff 2.4 KB

In response to

  • Re: perlcritic at 2017-03-01 16:21:54 from Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?=


Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-03-06 17:36:41 Re: [PATCH] Use $ parameters as replacement characters for pg_stat_statements
Previous Message Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?= 2017-03-06 16:37:46 Re: [PATCH] Teach how many attributes there should be per DATA() line