Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 29642
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: schneecrash+cpan [...] gmail.com
Cc:
AdminCc:

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



Subject: CPANPLUS & CPAN reporting -- and acting upon -- module status differently
Date: Thu, 27 Sep 2007 07:18:14 -0700
To: bug-CPANPLUS [...] rt.cpan.org
From: snowcrash+cpan <schneecrash+cpan [...] gmail.com>
hi, I've installed Perl 588, CPANPLUS 0.82 & CPAN 1.92 on both OSX 10.4.10 & FreeBSD 6.2Rp7; this issue is 100% reproducible on multiple-instances of both platforms. Checking for available updates with "cpanp", i see, CPAN Terminal> o 1 6.30 6.003002 Image::Magick JCRISTY 2 0.003001 0.003001 Net::DNS::Resolver::Programmable JMEHNLE CPAN Terminal> q Note the 'out of sequence' version paths, 6.30 --> 6.003002 0.003001 --> 0.003001 I've installed latest/up-to-date versions of, where, Image::Magick was installed from an svn co (r8114) of branch/Image-Magick-6.3.5, module_info Image::Magick Name: Image::Magick Version: 6.3.5 Directory: /usr/local/lib/perl/sitelib/darwin-thread-multi-2level File: /usr/local/lib/perl/sitelib/darwin-thread-multi-2level/Image/Magick.pm Core module: no and, Net::DNS::Resolver::Programmable was installed cpanp, module_info Net::DNS::Resolver::Programmable Name: Net::DNS::Resolver::Programmable Version: 0.003.1 Directory: /usr/local/lib/perl/sitelib File: /usr/local/lib/perl/sitelib/Net/DNS/Resolver/Programmable.pm Core module: no But, checking the same installations with "cpan", i see, Show quoted text
cpan> r
All modules are up to date for /./ 1 installed module has a version number of 0 (use 'o conf show_zero_versions 1' to show them) 1200 installed modules have no parseable version number (use 'o conf show_unparsable_versions 1' to show them) Show quoted text
cpan>
actually updating with, cpanp -i Image::Magick Net::DNS::Resolver::Programmable proceeds without apparent error, but afterwards, nothing's aparently changed, CPAN Terminal> o 1 6.30 6.003002 Image::Magick JCRISTY 2 0.003001 0.003001 Net::DNS::Resolver::Programmable JMEHNLE CPAN Terminal> q I.e., "cpanp", (a) shows modules that need updating that 'cpan' claims do not (b) 'cpanp' offers updates to modules that actually decrease, or don't change at all, the version # at all (c) 'updates' aren't actually updating modules.
On Thu Sep 27 10:18:54 2007, schneecrash+cpan@gmail.com wrote: Show quoted text
> (a) shows modules that need updating that 'cpan' claims do not > (b) 'cpanp' offers updates to modules that actually decrease, or don't > change at all, the version # at all > (c) 'updates' aren't actually updating modules.
This all has to do with how you interpret versions, especially ones with more than 1 '.' in them, ie 'x.y.z' style. THe perl module 'version' is an attempt to solve this issue and as of Module::Load::COnditional 0.18, it uses version.pm to make version comparisons. (M::L::C is what CPANPLUS uses under the hood to determine uptodateness). Could you please update to M::L::C version 0.18 and tell me if the problem persists? http://search.cpan.org/~kane/Module-Load-Conditional/ Thanks,
Subject: Re: [rt.cpan.org #29642] CPANPLUS & CPAN reporting -- and acting upon -- module status differently
Date: Thu, 18 Oct 2007 10:54:40 -0700
To: bug-CPANPLUS [...] rt.cpan.org
From: snowcrash+cpan <schneecrash+cpan [...] gmail.com>
hi, sorry it took so long to reply ... been on vacation :-) Show quoted text
> This all has to do with how you interpret versions, especially ones with more > than 1 '.' in them, ie 'x.y.z' style. THe perl module 'version' is an attempt to > solve this issue and as of Module::Load::COnditional 0.18, it uses version.pm > to make version comparisons. > > (M::L::C is what CPANPLUS uses under the hood to determine uptodateness). > > Could you please update to M::L::C version 0.18 and tell me if the problem persists? > > http://search.cpan.org/~kane/Module-Load-Conditional/
so ... updating M::O::C to latest @: Show quoted text
> module_info Module::Load::Conditional
Name: Module::Load::Conditional Version: 0.22 Directory: /usr/local/lib/perl/sitelib File: /usr/local/lib/perl/sitelib/Module/Load/Conditional.pm Core module: no then, Show quoted text
> cpan
Show quoted text
cpan> r
Going to write /build/.cpan/Metadata Package namespace installed latest in CPAN file Test::Harness::Straps 0.26 0.28 MSCHWERN/Test-Harness-Straps-0.28.tar.gz 1 installed module has a version number of 0 (use 'o conf show_zero_versions 1' to show them) 1200 installed modules have no parseable version number (use 'o conf show_unparsable_versions 1' to show them) Show quoted text
cpan> q
Show quoted text
>
and, Show quoted text
> cpanp
CPAN Terminal> o [MSG] Checking if source files are up to date [MSG] Retrieving /build/.cpanplus/sourcefiles.2.16.stored 1 6.30 6.003002 Image::Magick JCRISTY 2 0.26 0.28 Test::Harness::Straps MSCHWERN CPAN Terminal> q Show quoted text
>
so, in the "cpan" case, no Image::Magick update is shown as needed/available, but it *IS* in the case of "cpanp". cheers!