Dist::Zilla::PluginBundle::Author::CHIM - Dist::Zilla configuration the way CHIM does it
version 0.052005
This is a Dist::Zilla PluginBundle. It is roughly equivalent to the following dist.ini:
[Git::NextVersion] version_regexp = ^([\d._]+)(-TRIAL)?$ [GatherDir] [PruneCruft] ;; modified files [OurPkgVersion] [PodWeaver] config_plugin = @CHIM [NextRelease] time_zone = UTC format = %-7v %{EEE MMM d HH:mm:ss yyyy ZZZ}d [Authority] authority = %{authority} do_metadata = 1 locate_comment = 1 ;; generated files [License] [ReadmeAnyFromPod / ReadmeInBuild] type = text filename = README location = build [ReadmeAnyFromPod / ReadmeMdInRoot] type = markdown filename = README.md location = root [TravisCI::StatusBadge] vector = 1 [MetaNoIndex] directory = t directory = xt directory = eg directory = examples directory = corpus package = DB namespace = t::lib [GithubMeta] homepage = https://metacpan.org/release/%{dist} remote = origin remote = github remote = gh issues = 1 ;; add 'provides' to META [MetaProvides::Package] meta_noindex = 1 ;; META files [MetaYAML] [MetaJSON] ;; t tests [Test::Compile] fake_home = 1 ;; xt tests [MetaTests] [PodSyntaxTests] [PodCoverageTests] [Test::Version] [Test::Kwalitee] [Test::EOL] [Test::NoTabs] ;; build [MakeMaker] [Manifest] ;; run tests at xt/ on dzil test [RunExtraTests] default_jobs = 7 [Git::Check] allow_dirty = dist.ini allow_dirty = Changes untracked_files = die ;; release [ConfirmRelease] [UploadToCPAN] [Git::Commit] commit_msg = bump Changes v%v%t [ci skip] [Git::Tag] tag_format = %v%t tag_message = release v%v%t
# in dist.ini [@Author::CHIM] dist = My-Very-Cool-Module authority = cpan:CHIM github.user = Wu-Wu
Removes a plugin. Might be used multiple times.
[@Author::CHIM] -remove = PodCoverageTests -remove = Test::Kwalitee
The name of the distribution. Required.
Boolean. When true - all git-related plugins will be skipped. Default value is false.
true
false
This one is used to set name the CPAN author of the distibution. It should be something like cpan:PAUSEID. Default value is cpan:CHIM.
cpan:PAUSEID
cpan:CHIM
Indicates github.com's account name. Default value is Wu-Wu. Used by Dist::Zilla::Plugin::GithubMeta and Dist::Zilla::Plugin::TravisCI::StatusBadge.
Wu-Wu
Indicates github.com's repository name. Default value is set to value of the "dist" option. Used by Dist::Zilla::Plugin::GithubMeta and Dist::Zilla::Plugin::TravisCI::StatusBadge.
Timezone for entries in Changes file. Default value is UTC.
UTC
See more at Dist::Zilla::Plugin::NextRelease.
Format of entry in Changes file. Default value is %-7v %{EEE MMM d HH:mm:ss yyyy ZZZ}d.
%-7v %{EEE MMM d HH:mm:ss yyyy ZZZ}d
Exclude directories (recursively with files) from indexing by PAUSE/CPAN. Default values: t, xt, eg, examples, corpus. Allowed multiple values, e.g.
t
xt
eg
examples
corpus
MetaNoIndex.directory = foo/bar MetaNoIndex.directory = quux/bar/foo
See more at Dist::Zilla::Plugin::MetaNoIndex.
Exclude stuff under the namespace from indexing by PAUSE/CPAN. Default values: t::lib. Allowed multiple values, e.g.
t::lib
MetaNoIndex.namespace = Foo::Bar MetaNoIndex.namespace = Quux::Foo
Exclude the package name from indexing by PAUSE/CPAN. Default values: DB. Allowed multiple values, e.g.
DB
MetaNoIndex.package = Foo::Bar
Exclude specific filename from indexing by PAUSE/CPAN. No defaults. Allowed multiple values, e.g.
MetaNoIndex.file = lib/Foo/Bar.pm
Regular expression pattern which causes not to gather matched files. No defaults. Allowed multiple values, e.g.
GatherDir.exclude_match = ^foo.* GatherDir.exclude_match = ^ba(r|z)\/qux.*
See more at Dist::Zilla::Plugin::GatherDir.
Regular expression that matches a tag containing a version. Default value is ^([\d._]+)(-TRIAL)?$.
^([\d._]+)(-TRIAL)?$
See more at Dist::Zilla::Plugin::Git::NextVersion.
Format of the tag to apply. Default value is %v%t.
%v%t
See more at Dist::Zilla::Plugin::Git::Tag.
Format of the tag annotation. Default value is release v%v%t.
release v%v%t
The commit message to use in commit after release. Default value is bump Changes v%v%t [ci skip].
bump Changes v%v%t [ci skip]
See more at Dist::Zilla::Plugin::Git::Commit.
File that is allowed to have local modifications. This option may appear multiple times. The default list is dist.ini and Changes.
dist.ini
Changes
See more at Dist::Zilla::Plugin::Git::Check.
The commit message to use in commit after release. Default value is die.
die
Homepage of the distribution. Default value is https://metacpan.org/release/%{dist}.
https://metacpan.org/release/%{dist}
See more at Dist::Zilla::Plugin::GithubMeta.
Remote names to inspect for github repository. Default values are origin, github, gh. You can provide multiple remote names
origin
github
gh
[@Author::CHIM] GithubMeta.remote = foo GithubMeta.remote = bar
Inserts a bugtracker url to metadata. Default value is 1.
1
Configuration of Pod::Weaver. This option may appear multiple times. Default value is @CHIM.
@CHIM
See more at Dist::Zilla::Plugin::PodWeaver and Pod::Weaver::PluginBundle::CHIM.
Bundle's configuration for role Dist::Zilla::Role::PluginBundle::Easy.
Use option fake_release in bundle configuration:
fake_release
[@Author::CHIM] ... fake_release = 1
or environment variable FAKE:
FAKE
FAKE=1 dzil release
The distribution won't actually uploaded to the CPAN if option or variable will found.
Please see those modules/websites for more information related to this module.
Dist::Zilla
Dist::Zilla::Role::PluginBundle::Easy
Dist::Zilla::Plugin::Authority
Dist::Zilla::Plugin::MetaNoIndex
Dist::Zilla::Plugin::NextRelease
Dist::Zilla::Plugin::GatherDir
Dist::Zilla::Plugin::Git
Dist::Zilla::Plugin::TravisCI::StatusBadge
Dist::Zilla::Plugin::GithubMeta
Please report any bugs or feature requests on the bugtracker website https://github.com/Wu-Wu/Dist-Zilla-PluginBundle-Author-CHIM/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Anton Gerasimov <chim@cpan.org>
This software is copyright (c) 2013 by Anton Gerasimov.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::PluginBundle::Author::CHIM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::PluginBundle::Author::CHIM
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::PluginBundle::Author::CHIM
For more information on module installation, please visit the detailed CPAN module installation guide.