X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=blobdiff_plain;f=lib%2FApp%2FRgit%2FPolicy%2FDefault.pm;fp=lib%2FApp%2FRgit%2FPolicy%2FDefault.pm;h=5d96a66bb688223636c92b662f8b627b06708c6a;hp=d8d286bd0440b75dce5ce87ad860395a9e094f45;hb=cb9eb6a59510dcfb9aaf05e09d2612aa0a9e18e3;hpb=88bfe285dbd8fe5cb70f28ff9ad9dee16631dd52 diff --git a/lib/App/Rgit/Policy/Default.pm b/lib/App/Rgit/Policy/Default.pm index d8d286b..5d96a66 100644 --- a/lib/App/Rgit/Policy/Default.pm +++ b/lib/App/Rgit/Policy/Default.pm @@ -19,7 +19,22 @@ Version 0.06 our $VERSION = '0.06'; -sub report { +=head1 DESCRIPTION + +This is the default policy. +It stops as soon as a run returned a non-zero status, but continues if it was signalled. + +=head1 METHODS + +This class inherits from L. + +It implements : + +=head2 C + +=cut + +sub handle { my ($policy, $cmd, $conf, $repo, $status, $signal) = @_; $status ? LAST : NEXT; @@ -29,6 +44,8 @@ sub report { L. +L. + =head1 AUTHOR Vincent Pit, C<< >>, L.