| Module-Release documentation | view source | Contained in the Module-Release distribution. |
Module::Release::SVN - Use Subversion with Module::Release
The release script automatically loads this module if it sees a .svn directory. The module exports check_cvs, cvs_tag, and make_cvs_tag.
Module::Release::SVN is a plugin for Module::Release, and provides
its own implementations of the check_vcs() and vcs_tag() methods
that are suitable for use with a Subversion repository rather than a
CVS repository.
These methods are automatically exported in to the callers namespace
using Exporter. You should only use it from Module::Release or its
subclasses.
This module depends on the external svn binary (so far).
check_cvs()DEPRECATED. Use check_vcs now.
check_vcs()Check the state of the SVN repository.
if($question_count)
{
$self->_print "\nWARNING: Subversion is not up-to-date ($question_count files unknown); ",
"continue anwyay? [Ny] " ;
die "Exiting\n" unless <> =~ /^[yY]/;
}
cvs_tag()DEPRECATED. Use vcs_tag now.
vcs_tag(TAG)Tag the release in Subversion.
make_cvs_tag()DEPRECATED. Use make_vcs_tag now.
By default, examines the name of the remote file
(i.e. Foo-Bar-0.04.tar.gz) and constructs a tag string like
RELEASE_0_04 from it. Override this method if you want to use a
different tagging scheme, or don't even call it.
This source is in Github:
git://github.com/briandfoy/module-release.git
brian d foy, <bdfoy@cpan.org>
Copyright (c) 2007-2009, brian d foy, All Rights Reserved.
You may redistribute this under the same terms as Perl itself.
| Module-Release documentation | view source | Contained in the Module-Release distribution. |