1Dist::Zilla::Plugin::StUasteircICnosnttarlilb(u3tpemd)PDeirslt:D:oZciulmlean:t:aPtliuognin::StaticInstall(3pm)
2
3
4

NAME

6       Dist::Zilla::Plugin::StaticInstall - (EXPERIMENTAL, DANGEROUS) Identify
7       a distribution as eligible for static installation
8

VERSION

10       version 0.011
11

SYNOPSIS

13       In your dist.ini:
14
15           ; when you are confident this is correct
16           [StaticInstall]
17           mode = on
18
19           ; trust us to set the right value (DANGER!)
20           [StaticInstall]
21           mode = auto
22
23           ; be conservative; just tell us what the value should be
24           [StaticInstall]
25           mode = auto
26           dry_run = 1
27

DESCRIPTION

29       This is a Dist::Zilla plugin that, when "mode" is "on", provides the
30       following distribution metadata:
31
32           x_static_install : "1"
33
34       The plugin performs a number of checks against the distribution to
35       determine the proper value of the "x_static_install" metadata field.
36       When set to a true value, this indicates that the can skip a number of
37       installation steps (such as running Makefile.PL or Build.PL and acting
38       on its side effects).
39
40       The definition of a "static installation" is being prototyped by the
41       Perl Toolchain Gang and is still being refined.  DO NOT USE THIS PLUGIN
42       if you are not involved in this testing. The proper installation of the
43       built distribution cannot be guaranteed if installed with a static
44       install-enabled client.
45
46       The tentative specification is spelled out in more detail in
47       <https://github.com/Leont/cpan-static/blob/master/lib/CPAN/Static/Spec.pm>.
48
49       This plugin currently checks these conditions (if all are true,
50       "x_static_install" can be true):
51
52       ·   "dynamic_config" must be false in metadata
53
54       ·   no prerequisites in configure-requires other than
55           ExtUtils::MakeMaker, Module::Build::Tiny, or
56           File::ShareDir::Install
57
58       ·   no prerequisites in build-requires
59
60       ·   no files to be installed as executables outside of the script
61           directory
62
63       ·   no module sharedir (a distribution sharedir is okay)
64
65       ·   no installer plugins permitted other than:
66
67           ·   Dist::Zilla::Plugin::MakeMaker
68
69           ·   Dist::Zilla::Plugin::MakeMaker::Fallback
70
71           ·   Dist::Zilla::Plugin::ModuleBuildTiny
72
73           ·   Dist::Zilla::Plugin::ModuleBuildTiny::Fallback
74
75       ·   an installer plugin from the above list must be used (a manually-
76           generated Makefile.PL or Build.PL is not permitted)
77
78       ·   no other plugins may modify Makefile.PL nor Build.PL
79
80       ·   the "[MetaJSON]" plugin must be used, at (the default) meta-spec
81           version 2
82
83       ·   no .xs files may be present
84
85       ·   .pm, .pod, .pl files may not be present in the root of the
86           distribution or in "BASEEXT" (where "BASEEXT" is the last component
87           of the distribution name)
88
89       ·   .pmc and .PL files (excluding Makefile.PL, Build.PL) may not be
90           present
91

CONFIGURATION OPTIONS

93   "mode"
94       When set to "on", the value of "x_static_install" is set to 1 (the
95       normal usecase).
96
97       When set to "off", the value of "x_static_install" is set to 0, which
98       is equivalent to not providing this field at all.
99
100       When set to "auto", we attempt to calculate the proper value. When used
101       with "dry_run = 1", the value isn't actually stored, but just provided
102       in a diagnostic message. This is the recommended usage in a plugin
103       bundle, for testing against a number of distributions at once.
104
105       The calculations are always performed, no matter the value of "mode" --
106       if it comes up with a different result than what you are setting, this
107       is logged. If "mode = on" and the calculations discover the
108       distribution is ineligible for this flag, the build fails, to prevent
109       you from releasing bad metadata.
110
111   "dry_run"
112       When true, no value is set in metadata, but verbose logging is enabled
113       so you can see what the value would have been.
114

SEE ALSO

116       ·   CPAN::Meta::Spec
117
118       ·   CPAN::Static::Spec <https://github.com/Leont/cpan-static>.
119

SUPPORT

121       Bugs may be submitted through the RT bug tracker
122       <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-
123       StaticInstall> (or bug-Dist-Zilla-Plugin-StaticInstall@rt.cpan.org
124       <mailto:bug-Dist-Zilla-Plugin-StaticInstall@rt.cpan.org>).
125
126       There is also a mailing list available for users of this distribution,
127       at <http://dzil.org/#mailing-list>.
128
129       There is also an irc channel available for users of this distribution,
130       at "#distzilla" on "irc.perl.org" <irc://irc.perl.org/#distzilla>.
131
132       I am also usually active on irc, as 'ether' at "irc.perl.org".
133

AUTHOR

135       Karen Etheridge <ether@cpan.org>
136
138       This software is copyright (c) 2015 by Karen Etheridge.
139
140       This is free software; you can redistribute it and/or modify it under
141       the same terms as the Perl 5 programming language system itself.
142
143
144
145perl v5.28.0                      2017-0D8i-s2t0::Zilla::Plugin::StaticInstall(3pm)
Impressum