NAME

SVN::Simple::Hook - Simple Moose/Mouse-based framework for Subversion hooks

VERSION

version 0.306

SYNOPSIS

DESCRIPTION

This is a collection of roles for Moose and Mouse that help you implement Subversion repository hooks by providing simple attribute access to relevant parts of the Subversion API. This is a work in progress and the interface is extremely unstable at the moment. You have been warned!

ATTRIBUTES

repos_path

Directory containing the Subversion repository.

repository

Subversion repository object. Opened on first call to the accessor.

author

Author of the current revision or transaction. Role consumers must provide a _build_author method to set a default value.

root

Subversion root object from the repository. Role consumers must provide a _build_root method to set a default value.

paths_changed

A hash reference where the keys are paths in the "root" and values are SVN::Simple::Path_Change objects. Enables hooks to access the changes that triggered them.

SEE ALSO

See SVN::Simple::Hook::PreCommit for an example. This role exists solely to be composed into other roles.

SUPPORT

Perldoc

You can find documentation for this module with the perldoc command.

perldoc SVN::Simple::Hook

Websites

The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

Bugs / Feature Requests

Please report any bugs or feature requests through the web interface at https://github.com/mjgardner/svn-simple-hook/issues. You will be automatically notified of any progress on the request by the system.

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/mjgardner/svn-simple-hook

git clone git://github.com/mjgardner/svn-simple-hook.git

AUTHOR

Mark Gardner <mjgardner@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by GSI Commerce.

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