Skip Menu |
 

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 32015
Status: open
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

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



Subject: Some actions do not auto-populate the CPAN::SQLite database
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 557
Download (untitled) / with headers
text/plain 557b
Problem discovered in Strawberry Perl. Most CPAN.pm actions will populate or update the index automatically (the desired behaviour). If CPAN::SQLite is installed, and CPAN.pm configured to use it (via editing the CPAN/Config.pm file), some actions continue to auto-generate the CPAN::SQLite database as normal. For example, the "install module" works correctly. However, some actions seem to fail if the cpandb.sql is not present, such as the "r" command, and do NOT auto-setup the cpandb.sql database in the same way they auto-setup the regular index.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-25281-1203195013-1664.32015-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 770
Download (untitled) / with headers
text/plain 770b
On Sun Dec 30 20:40:02 2007, ADAMK wrote: Show quoted text
> Problem discovered in Strawberry Perl. > > Most CPAN.pm actions will populate or update the index automatically > (the desired behaviour). > > If CPAN::SQLite is installed, and CPAN.pm configured to use it (via > editing the CPAN/Config.pm file), some actions continue to auto-generate > the CPAN::SQLite database as normal. > > For example, the "install module" works correctly. > > However, some actions seem to fail if the cpandb.sql is not present, > such as the "r" command, and do NOT auto-setup the cpandb.sql database > in the same way they auto-setup the regular index.
Thanks for pointing this out. This should be fixed in the latest svn CPAN.pm, in combination with the soon-to-be-on-CPAN CPAN-SQLite-0.195.


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.