SVN::H...Changes(3pm)
π NAME π
SVN::Hooks::DenyChanges β bestie, this one is here to deny some changes in a repository. Like, no, you may not. π
β¨ VERSION β¨
version 1.36 π
πΈ SYNOPSIS πΈ
Okay so this SVN::Hooks plugin exists to disallow the addition, deletion, or modification of parts of the repository structure. Think of it as the bouncer at the club door but for your repo. π«Ά
It's active in the pre-commit hook. (iykyk β that's the moment right before anything gets committed, so it gets to say no. π)
It's configured by the following directives. Let's get into it. β¬οΈ
π« DENY_ADDITION(REGEXP, ...)
This directive denies the addition of new files matching the Regexps passed as arguments. New file? Not on her watch. π
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. You cannot simply remove these. They stay. Periodt. π€
DENY_DELETION(qr/contract/); # Can't delete contracts
π DENY_UPDATE(REGEXP, ...)
This directive denies the modification of files matching the Regexps passed as arguments. Look with your eyes, not with your commit. π
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. The VIP list, basically. β
DENY_EXCEPT_USERS(qw/john mary/);
This rule exempts users john and mary from the other deny rules. They get the wristband. Everyone else, sorry bestie. π
π¦ AUTHOR π¦
Gustavo L. de M. Chaves <gnustavo@cpan.org> β king behavior, honestly. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2022 by CPqD <www.cpqd.com.br>. π
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay, and also legally binding. π
and that's the whole page, bestie!! this lil beauty is perl v5.36.0, dated 2022-09-11, and it lives under SVN::H...Changes(3pm). mwah, go deny some changes responsibly πβ¨
π¦ where this page comes from
- ubuntu noble: libsvn-hooks-perl 1.36-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsvn-hooks-perl 1.36-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsvn-hooks-perl 1.36-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms