NAME
SVN::Notify::Config - Config-driven Subversion notification
VERSION
This document describes version 0.05 of SVN::Notify::Config, released October 19, 2004.
SYNOPSIS
Set this as your Subversion repository's hooks/post-commit:
#!/usr/bin/perl -MSVN::Notify::Config=$0
--- #YAML:1.0
'':
PATH: "/usr/bin:/usr/local/bin"
'/path':
handler: HTML::ColorDiff
to: root@localhost
'/path/ignored':
handler: ~
'/path/snapshot':
fork: 1
handler: Snapshot
to: "/tmp/tarball-%{%Y%m%d}-${revision}.tar.gz"
'/path/multitarget':
- to: alice@localhost
- to: bob@localhost
- to: root@localhost
Alternatively, use a config file inside the repository:
#!/usr/bin/perl -MSVN::Notify::Config=file://$1/svnnotify.yml
DESCRIPTION
This module is a YAML-based configuration wrapper on SVN::Notify.
(More documentations later. Sorry.)
AUTHORS
Autrijus Tang <autrijus@autrijus.org>
SEE ALSO
COPYRIGHT
Copyright 2004 by Autrijus Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.