Pinto::IndexManager - Manages the indexes of a Pinto repository
version 0.015
The role of Pinto::IndexManager and Pinto::Index is to create an abstraction layer between the rest of the application and the details of managing the 02packages index file. At the moment, we use three separate index files: one for locally added packages, one for mirrored packages, and a master index that combines the other two according to specific rules. But this file-based design is ugly and doesn't perform well. So in the future, I hope to replace those files with a proper database.
Returns the Pinto::Index that represents our copy of the 02packages file from a CPAN mirror (or possibly another Pinto repository). This index will include the latest versions of all the packages on the mirror.
Returns the Pinto::Index that represents the 02packages file for your local packages. This index will include only those packages that you've locally added to the repository.
Returns the Pinto::Index that is the logical combination of packages from both the mirror and local indexes.
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
This software is copyright (c) 2011 by Imaginative Software Systems.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Pinto, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pinto
CPAN shell
perl -MCPAN -e shell install Pinto
For more information on module installation, please visit the detailed CPAN module installation guide.