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

NAME

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

SYNOPSIS

In .releaserc

  release_subclass Module::Release::Subversion

In your subclasses of Module::Release:

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

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.

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.

BUGS

None known.

Bugs should be reported to me via the CPAN RT system. http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module::Release::Extras.

SEE ALSO

Module::Release