1App::GitHooks::Plugin::UTseesrt:C:oCnutsrtiobmuRtAeeppdpl:yP:(eG3ri)ltHDooockusm:e:nPtlautgiionn::Test::CustomReply(3)
2
3
4

NAME

6       App::GitHooks::Plugin::Test::CustomReply - A test plugin that allows
7       specifying the return code.
8

DESCRIPTION

SYNOPSIS

11               use App::GitHooks::Constants qw( :PLUGIN_RETURN_CODES );
12               use App::GitHooks::Plugin::Test::CustomReply;
13
14               # In .githooksrc.
15               # [Test::CustomReply]
16               # pre-commit = PLUGIN_RETURN_FAILED
17               # prepare-commit-msg = PLUGIN_RETURN_PASSED
18
19               # Run hooks calling the plugin.
20

VERSION

22       Version 1.9.0
23

METHODS

25   get_file_pattern()
26       Return a pattern to filter the files this plugin should analyze.
27
28               my $file_pattern = App::GitHooks::Plugin::Test::CustomReply->get_file_pattern(
29                       app => $app,
30               );
31
32   get_file_check_description()
33       Return a description of the check performed on files by the plugin and
34       that will be displayed to the user, if applicable, along with an
35       indication of the success or failure of the plugin.
36
37               my $description = App::GitHooks::Plugin::Test::CustomReply->get_file_check_description();
38

SUPPORTED HOOKS

40       This plugin supports all the hooks defined in "App::GitHooks::Hook::*",
41       including file-level checks for the appropriate hooks:
42
43       run_applypatch_msg
44       run_commit_msg
45       run_post_applypatch
46       run_post_checkout
47       run_post_commit
48       run_post_merge
49       run_post_receive
50       run_post_rewrite
51       run_post_update
52       run_pre_applypatch
53       run_pre_auto_gc
54       run_pre_commit
55       run_pre_commit_file
56       run_pre_push
57       run_pre_rebase
58       run_pre_receive
59       run_prepare_commit_msg
60       run_update
61

BUGS

63       Please report any bugs or feature requests through the web interface at
64       <https://github.com/guillaumeaubert/App-GitHooks/issues/new>.  I will
65       be notified, and then you'll automatically be notified of progress on
66       your bug as I make changes.
67

SUPPORT

69       You can find documentation for this module with the perldoc command.
70
71               perldoc App::GitHooks::Plugin::Test::CustomReply
72
73       You can also look for information at:
74
75       •   GitHub's request tracker
76
77           <https://github.com/guillaumeaubert/App-GitHooks/issues>
78
79       •   AnnoCPAN: Annotated CPAN documentation
80
81           <http://annocpan.org/dist/app-githooks>
82
83       •   CPAN Ratings
84
85           <http://cpanratings.perl.org/d/app-githooks>
86
87       •   MetaCPAN
88
89           <https://metacpan.org/release/App-GitHooks>
90

AUTHOR

92       Guillaume Aubert <https://metacpan.org/author/AUBERTG>, "<aubertg at
93       cpan.org>".
94
96       Copyright 2013-2017 Guillaume Aubert.
97
98       This code is free software; you can redistribute it and/or modify it
99       under the same terms as Perl 5 itself.
100
101       This program is distributed in the hope that it will be useful, but
102       WITHOUT ANY WARRANTY; without even the implied warranty of
103       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE
104       file for more details.
105
106
107
108perl v5.36.0                      20A2p2p-:0:7G-i2t2Hooks::Plugin::Test::CustomReply(3)
Impressum