Module::Release::Subversion - Use Subversion instead of CVS with Module::Release


NAME

Module::Release::Subversion - Use Subversion instead of CVS with Module::Release

Back to Top


SYNOPSIS

In .releaserc

  release_subclass Module::Release::Subversion

In your subclasses of Module::Release:

  use base qw(Module::Release::Subversion);

Back to Top


DESCRIPTION

Module::Release::Subversion subclasses Module::Release, and provides its own implementations of the check_cvs() and cvs_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.

check_cvs()

Check the state of the Subversion repository.

cvs_tag()

Tag the release in local Subversion.

The approach is fairly simple. svn info is run to extract the Subversion URL for the current directory, and the first occurence of '/trunk/' in the URL is replaced with '/tags/'. We check that the new URL exists, and then svn copy is used to do the tagging.

Failures are non fatal, since the upload has already happened.

Back to Top


AUTHOR

Nik Clayton <nik@FreeBSD.org>

Copyright 2004 Nik Clayton. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Back to Top


BUGS

None known.

Bugs should be reported to me via the CPAN RT system. http://rt.cpan.org/NoAuth/ReportBug.html.

Back to Top


SEE ALSO

Module::Release

Back to Top

 Module::Release::Subversion - Use Subversion instead of CVS with Module::Release