Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: chris [...] bingosnet.co.uk
Cc:
AdminCc:

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



Subject: CPANPLUS::Backend->install() always reindexes
Date: Thu, 7 Aug 2008 15:18:49 +0100
To: bug-CPANPLUS [...] rt.cpan.org
From: Kidney Bingos <chris [...] bingosnet.co.uk>
Hi, As discussed in IRC, when using the install() method of CPANPLUS::Backend it appears to always reindex by downloading the *.gz from the configured cpan mirror. Testcase: ========= use strict; use warnings; use CPANPLUS::Backend; my $cb = CPANPLUS::Backend->new(); $cb->configure_object()->set_conf( prereqs => 1 ); $cb->install( modules => [ 'YAML::Tiny' ] ); $cb->install( modules => [ 'Test::Reporter' ] ); Output: ======= [canker:~]$ /home/chris/dev/perlmods/creator/test/perl/bin/perl testcase.pl [MSG] Checking if source files are up to date [MSG] Updating source file '01mailrc.txt.gz' [MSG] Trying to get 'http://www.cpan.org/authors/01mailrc.txt.gz' [MSG] Updating source file '03modlist.data.gz' [MSG] Trying to get 'http://www.cpan.org/modules/03modlist.data.gz' [MSG] Updating source file '02packages.details.txt.gz' [MSG] Trying to get 'http://www.cpan.org/modules/02packages.details.txt.gz' [MSG] No '/home/chris/.cpanplus/custom-sources' dir, skipping custom sources [MSG] Rebuilding author tree, this might take a while [MSG] Rebuilding module tree, this might take a while [MSG] No '/home/chris/.cpanplus/custom-sources' dir, skipping custom sources [MSG] No '/home/chris/.cpanplus/custom-sources' dir, skipping custom sources [MSG] Writing compiled source information to disk. This might take a little while. [MSG] Module 'YAML::Tiny' already up to date, won't install without force [MSG] Module 'Test::Reporter' already up to date, won't install without force [canker:~]$ /home/chris/dev/perlmods/creator/test/perl/bin/perl testcase.pl [MSG] Checking if source files are up to date [MSG] Updating source file '01mailrc.txt.gz' [MSG] Trying to get 'http://www.cpan.org/authors/01mailrc.txt.gz' [MSG] Updating source file '03modlist.data.gz' [MSG] Trying to get 'http://www.cpan.org/modules/03modlist.data.gz' [MSG] Updating source file '02packages.details.txt.gz' [MSG] Trying to get 'http://www.cpan.org/modules/02packages.details.txt.gz' [MSG] No '/home/chris/.cpanplus/custom-sources' dir, skipping custom sources [MSG] Rebuilding author tree, this might take a while [MSG] Rebuilding module tree, this might take a while Cheers, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

On Thu Aug 07 10:19:34 2008, chris@bingosnet.co.uk wrote: Show quoted text
> Hi, > > As discussed in IRC, when using the install() method of > CPANPLUS::Backend it appears to always reindex > by downloading the *.gz from the configured cpan mirror.
Thanks for the report; this was due to a typo which has now been fixed.
On Thu Aug 07 10:19:34 2008, chris@bingosnet.co.uk wrote: Show quoted text
> Hi, > > As discussed in IRC, when using the install() method of > CPANPLUS::Backend it appears to always reindex > by downloading the *.gz from the configured cpan mirror.
Thanks for the report; this was due to a typo which has now been fixed.