The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pinto::IndexManager - Manages the indexes of a Pinto repository

VERSION

version 0.015

DESCRIPTION

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.

ATTRIBUTES

mirror_index

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.

local_index

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.

master_index

Returns the Pinto::Index that is the logical combination of packages from both the mirror and local indexes.

AUTHOR

Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

COPYRIGHT AND LICENSE

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.