X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FApp%2FRgit%2FPolicy%2FDefault.pm;h=7164b453df0d678799ac21171d5618353ac44367;hb=3ff07b59ff41754a77105973a4f1e9d6d25b2c3a;hp=a9cbd17781cfcf8695e26035eeab013e79a4286a;hpb=dc668e3c302569ed2b5eb2ed893247308f22528a;p=perl%2Fmodules%2Frgit.git diff --git a/lib/App/Rgit/Policy/Default.pm b/lib/App/Rgit/Policy/Default.pm index a9cbd17..7164b45 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.07 =cut -our $VERSION = '0.06'; +our $VERSION = '0.07'; -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,10 +44,12 @@ sub report { L. +L. + =head1 AUTHOR Vincent Pit, C<< >>, L. - + You can contact me by mail or on C (vincent). =head1 BUGS