Pinto::Store::VCS::Svn - Store your Pinto repository with Subversion
version 0.036
# If you don't already have a Pinto repository, create one (notice the --store option here) $> pinto-admin --root=~/tmp/PINTO create --store=Pinto::Store::VCS::Svn # If you do already have a repository, edit its config (at $REPOS/.pinto/config/pinto.ini) store = Pinto::Store::VCS::Svn # Import Pinto repository into Subversion $> svn import ~/tmp/PINTO http://my.company.com/svn/trunk/PINTO -m 'Import new Pinto repos' # Checkout working copy of the Pinto repository $> svn co http://my.company.com/svn/trunk/PINTO ~/srv/PINTO # You may now destroy the old non-versioned Pinto repository $> rm -rf ~/tmp/PINTO
Now run pinto-admin or pinto-server as you normally would, setting the --root to the path of the working copy (which would be ~/srv/PINTO in the example above).
--root
Pinto::Store::VCS::Svn is a back-end for Pinto that stores the repository inside Subversion. Before you can effectively use this Store, you must first place your Pinto repository somewhere in Subversion (see "SYNOPSIS" for the typical procedure).
svn
At present, you must have the binary svn client installed somewhere in your $PATH for this Store to work. In future versions, we may try using SVN::Client or some other interface.
$PATH
All authentication is handled by the svn client. So you must have the credentials for your repository already cached. If you cannot or will not allow svn to cache your credentials, then this module will not work.
This may fool Pinto into making an inaccurate mirror because it thinks your local copy is newer than the mirror. As long as you don't throw away your working copy, you shouldn't run into this problem. But I have a workaround planned for a future release.
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.