Debian Codegraph @

README

raw
1 NAME
2 Dist::Zilla::Plugin::Test::ReportPrereqs - Report on prerequisite
3 versions during automated testing
4
5 VERSION
6 version 0.029
7
8 SYNOPSIS
9 # in dist.ini
10 [Test::ReportPrereqs]
11 include = Acme::FYI
12 exclude = Acme::Dont::Care
13
14 DESCRIPTION
15 This Dist::Zilla plugin adds a t/00-report-prereqs.t test file and an
16 accompanying t/00-report-prereqs.dd data file. It reports the version of
17 all modules listed in the distribution metadata prerequisites (including
18 'recommends', 'suggests', etc.). However, any 'develop' prereqs are not
19 reported (unless they show up in another category).
20
21 If a MYMETA.json file exists and CPAN::Meta is installed on the testing
22 machine, MYMETA.json will be examined for prerequisites in addition, as
23 it would include any dynamic prerequisites not set in the distribution
24 metadata.
25
26 Versions are reported based on the result of "parse_version" from
27 ExtUtils::MakeMaker, which means prerequisite modules are not actually
28 loaded (which avoids various edge cases with certain modules). Parse
29 errors are reported as "undef". If a module is not installed, "missing"
30 is reported instead of a version string.
31
32 Additionally, if CPAN::Meta is installed, unfulfilled required
33 prerequisites are reported after the list of all versions based on
34 either MYMETA (preferably) or META (fallback).
35
36 CONFIGURATION
37 include
38 An "include" attribute can be specified (multiple times) to add modules
39 to the report. This can be useful if there is a module in the dependency
40 chain that is problematic but is not directly required by this project.
41 These modules will be listed in an "Other Modules" section at the end of
42 the report.
43
44 exclude
45 An "exclude" attribute can be specified (multiple times) to remove
46 modules from the report (if you had a reason to do so).
47
48 verify_prereqs
49 When set, installed versions of all 'requires' prerequisites are
50 verified against those specified. Defaults to true, but requires
51 CPAN::Meta to be installed.
52
53 version_extractor
54 Specifies the module to use to extract each installed prerequisite's
55 version. Defaults to ExtUtils::MakeMaker, which is recommended for most
56 situations. It can also be specified as Module::Metadata, which can be
57 useful if ExtUtils::MakeMaker's mechanism is too naive, or if
58 ExtUtils::MakeMaker is not already a prerequisite of the distribution.
59
60 SEE ALSO
61 Other Dist::Zilla::Plugins do similar things in slightly different ways
62 that didn't suit my style and needs.
63
64 * Dist::Zilla::Plugin::Test::PrereqsFromMeta -- requires prereqs to be
65 satisfied
66
67 * Dist::Zilla::Plugin::Test::ReportVersions -- bundles a copy of
68 YAML::Tiny, reads prereqs only from META.yml, and attempts to load
69 them with "require"
70
71 * Dist::Zilla::Plugin::ReportVersions::Tiny -- static list only, loads
72 modules with "require"
73
74 SUPPORT
75 Bugs / Feature Requests
76 Please report any bugs or feature requests through the issue tracker at
77 <https://github.com/dagolden/Dist-Zilla-Plugin-Test-ReportPrereqs/issues
78 >. You will be notified automatically of any progress on your issue.
79
80 Source Code
81 This is open source software. The code repository is available for
82 public review and contribution under the terms of the license.
83
84 <https://github.com/dagolden/Dist-Zilla-Plugin-Test-ReportPrereqs>
85
86 git clone https://github.com/dagolden/Dist-Zilla-Plugin-Test-ReportPrereqs.git
87
88 AUTHOR
89 David Golden <[email protected]>
90
91 CONTRIBUTORS
92 * Brendan Byrd <[email protected]>
93
94 * Dave Rolsky <[email protected]>
95
96 * Karen Etheridge <[email protected]>
97
98 * Kent Fredric <[email protected]>
99
100 * Randy Stauner <[email protected]>
101
102 * Ricardo Signes <[email protected]>
103
104 * Yanick Champoux <[email protected]>
105
106 COPYRIGHT AND LICENSE
107 This software is Copyright (c) 2012 by David Golden.
108
109 This is free software, licensed under:
110
111 The Apache License, Version 2.0, January 2004
112