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

NAME

Pinto::Store::VCS::Svn - Store your Pinto repository with Subversion

VERSION

version 0.036

SYNOPSIS

  # 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).

DESCRIPTION

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).

CAVEATS

The svn program is required.

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.

No built-in support for authentication.

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.

Subversion does not accurately manage time stamps.

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.

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.