From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: perltidy |
Date: | 2010-04-19 16:24:21 |
Message-ID: | 1271694261.14012.2.camel@vanquo.pezone.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On mån, 2010-04-19 at 17:02 +0200, Magnus Hagander wrote:
> The MSVC scripts currently have a "perltidy coding style" so we run
> perltidy with a specific set of arguments to format the code. (This is
> in the README). Kind of like pgindent.
>
> Should we be doing this on all the perlscripts we use?
>
> And if we do, we should obviously use the same one everywhere -
> probably just use the one we have for the msvc stuff today. Anything
> in particular about that one that people hate?
I tried it on create_help.pl and couldn't find a good combination of
options that I liked. It either adds too much whitespace or removes too
much, or both. Maybe that can be fined tuned. I wouldn't want to use
the -bl option; it's not a typical Perl style.
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2010-04-19 16:31:00 | Re: perltidy |
Previous Message | Robert Haas | 2010-04-19 16:09:37 | Re: Standalone backends run StartupXLOG in an incorrect environment |