-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdist.ini
144 lines (122 loc) · 3.69 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
name = HTML-Form
author = Gisle Aas <[email protected]>
license = Perl_5
copyright_holder = Gisle Aas
copyright_year = 1998
[Git::GatherDir]
exclude_filename = cpanfile
exclude_filename = LICENSE
exclude_filename = Makefile.PL
exclude_filename = META.json
exclude_filename = README.md
[MetaConfig]
[MetaProvides::Package]
[MetaNoIndex]
directory = t
directory = xt
[MetaYAML]
[MetaJSON]
[MetaResources]
x_IRC = irc://irc.perl.org/#lwp
x_MailingList = mailto:[email protected]
[Git::Contributors]
[GithubMeta]
issues = 1
user = libwww-perl
[Manifest]
[License]
[InstallGuide]
; make the bin dir executables
[ExecDir]
; [ShareDir]
[Prereqs]
Encode = 2
HTTP::Request = 6
HTTP::Request::Common = 6.03
perl = 5.008001
Test::More = 0.96
URI = 1.10
[AutoPrereqs]
[CPANFile]
[MakeMaker]
; TODO strict and warnings to quiet the kwalitee tests
; [Test::Kwalitee]
; filename = xt/author/kwalitee.t
[MojibakeTests]
[Test::Version]
[Test::ReportPrereqs]
[Test::Compile]
bail_out_on_fail = 1
xt_mode = 1
; avoid failing on 5.8: Warning: Use of "keys" without parentheses is ambiguous at Data/Dump/Trace.pm line 262.
[Substitute / 00-compile.t]
file = xt/author/00-compile.t
code = s{(is\(scalar\(\@warnings\), 0, 'no warnings found'\))}{TODO: \{\nlocal \$TODO = 'Data::Dump::Trace warns on 5.8' if \$\] < '5.009';\n$1};
code = s{(^\s+or diag 'got warnings: ', explain\(\\\@warnings\);)}{$1\n\}};
[Test::Portability]
; TODO perltidy for NoTabs and namespace::autoclean
; [Test::CleanNamespaces] ; TODO
[Test::NoTabs]
[Test::EOL]
; We run release tests in github actions. but make the changes-has-content test TODO only for master.
; This will prod pull request submitters to add a Changes entry.
[Test::ChangesHasContent]
[Substitute / changes_has_content.t]
file = xt/release/changes_has_content.t
code = s{^(note 'Checking Changes')}{if \(\(\$ENV\{TRAVIS_PULL_REQUEST\} \|\| '') eq 'false'\) \{\n chomp\(my \$branch_name = \(\$ENV\{TRAVIS_BRANCH\} || \`git rev-parse --abbrev-ref HEAD\`\)\);\n \$TODO = 'Changes need not have content for this release yet if this is only the master branch'\n if \(\$branch_name \|\| ''\) eq 'master';\n\}\n\n$1}
[Test::MinimumVersion]
[PodSyntaxTests]
; Not 100% clear why file_exts() is undocumented. Maybe meant to be private.
[Test::Pod::Coverage::Configurable]
trustme = HTML::Form => qr/^(?:fixup|new|push_input|uri)$/
skip = HTML::Form::Input
skip = HTML::Form::TextInput
skip = HTML::Form::IgnoreInput
skip = HTML::Form::ListInput
skip = HTML::Form::SubmitInput
skip = HTML::Form::ImageInput
skip = HTML::Form::FileInput
skip = HTML::Form::KeygenInput
[Test::PodSpelling]
wordlist = Pod::Wordlist
spell_cmd = aspell --master=en_US list
stopword = autocomplete
stopword = CGI
stopword = checkbox
stopword = readonly
stopword = unsetting
stopword = unvisited
stopword = keygen
[Git::Check]
allow_dirty =
[CheckStrictVersion]
decimal_only = 1
[RunExtraTests]
[PodWeaver]
[CheckChangeLog]
[CheckChangesHasContent]
[TestRelease]
[UploadToCPAN]
; Create Readme
[ReadmeAnyFromPod / Markdown_Readme]
type = markdown
filename = README.md
location = root
phase = release
[CopyFilesFromRelease]
filename = cpanfile
filename = LICENSE
filename = Makefile.PL
filename = META.json
; The distribution version is read from lib/LWP.pm's $VERSION.
; At release, all versions are bumped.
; To change the version at release time, you can either edit LWP.pm's
; $VERSION, or set the V environment variable, e.g. V=1.23 dzil release
[@Git::VersionManager]
commit_files_after_release = cpanfile
commit_files_after_release = META.json
commit_files_after_release = LICENSE
commit_files_after_release = README.md
[Git::Push]
; listed late, to allow all other plugins which do BeforeRelease checks to run first.
[ConfirmRelease]