Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-FindDependencies CPAN distribution.

Report information
The Basics
Id: 39641
Status: resolved
Priority: 0/
Queue: CPAN-FindDependencies

People
Owner: Nobody in particular
Requestors: A.Desrosiers
david [...] cpan.org
Cc:
AdminCc:

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



Subject: Support for CPAN::SQLite instead of parsing 02packages.details.txt.gz directly
With the creation of CPAN::SQLite, querying packages and dists from the packages.details file is several orders of magnitude faster than unpacking and parsing that file each time, directly. Could CPAN::Dependencies (or by proxy, CPAN::Parse::File) be extended to parse the SQLite database that CPAN::SQLite uses instead? Perhaps CPAN::Parse::SQLite?
On Sat Sep 27 10:18:40 2008, DESROD wrote: Show quoted text
> With the creation of CPAN::SQLite, querying packages and dists from the > packages.details file is several orders of magnitude faster than > unpacking and parsing that file each time, directly. > > Could CPAN::Dependencies (or by proxy, CPAN::Parse::File) be extended to > parse the SQLite database that CPAN::SQLite uses instead? Perhaps > CPAN::Parse::SQLite?
Yes, it certainly could. Patches welcome :-) The code is kept in a git repository which you can view at http://www.cantrell.org.uk/cgit/cgit.cgi/perlmodules/ - email me if you want a username/password so you can clone it.