-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdist.ini
221 lines (196 loc) · 4.73 KB
/
dist.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
; See this to understand: http://dzil.org/tutorial/convert-dist.html
name = Git-Hooks
author = Gustavo L. de M. Chaves <[email protected]>
license = Perl_5
copyright_holder = CPQD <www.cpqd.com.br>
[GatherDir]
exclude_match = ~$
[@Filter]
-bundle = @Basic
-remove = MakeMaker
-remove = GatherDir
-remove = Readme
[MakeMaker::Awesome]
delimiter = |
header = | # see http://wiki.cpantesters.org/wiki/CPANAuthorNotes
header = | if ($^O eq 'MSWin32') {
header = | warn "I do not support Windows yet. Sorry.\n";
header = | exit 0;
header = | }
header = |
header = | sub git {
header = | my ($args) = @_;
header = | my $output = `git $args`;
header = | if ($? == -1) {
header = | warn "Failed to execute 'git $args': $!\n";
header = | exit 0;
header = | } elsif ($? != 0) {
header = | warn "Command 'git $args' died with exit code=$?\n";
header = | exit 0;
header = | }
header = | return $output;
header = | }
header = |
header = | # Check if we have a proper git
header = | chomp(my $git_version = git('version'));
header = | if (my ($major, $minor, $patch) = ($git_version =~ /(\d+)\.(\d+)\.(\d+)/)) {
header = | if ($major < 2 || $major == 2 && ($minor < 25 || $minor == 25 && $patch < 1)) {
header = | warn "Don't support gits older than 2.25.1. Your version is $git_version.\n";
header = | exit 0;
header = | }
header = | } else {
header = | warn "Couldn't parse git version: '$git_version'\n";
header = | exit 0;
header = | }
[NextRelease]
[MetaProvides::Package]
[AutoPrereqs]
skip = Email::Valid
skip = Gerrit::REST
skip = HTML::Entities
skip = JIRA::REST
skip = Text::SpellChecker
[Prereqs / TestRequires]
Config = 0
Test::Requires::Git = 0
[Prereqs / Recommends]
; Required in order to use Gerrit hooks
Gerrit::REST = 0
; Required by Git::Hooks::CheckCommit's 'email-valid' option
Email::Valid = 0
; Required by Git::Hooks::CheckJira
JIRA::REST = 0
; Required by Git::Hooks::CheckLog's 'spelling' option
Text::SpellChecker = 0
; Required by Git::Hooks::Notify to send email in HTML
HTML::Entities = 0
[PodWeaver]
[PkgVersion]
[MetaJSON]
[PodSyntaxTests]
[PodCoverageTests]
[Test::Kwalitee]
skiptest = use_strict ; Don't need to test for strictness after Perl v5.16.0
[@Git]
[Git::NextVersion]
[@Filter]
-bundle = @GitHub
-remove = GitHub::Meta
[ExecDir]
dir = scripts
[MetaResources]
homepage = https://github.com/gnustavo/Git-Hooks/blob/next/README.pod
bugtracker = https://github.com/gnustavo/Git-Hooks/issues
repository = https://github.com/gnustavo/Git-Hooks.git
[Keywords]
keywords = git gerrit jira
[Meta::Contributors]
contributor = Mikko Koivunalho <[email protected]>
contributor = Dave Rolsky <[email protected]>
contributor = Szymon Nieznański <[email protected]>
[Test::MinimumVersion]
max_target_perl = 5.30
[Test::NoTabs]
[Test::Perl::Critic]
[Test::Portability]
[Test::UnusedVars]
[Test::ReportPrereqs]
[Test::PodSpelling]
spell_cmd = hunspell -l -d en_US
stopword = acked
stopword = acl
stopword = acls
stopword = applypatch
stopword = aren
stopword = atlassian
stopword = bitbucket
stopword = canonicalization
stopword = CentOS
stopword = CFG
stopword = Chaves
stopword = checkcommit
stopword = checkfile
stopword = checkjira
stopword = checklog
stopword = checkreference
stopword = checkwhitespace
stopword = CMD
stopword = codespec
stopword = commentSizeLimit
stopword = COMMITID
stopword = cowsay
stopword = CPQD
stopword = doesn
stopword = Dockerfile
stopword = FIGlet
stopword = FILTERs
stopword = fixversion
stopword = fqdn
stopword = gerrit
stopword = githooks
stopword = Gitiles
stopword = gitlab
stopword = groupname
stopword = groupspec
stopword = html
stopword = isn
stopword = JGit
stopword = jira
stopword = jirapass
stopword = jiraurl
stopword = jirauser
stopword = Joyjit
stopword = jql
stopword = Kawaguchi
stopword = Kohsuke
stopword = lang
stopword = macOS
stopword = mailmap
stopword = matchkey
stopword = matchlog
stopword = MediaWiki
stopword = msg
stopword = mxcheck
stopword = Nath
stopword = natively
stopword = NEWCOMMIT
stopword = nocheck
stopword = noref
stopword = OLDCOMMIT
stopword = OpenStack
stopword = patchset
stopword = patchsets
stopword = pathspec
stopword = pathspecs
stopword = PATHSPEC
stopword = PATHSPECS
stopword = PATTERNs
stopword = prev
stopword = rebase
stopword = rebased
stopword = rebases
stopword = rebasing
stopword = REFSPECs
stopword = refspec
stopword = refspecs
stopword = reimplementation
stopword = RemoteIssue
stopword = RHEL
stopword = RULEs
stopword = scalable
stopword = section2
stopword = SHA1
stopword = shouldn
stopword = sizelimit
stopword = SPECs
stopword = src
stopword = StackOverflow
stopword = tldcheck
stopword = TODO
stopword = Torvalds
stopword = userenv
stopword = USERSPEC
stopword = v2
stopword = v3
stopword = ve
stopword = Wikimedia