Bug#742004: perltidy.LOG file left behind

Don Armstrong don at donarmstrong.com
Tue Mar 18 23:53:36 UTC 2014


Steve: bringing you in on this; it appears perltidy now creates a
perltidy.LOG file, which causes a few problems in Debian; see
https://bugs.debian.org/742004 for the full saga.

On Tue, 18 Mar 2014, Russ Allbery wrote:
> I looked into this further. The problem is that Perl::Tidy now always
> attempts to create a log file in the current directory unless told to
> create it elsewhere with the logfile parameter to its constructor.
> (There doesn't seem to be a way to tell it not to create the thing,
> although maybe you can point it to /dev/null.) Perl::Critic's policy
> for running Perl::Tidy doesn't pass that parameter or provide any way
> for the caller to pass it.

Perltidy really shouldn't be creating a logfile unless you tell it to
create a logfile.

I'm OK with carrying a local patch in Debian for this in perltidy, but
I'd like to propose that a logfile not be created unless logstream is
passed (or some other non-default option.)

Steve: would that be acceptable upstream? Or should I just prepare a
Debian-local patch for that?

-- 
Don Armstrong                      http://www.donarmstrong.com

I would like to be the air
that inhabits you for a moment
only. I would like to be that unnoticed
& that necessary.
 -- Margaret Atwood "Poetry in Motion" p140



More information about the pkg-perl-maintainers mailing list