-
Notifications
You must be signed in to change notification settings - Fork 4
/
dist.ini
176 lines (154 loc) · 4.88 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
; --- Project details
name = CPAN-Testers-API
author = Doug Bell <[email protected]>
license = Perl_5
copyright_holder = Doug Bell
copyright_year = 2018
[Authority]
authority = cpan:PREACTION
do_munging = 0
[GithubMeta]
homepage = http://api.cpantesters.org
user = cpan-testers
repo = cpantesters-api
issues = 1
[MetaResources]
IRC = irc://irc.perl.org/#cpantesters-discuss
; --- Module management
[@Filter]
-bundle = @Basic
; GatherDir must be configured separately
-remove = GatherDir
-remove = Readme
[Readme::Brief]
[ReadmeAnyFromPod]
location = root
filename = README.mkdn
type = markdown
[PodWeaver]
replacer = replace_with_comment
post_code_replacer = replace_with_nothing
[RewriteVersion]
[CPANFile]
[MetaJSON]
[MetaProvides::Package]
[MetaNoIndex]
directory = t
directory = xt
directory = inc
directory = share
directory = eg
directory = examples
[Git::Contributors]
; authordep Pod::Weaver::Section::Contributors
[Test::ReportPrereqs]
[Test::Compile]
; --- Repository management
[Git::GatherDir]
include_dotfiles = 1
prune_directory = ^eg
; Exclude dotfiles in the root directory
exclude_match = ^\.[^/]+$
; Exclude generated root content, which is included by the various plugins
; Without this, we get an error about duplicate content
exclude_filename = cpanfile
exclude_filename = META.json
exclude_filename = LICENSE
exclude_filename = README
exclude_filename = README.mkdn
exclude_filename = Makefile.PL
[CopyFilesFromBuild]
; Copy generated content to the repository root so users without Dist::Zilla
; can use it
copy = cpanfile
copy = META.json
copy = LICENSE
copy = Makefile.PL
[Run::AfterBuild]
; Add travis and coveralls badges to README.mkdn
run = perl -pi -e 's{(# SYNOPSIS)}{# STATUS\n\n<a href="https://travis-ci.org/cpan-testers/cpantesters-api"><img src="https://travis-ci.org/cpan-testers/cpantesters-api.svg?branch=master"></a><a href="https://coveralls.io/r/cpan-testers/cpantesters-api"><img src="https://coveralls.io/repos/cpan-testers/CPAN-Testers-API/badge.png" alt="Coverage Status" /></a>\n\n$1}' README.mkdn
; --- Git management
[CheckChangesHasContent]
changelog = CHANGES
[Git::Check]
; Automatically commit these files during release
allow_dirty_match = README.*
allow_dirty_match = .*[.]PL
allow_dirty = cpanfile
allow_dirty = META.json
allow_dirty = LICENSE
allow_dirty = CHANGES
[Git::Commit / Commit_Dirty_Files]
; Automatically commit with release version and changelog
changelog = CHANGES
commit_msg = release v%v%n%n%c
allow_dirty_match = README.*
allow_dirty_match = .*[.]PL
allow_dirty = cpanfile
allow_dirty = META.json
allow_dirty = LICENSE
allow_dirty = CHANGES
add_files_in = .
[Git::Tag]
changelog = CHANGES
tag_message = %N v%v - %{yyyy-MM-dd}d%n%n%c ; Tag annotations show up in github release list
; NextRelease acts *during* pre-release to write $VERSION and
; timestamp to Changes and *after* release to add a new
; section, so to act at the right time after release, it must actually
; come after Commit_Dirty_Files but before Commit_Changes in the
; dist.ini. It will still act during pre-release as usual
[NextRelease]
filename = CHANGES
[BumpVersionAfterRelease]
[Git::Commit / Commit_Changes]
commit_msg = incrementing version after release
allow_dirty = CHANGES
allow_dirty_match = ^lib/.*\.pm$
allow_dirty_match = ^bin/.*$
allow_dirty_match = .*[.]PL
[Git::Push]
; --- Project-specific directives
[Prereqs]
perl = 5.024
Import::Base = 0.012 ; Fixed using subs in imports
Mojolicious = 7.40 ; Added MOJO_LOG_SHORT
Mojolicious::Plugin::OpenAPI = 1.21
JSON::Validator = 1.07
Mojolicious::Plugin::Config = 0
CPAN::Testers::Schema = 0.023 ; Added version arg to ResultSet::Release
File::Share = 0
Log::Any = 1.045 ; Returns message and faster
Log::Any::Adapter::MojoLog = 0.02
Alien::SwaggerUI = 0
Mercury = 0.015 ; Logs to STDERR
JSON::MaybeXS = 0
Cpanel::JSON::XS = 0
Mojolicious::Plugin::Yancy = 1.033
; This is temporary until we start sending messages over Mercury
Beam::Minion = 0.007 ; First version with enqueue options
Minion::Backend::mysql = 0.12 ; First version that works with Minion v8
[Prereqs / Recommends]
;-- These are required for the legacy Metabase API only
DateTime = 0 ; Legacy metabase API only
;-- Common prereqs with minimum version requirements
;Path::Tiny = 0.072 ; Fixes issues with File::Path
;List::Util = 1.29 ; First version with pair* functions
;Getopt::Long = 2.36 ; First version with GetOptionsFromArray
[Prereqs / TestRequires]
Test::More = 1.001005 ; First version that allows args to subtests
Test::Lib = 0
SQL::Translator = 0.11018 ; Required to deploy a DBIx::Class schema
Mock::MonkeyPatch = 0
;Test::Deep = 0
;Test::Differences = 0
;Test::Fatal = 0
[Prereqs / TestRecommends]
;-- Test the legacy metabase API
Test::mysqld = 0
Test::Reporter = 0
Test::Reporter::Transport::Null = 0
CPAN::Testers::Report = 0
CPAN::Testers::Fact::LegacyReport = 0
CPAN::Testers::Fact::TestSummary = 0
DBD::SQLite = 0
DateTime::Format::SQLite = 0