Skip Menu |

This queue is for tickets about the PAR-Dist-FromCPAN CPAN distribution.

Report information
The Basics
Id: 27246
Status: resolved
Priority: 0/
Queue: PAR-Dist-FromCPAN

People
Owner: Nobody in particular
Requestors: tkarino [...] gmail.com
Cc:
AdminCc:

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



Subject: Argument 'follow' does not work correctly
Date: Tue, 22 May 2007 23:01:51 +0900
To: bug-PAR-Dist-FromCPAN [...] rt.cpan.org
From: "Takashi Karino" <tkarino [...] gmail.com>
I tested to creatre PAR archives having a module with arugument 'follow', but it doesn't include prerequisite modules into par. After investigation, I found the following bug in PAR:::Dist::FromCPAN, so send a patch. --- PAR-Dist-FromCPAN-0.04/lib/PAR/Dist/FromCPAN.pm.orig 2007-05-22 22:51:36.328125000 +0900 +++ PAR-Dist-FromCPAN-0.04/lib/PAR/Dist/FromCPAN.pm 2007-05-22 22:52:38.546875000 +0900 @@ -115,7 +115,7 @@ _skip_this($skip_ary, $_->id) ? () : $_ } map {CPAN::Shell->expand('Module', $_)} - keys %$pre_req; + keys %{$pre_req->{requires}}; my %this_seen; @modules = grep { -- Best regards -- Takashi Karino
Thank you very much for the bug report and patch. The 'follow' option *used* to work but must have been broken by some of the refactorings that went into version 0.04. I applied the fix to the Subversion repository. I will make a release as soon as possible. (I need my gpg signatures from home if I enabled signatures for that distribution. I nedd to check that.) Best regards, Steffen