NAME

Module::Release::SVN - Use Subversion with Module::Release

SYNOPSIS

The release script automatically loads this module if it sees a .svn directory. The module exports check_cvs, cvs_tag, and make_cvs_tag.

DESCRIPTION

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 anyway? [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.

make_vcs_tag

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.

SEE ALSO

Module::Release

SOURCE AVAILABILITY

This source is in GitHub

https://github.com/briandfoy/module-release

AUTHOR

brian d foy, <briandfoy@pobox.com>

COPYRIGHT AND LICENSE

Copyright © 2007-2024, brian d foy <briandfoy@pobox.com>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the Artistic License 2.0.