Pinto::Store - Base class for storage of a Pinto repository
version 0.052
Pinto::Store is the base class for Pinto Stores. It provides the basic API for adding/removing distribution archives to the store. Subclasses implement the underlying logic by augmenting the methods declared here.
This method is called before each Pinto::Action is executed, and is responsible for doing any setup work that is required by the Store. This could include making a directory on the file system, checking out or updating a working copy, cloning, or pulling commits. If the initialization fails, an exception should be thrown. The default implementation simply creates the repository directory, if it isn't already there. Returns a reference to this Store.
This method is called after each Pinto::Action is responsible for doing any work that is required to commit the Store. This could include scheduling files for addition/deletion, pushing commits to a remote repository. If the commit fails, an exception should be thrown. The default implementation does nothing. Returns a reference to this Store.
Tags the store. For some subclasses, this means performing some kind of "tag" operations. For others, it could mean doing a copy operation. The default implementation does nothing.
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.