Skip Menu |

This queue is for tickets about the local-lib CPAN distribution.

Report information
The Basics
Id: 123683
Status: open
Priority: 0/
Queue: local-lib

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: "Attempting to create directory" printed by default to stderr
When local::lib creates the ~/perl5 directory, it prints "Attempting to create directory /root/perl5" message to error output. I see 2.000017 added --quiet option to suppress this message. Some people have an issue with the message because it looks like a debugging output enabled by default <https://bugzilla.redhat.com/show_bug.cgi?id=1514048>. I think this change could improve it: (1) Either print it to standard output. (2) Or replace --quiet with --verbose option and do not print it by default. What's your opinion?
On Mon Nov 20 05:24:16 2017, ppisar wrote: Show quoted text
> When local::lib creates the ~/perl5 directory, it prints "Attempting > to create directory /root/perl5" message to error output. I see > 2.000017 added --quiet option to suppress this message. > > Some people have an issue with the message because it looks like a > debugging output enabled by default > <https://bugzilla.redhat.com/show_bug.cgi?id=1514048>. > > I think this change could improve it: > > (1) Either print it to standard output. > > (2) Or replace --quiet with --verbose option and do not print it by > default. > > What's your opinion?
Printing to standard output isn't viable because one of the things local::lib does is output shell code meant to be evaled. The message is also kind of badly worded for what it does. I'm unsure about changing the default to be quiet.