-
-
16 May 2018 23:39:30 UTC
- Distribution: Dist-Zilla-PluginBundle-DAGOLDEN
- Module version: 0.079
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (1)
- Testers (359 / 0 / 0)
- Kwalitee
Bus factor: 1- 85.24% Coverage
- License: apache_2_0
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (27.87KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 6 contributors-
Christian Walde
-
Eric Johnson
-
Karen Etheridge
-
Philippe Bruhat (BooK)
-
Sergey Romanov
-
김도형 - Keedi Kim
- Dependencies
- Dist::Zilla
- Dist::Zilla::Plugin::Authority
- Dist::Zilla::Plugin::Bugtracker
- Dist::Zilla::Plugin::BumpVersionAfterRelease
- Dist::Zilla::Plugin::CPANFile
- Dist::Zilla::Plugin::CheckChangesHasContent
- Dist::Zilla::Plugin::CheckMetaResources
- Dist::Zilla::Plugin::CheckPrereqsIndexed
- Dist::Zilla::Plugin::CopyFilesFromBuild::Filtered
- Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch
- Dist::Zilla::Plugin::Git::Contributors
- Dist::Zilla::Plugin::Git::NextVersion
- Dist::Zilla::Plugin::GithubMeta
- Dist::Zilla::Plugin::InsertCopyright
- Dist::Zilla::Plugin::MetaNoIndex
- Dist::Zilla::Plugin::MetaProvides::Package
- Dist::Zilla::Plugin::MinimumPerl
- Dist::Zilla::Plugin::Pod2Readme
- Dist::Zilla::Plugin::Prereqs::AuthorDeps
- Dist::Zilla::Plugin::PromptIfStale
- Dist::Zilla::Plugin::RewriteVersion
- Dist::Zilla::Plugin::RunExtraTests
- Dist::Zilla::Plugin::SurgicalPodWeaver
- Dist::Zilla::Plugin::TaskWeaver
- Dist::Zilla::Plugin::Test::Compile
- Dist::Zilla::Plugin::Test::MinimumVersion
- Dist::Zilla::Plugin::Test::Perl::Critic
- Dist::Zilla::Plugin::Test::PodSpelling
- Dist::Zilla::Plugin::Test::Portability
- Dist::Zilla::Plugin::Test::ReportPrereqs
- Dist::Zilla::Plugin::Test::Version
- Dist::Zilla::PluginBundle::Filter
- Dist::Zilla::PluginBundle::Git
- Dist::Zilla::Role::PluginBundle::Config::Slicer
- Dist::Zilla::Role::PluginBundle::Easy
- Dist::Zilla::Role::PluginBundle::PluginRemover
- Moose
- Pod::Elemental::PerlMunger
- Pod::Elemental::Transformer::List
- Pod::Weaver
- Pod::Weaver::Config::Assembler
- Pod::Weaver::Plugin::WikiDoc
- Pod::Weaver::Section::Contributors
- Pod::Weaver::Section::Support
- Pod::Wordlist
- Test::Portability::Files
- namespace::autoclean
- strict
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Dist::Zilla::PluginBundle::DAGOLDEN - Dist::Zilla configuration the way DAGOLDEN does it
VERSION
version 0.079
SYNOPSIS
# in dist.ini [@DAGOLDEN]
DESCRIPTION
This is a Dist::Zilla PluginBundle. It is roughly equivalent to the following dist.ini:
; version provider [RewriteVersion] ; also munges ; choose files to include [Git::GatherDir] ; everything from git ls-files exclude_filename = README.pod ; skip this generated file exclude_filename = README.mkdn ; skip this generated file exclude_filename = META.json ; skip this generated file exclude_filename = cpanfile ; skip this generated file exclude_filename = Makefile.PL ; skip this generated file [PruneCruft] ; default stuff to skip [ManifestSkip] ; if -f MANIFEST.SKIP, skip those, too ; file modifications [InsertCopyright] ; add copyright at "# COPYRIGHT" [SurgicalPodWeaver] ; generate Pod config_plugin = @DAGOLDEN ; my own plugin allows Pod::WikiDoc replacer = replace_with_comment post_code_replacer = replace_with_nothing ; generated files [License] ; boilerplate license [Pod2Readme] ; from Pod (runs after PodWeaver) ; t tests [Test::ReportPrereqs] ; show prereqs in automated test output ; xt tests [Test::MinimumVersion] ; xt/release/minimum-version.t max_target_perl = 5.010 ; don't use syntax/features past 5.10 [Test::PodSpelling] ; xt/author/pod-spell.t [Test::Perl::Critic]; xt/author/critic.t [MetaTests] ; xt/release/meta-yaml.t [PodSyntaxTests] ; xt/release/pod-syntax.t [PodCoverageTests] ; xt/release/pod-coverage.t [Test::Portability] ; xt/release/portability.t (of file name) options = test_one_dot = 0 [Test::Version] ; xt/release/test-version.t [Test::Compile] ; xt/author/00-compile.t fake_home = 1 ; fakes $ENV{HOME} just in case xt_mode = 1 ; make sure all files compile ; metadata [AutoPrereqs] ; find prereqs from code skip = ^t::lib [Authority] authority = cpan:DAGOLDEN do_munging = 0 [MinimumPerl] ; determine minimum perl version [MetaNoIndex] ; sets 'no_index' in META directory = t directory = xt directory = examples directory = corpus package = DB ; just in case [GithubMeta] ; set META resources remote = origin remote = github issues = 1 [MetaProvides::Package] ; add 'provides' to META files meta_noindex = 1 ; respect prior no_index directives [Git::Contributors] ; collect contributors list [Prereqs::AuthorDeps] ; add authordeps as develop/requires [MetaYAML] ; generate META.yml (v1.4) [MetaJSON] ; generate META.json (v2) [CPANFile] ; generate cpanfile ; build system [ExecDir] ; include 'bin/*' as executables [ShareDir] ; include 'share/' for File::ShareDir [MakeMaker] ; create Makefile.PL eumm_version = 6.17 default_jobs = 9 ; manifest (after all generated files) [Manifest] ; create MANIFEST ; copy Makefile.PL back to repo dis [CopyFilesFromBuild::Filtered] copy = Makefile.PL ; before release [PromptIfStale] ; check if our build tools are out of date module = Dist::Zilla module = Dist::Zilla::PluginBundle::DAGOLDEN check_all_plugins = 1 [Git::CheckFor::CorrectBranch] ; ensure on master branch [Git::Check] ; ensure all files checked in allow_dirty = dist.ini allow_dirty = Changes allow_dirty = cpanfile [CheckMetaResources] ; ensure META has 'resources' data [CheckPrereqsIndexed] ; ensure prereqs are on CPAN [CheckChangesHasContent] ; ensure Changes has been updated [RunExtraTests] ; ensure xt/ tests pass default_jobs = 9 [TestRelease] ; ensure t/ tests pass [ConfirmRelease] ; prompt before uploading ; releaser [UploadToCPAN] ; uploads to CPAN ; after release [Git::Commit / Commit_Dirty_Files] ; commit Changes (as released) [Git::Tag] ; tag repo with custom tag tag_format = release-%v ; NextRelease acts *during* pre-release to write $VERSION and ; timestamp to Changes and *after* release to add a new {{$NEXT}} ; 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] [BumpVersionAfterRelease] [Git::Commit / Commit_Changes] ; commit Changes (for new dev) [Git::Push] ; push repo to remote push_to = origin
USAGE
To use this PluginBundle, just add it to your dist.ini. You can provide the following options:
is_task
— this indicates whetherTaskWeaver
orSurgicalPodWeaver
should be used.Default is 0.
authority
— specifies thex_authority
field for pause. Defaults to 'cpan:DAGOLDEN'.auto_prereq
— this indicates whetherAutoPrereqs
should be used or not. Default is 1.#
auto_version
- this indicates whetherAutoVersion
should be used or not. Default is 0.darkpan
— for private code; usesFakeRelease
and fills in dummy repo/bugtracker datafake_release
— swapsFakeRelease
forUploadToCPAN
. Mostly useful for testing a dist.ini without risking a real release.git_remote
— where to push after releasegithub_issues
— whether to use github issue tracker. Defaults is 1.stopwords
— add stopword forTest::PodSpelling
(can be repeated)tag_format
— given toGit::Tag
. Default is 'release-%v' to be morerobust than just the version number when parsing versions for Git::NextVersion
weaver_config
— specifies a Pod::Weaver bundle. Defaults to @DAGOLDEN.version_regexp
— given to Git::NextVersion. Defaultis '^release-(.+)$'
no_git
— bypass all git-dependent pluginsno_copy_files
— skip copying Makefile.PL or cpanfileno_critic
— omitTest::Perl::Critic
testsno_spellcheck
— omitTest::PodSpelling
testsno_coverage
— omit PodCoverage testsno_minimum_perl
— omitTest::MinimumVersion
testsno_bugtracker
— DEPRECATED
When running without git,
GatherDir
is used instead ofGit::GatherDir
. and all git check and commit operations are disabled.By default, versions are taken/rewritten in the source file using
RewriteVersion
andBumpVersionAfterRelease
. If theauto_version
option is true, the version is set byAutoVersion
and munged withPkgVersion
. Forauto_version
the generatedcpanfile
is copied to the repo on build; otherwise,Makefile.PL
is copied.This PluginBundle now supports
ConfigSlicer
, so you can pass in options to the plugins used like this:[@DAGOLDEN] Test::MinimumVersion.max_target_perl = 5.014 ExecDir.dir = scripts
This PluginBundle also supports
PluginRemover
, so dropping a plugin is as easy as this:[@DAGOLDEN] -remove = InsertCopyright
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker at https://github.com/dagolden/Dist-Zilla-PluginBundle-DAGOLDEN/issues. You will be notified automatically of any progress on your issue.
Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/dagolden/Dist-Zilla-PluginBundle-DAGOLDEN
git clone https://github.com/dagolden/Dist-Zilla-PluginBundle-DAGOLDEN.git
AUTHOR
David Golden <dagolden@cpan.org>
CONTRIBUTORS
Christian Walde <walde.christian@googlemail.com>
Eric Johnson <eric.git@iijo.org>
Karen Etheridge <ether@cpan.org>
Philippe Bruhat (BooK) <book@cpan.org>
Sergey Romanov <complefor@rambler.ru>
김도형 - Keedi Kim <keedi@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2018 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
Module Install Instructions
To install Dist::Zilla::PluginBundle::DAGOLDEN, copy and paste the appropriate command in to your terminal.
cpanm Dist::Zilla::PluginBundle::DAGOLDEN
perl -MCPAN -e shell install Dist::Zilla::PluginBundle::DAGOLDEN
For more information on module installation, please visit the detailed CPAN module installation guide.