SVN::Hooks::DenyChanges.3pm

Langue: en

Autres versions - même langue

Version: 2010-04-28 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

SVN::Hooks::DenyChanges - Deny some changes in a repository.

SYNOPSIS

This SVN::Hooks plugin is used to disallow the addition, deletion, or modification of parts of the repository structure.

It's active in the "pre-commit" hook.

It's configured by the following directives.

DENY_ADDITION(REGEXP, ...)

This directive denies the addition of new files matching the Regexps passed as arguments.
         DENY_ADDITION(qr/\.(doc|xls|ppt)$/); # ODF only, please
 
 

DENY_DELETION(REGEXP, ...)

This directive denies the deletion of files matching the Regexps passed as arguments.
         DENY_DELETION(qr/contract/); # Can't delete contracts
 
 

DENY_UPDATE(REGEXP, ...)

This directive denies the modification of files matching the Regexps passed as arguments.
         DENY_UPDATE(qr/^tags/); # Can't modify tags
 
 

DENY_EXCEPT_USERS(LIST)

This directive receives a list of user names which are to be exempt from the rules specified by the other directives.
         DENY_EXCEPT_USERS(qw/john mary/);
 
 

This rule exempts users "john" and "mary" from the other deny rules.

AUTHOR

Gustavo Chaves, "<gnustavo@cpan.org>"

BUGS

Please report any bugs or feature requests to "bug-svn-hooks-checkmimetypes at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVN-Hooks>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

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

You can also look for information at:

RT: CPAN's request tracker

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=SVN-Hooks>

AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/SVN-Hooks>

CPAN Ratings

<http://cpanratings.perl.org/d/SVN-Hooks>

Search CPAN

<http://search.cpan.org/dist/SVN-Hooks>

Copyright 2008-2009 CPqD, all rights reserved.

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