forked from mongodb-labs/mongo-perl-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dist.ini
266 lines (202 loc) · 6.14 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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
name = MongoDB
author = David Golden <david@mongodb.com>
author = Mike Friedman <friedo@friedo.com>
author = Kristina Chodorow <k.chodorow@gmail.com>
author = Florian Ragwitz <rafl@debian.org>
license = Apache_2_0
copyright_holder = MongoDB, Inc.
; true for non-indexed -TRIAL development releases, false for stable releases
; leave true until ready for a stable release, then set false, release and
; reset to true
is_trial = 1
; *** BeforeBuild phase ***
; none
; *** FileGatherer phase ***
; gather all files tracked with git, but exclude devel and dist/weaver.ini
; since those shouldn't be of interest to end-users
[Git::GatherDir]
exclude_match = ^devel
exclude_filename = dist.ini
exclude_filename = weaver.ini
; generate a MANIFEST
[Manifest]
; generate a README
[Readme]
;[License]
; --- t tests ---
; add generated test to show versions of all dependencies
[Test::ReportPrereqs]
; --- xt tests ---
; ensure all .pm files compile, in case any aren't loaded in test files
;[Test::Compile]
;fake_home = 1
;xt_mode = 1
; ensure we're backwards compatible to 5.008001
[Test::MinimumVersion]
max_target_perl = 5.008001
; ensure all .pm files have a $VERSION set
[Test::Version]
; check Pod syntax
[PodSyntaxTests]
; check spelling
;[Test::PodSpelling]
; check Pod coverage
;[Test::Pod::Coverage::Configurable]
;skip = qr/::_/
;also_private = qr/^[A-Z_]+$/
; check Perl::Critic
;[Test::Perl::Critic]
;[Test::LocalBrew]
;brews = perl-5.10.1
;brews = perl-5.12.1
;brews = perl-5.14.2
;brews = perl-5.16.0
; *** EncodingProvider phase ***
; provide file encoding hints to prevent binary files from being analyzed
; as textual data
[Encoding]
encoding = bytes
filename = t/img.png
match = ^t/data
; *** FilePruner phase ***
; remove typical set of files we don't want
[PruneCruft]
; *** FileMunger phase ***
; RewriteVersion is both a VersionProvider and FileMunger
; VersionProvider: set $VERSION from main module
; FileMunger: munge $VERSION to dist version in gathered files
[RewriteVersion]
; Add boilerplate Pod to all modules and rewrite custom Pod extensions.
; The replacer settings minimize any line-number changes in code
[SurgicalPodWeaver]
:version = 0.0021
replacer = replace_with_comment
post_code_replacer = replace_with_nothing
; SurgicalPodWeaver extends PodWeaver and we want a new-ish version
; authordep Dist::Zilla::Plugin::PodWeaver 4.005
;
; Pod weaving requires these plugins
; authordep Pod::Elemental::Transformer::List
; authordep Pod::Weaver::Plugin::SingleEncoding
; *** PrereqSource phase ***
; Add pre-configuration requirements to META so that Makefile.PL will run
[Prereqs / ConfigureRequires]
Config::AutoConf = 0.22
Path::Tiny = 0.052
; Detect prerequisites from code and tests
[AutoPrereqs]
skip = ^MongoDB::
[Prereqs]
Class::XSAccessor = 0
DateTime = 0.78
Moo = 2
Type::Tiny::XS = 0
[RemovePrereqs]
remove = Authen::SASL
remove = DateTime::Tiny
remove = Errno
remove = IO::Socket::IP
remove = IO::Socket::SSL
remove = Mozilla::CA
remove = Net::SSLeay
remove = Time::Moment
remove = threads
[Prereqs / Recommends]
IO::Socket::IP = 0.25
IO::Socket::SSL = 1.42
Mozilla::CA = 20130114
Net::SSLeay = 1.49
[Prereqs / Suggests]
IO::Socket::SSL = 1.56
[Prereqs / TestRecommends]
Test::Harness = 3.31
Time::Moment = 0.22
DateTime::Tiny = 1
; *** MetaProvider phase
; Set homepage and repository metadata fields from the 'origin' remote,
; which is assumed to be from Github.
[GithubMeta]
; Set bugtracker metadata to point to jira so search.cpan.org and
; metacpan.org will link there instead of rt.cpan.org
[Bugtracker]
web = https://jira.mongodb.org/browse/PERL
; Set 'no_index' metadata to hint that modules in these directories
; must not be indexed by PAUSE
[MetaNoIndex]
directory = devel
directory = inc
directory = t
directory = xt
; generate 'provides' metadata, which controls how PAUSE indexes
; our modules; use 'no_index' to mask packages reported
[MetaProvides::Package]
meta_noindex = 1
; *** InstallTool phase ***
; use our provided Makefile.PL
[MakeMaker::Custom]
; Actually a TestRunner helper plugin, but needs to come after
; MakeMaker::Custom; conditionally run xt/ tests during dzil test or dzil
; release;
[RunExtraTests]
default_jobs = 9
; generate META.yml and META.json files
[MetaYAML]
[MetaJSON]
[Git::Contributors]
; *** AfterBuild phase ***
; none
; *** BeforeArchive phase ***
; none
; *** BeforeRelease phase ***
; make sure we're using correct version number format
[CheckStrictVersion]
tuple_only = 1
; check for dirty files or files not covered by version control;
; dist.ini and Changes are allowed to be dirty and will get
; committed later after release
[Git::Check]
; ensure META has 'resources' data
[CheckMetaResources]
; ensure prereqs are on CPAN
[CheckPrereqsIndexed]
; ensure Changes has been updated
[CheckChangesHasContent]
; ensure Changes has any Jira tickets
[=inc::CheckJiraInChanges]
; check tests before release or abort
[TestRelease]
; prompt user before uploading to CPAN
[ConfirmRelease]
; *** Releaser phase ***
; uploads to cpan; credentials must be in the specified file
[UploadToCPAN]
:version = 5.015
pause_cfg_file = .pause-mongodb
; if we want to do a release without actually uploading, comment out
; UploadToCPAN and uncomment this
;[FakeRelease]
; *** AfterRelease phase ***
; commit source files as of "dzil release" with any
; allowable modifications (i.e. Changes and dist.ini)
[Git::Commit / Commit_Dirty_Files]
; tag repo as of "dzil release"
[Git::Tag]
tag_format = %v
tag_message = Version %v
; NextRelease is both a FileMunger and AfterRelease plugin.
; Before release, it will write version and timestamp to Changes.
; After release, it will write the {{$NEXT}} marker to Changes
; for the next release cycle.
;
; It must come in dist.ini *after* first Git::Commit and before
; the second one so that it acts at the right time after release
[NextRelease]
; increment $VERSION in source .pm files
[BumpVersionAfterRelease]
; commit source files after modification
[Git::Commit / Commit_Updated_Files]
allow_dirty_match = ^lib/
commit_msg = Commit Changes and bump $VERSION
; push commits and tags to 'origin' repo
[Git::Push]
push_to = origin