Skip Menu |
 

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 64970
Status: new
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: allan [...] leadkarma.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.9011
Fixed in: 0.82



Subject: source plugin does no longer work for configuration commands
Download (untitled) / with headers
text/plain 692b
I am trying to write a chef provider (package install adapter) for cpan, and found that I wanted to install packages in sub-directories as uninstall left files around. With 0.82 I was able to do this with (tagged on i on the end of course): $ echo -e "s conf makeflags PREFIX=...\ns conf prereqs 0" | cpanp /source /dev/stdin Key 'makeflags' was set to 'PREFIX=...' Key 'prereqs' was set to '0' With 0.9011 the above terminates after the first line. This is because _set_conf unconditionally returns 1 and I think #47250 now propagate that to dispatch_on_input and back to the plugin which terminates when given 1 (perhaps meant for 'q' and errors?). Suggest having _set_conf on success.
From: allan [...] leadkarma.com
Download (untitled) / with headers
text/plain 142b
On Thu Jan 20 17:53:41 2011, allan@leadkarma.com wrote: Show quoted text
> Suggest having _set_conf on success.
Suggest having _set_conf return 0 on success.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.