NAME
SVN::Simple::Hook - Simple Moose-based framework for Subversion hooks
VERSION
version 0.210
SYNOPSIS
DESCRIPTION
This is a collection of Moose::Roles 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.
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/mjgardner/svn-simple-hook/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
Mark Gardner <mjgardner@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 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.