X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FApp%2FRgit%2FPolicy%2FDefault.pm;h=5c8203bacdcf2cc6a4ccd0c9125a245ee88cf08d;hb=2e8121b94bf4847686087060a709fa3bb433f4ee;hp=d8d286bd0440b75dce5ce87ad860395a9e094f45;hpb=caf4ff14ac06ea364ea51f725d041fd715e9682f;p=perl%2Fmodules%2Frgit.git diff --git a/lib/App/Rgit/Policy/Default.pm b/lib/App/Rgit/Policy/Default.pm index d8d286b..5c8203b 100644 --- a/lib/App/Rgit/Policy/Default.pm +++ b/lib/App/Rgit/Policy/Default.pm @@ -13,13 +13,28 @@ App::Rgit::Policy::Default - The default policy that stops on error. =head1 VERSION -Version 0.06 +Version 0.08 =cut -our $VERSION = '0.06'; +our $VERSION = '0.08'; -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.