Questions tagged [dist-zilla]

Dist::Zilla is a Module development and release toolkit for the Perl Programming Language, which utilizes plugins to make mundane tasks easy to automate.

Dist::Zilla is a Module development and release tool-kit for the Perl Programming Language.

Dist::Zilla has a large collection of Plugins, which can be used to achieve various tasks common for module authors.

  1. Generate common tests, eg:
    1. End-of-line/whitespace checks.
    2. perl-critic tests.
    3. documentation coverage tests.
  2. Create the initial project in a customized way.
  3. Augment files in varying ways, eg:
    1. Inject $VERSION= code.
    2. Inject Boiler-plate POD documentation parts automatically ( ie: NAME, VERSION )
    3. Reformat documentation and rearrange it in user-specified ways.
  4. Automate Integration with SCM's like Git to perform various tasks, eg:
    1. Automate version incrementing by scanning git tags.
    2. Automate tagging on release.
    3. Automate maintenance of a "build" branch.
  5. Upload your distribution to CPAN for you as part of dzil release
  6. Tweet about releases.

Useful Links:

Useful Plugins:

41 questions
1
vote
1 answer

Abstract classes and Pod::Coverage

I've recently started to try to use Dist::Zilla for maintaining Path::Class. I added the [PodCoverageTests] plugin, and it's reporting some failures in the Path::Class::Entity class, which is the abstract base class for Path::Class::File and…
Ken Williams
  • 22,756
  • 10
  • 85
  • 147
1
vote
1 answer

Output '{{$NEXT}}' with Text::Template

The NextRelease plugin for Dist::Zilla looks for {{$NEXT}} in the Changes file to put the release datetime information. However, I can't get this to be generated using my profile.ini. Here's what I have: [GenerateFile / Generate-Changes ] filename …
Nate Glenn
  • 6,455
  • 8
  • 52
  • 95
1
vote
2 answers

Dzil Release Clobbers Jar File

I have created a Perl module to provide an interface with the RNG-processing Java library Jing. The code is located here. I use [Inline::Java][3] to compile and load a small class which utilizes jing.jar, both located in the java directory, which is…
Nate Glenn
  • 6,455
  • 8
  • 52
  • 95
1
vote
1 answer

Checking for missed empty lines in POD

I use Dist::Zilla and a bunch of plugins to check my pod, including syntax, links, coverage etc. One really annoying POD mistake that I keep repeating is to forget to add an extra line after a =headX; for example, I just created a module with pod…
Nate Glenn
  • 6,455
  • 8
  • 52
  • 95
0
votes
2 answers

Add one untracked file with Dist::Zilla::Plugin::Gatherdir

I am using Dist::Zilla to build a Perl module. I have replaced the standard GatherDir with Git::GatherDir. But my main module lib/XY.pm is generated and therefore not under version control. How can I add it?
Guido Flohr
  • 1,871
  • 15
  • 28
0
votes
1 answer

Moose throwing an error when trying to build a distribution with Dist::Zilla

I'm having a bit of trouble with building a Dist::Zilla distribution. Every time I try and build it, or really do anything (i.e., test, smoke, listdeps, whatever it is), I get this error message: Attribute name must be provided before calling reader…
ozzmotik
  • 377
  • 1
  • 3
  • 12
0
votes
1 answer

"No -phase or -relationship specified" error when running dzil build

I am trying to build this Perl module: git clone git@github.com:jrockway/anyevent-subprocess.git cd anyevent-subprocess dzil authordeps --missing | cpanm dzil build But the build aborts with an error: [Test] No -phase or -relationship…
Håkon Hægland
  • 39,012
  • 21
  • 81
  • 174
0
votes
1 answer

Dist::Zilla: Getting install instructions into Readme.mkdn

I'm using Dist::Zilla to generate a README.mkdn file. I want to inject installation instructions into it using Pod::Weaver::Section::Installation. Not sure if this can be done. There's probably a better way to do this. Here is my weaver.ini file in…
StevieD
  • 6,925
  • 2
  • 25
  • 45
0
votes
1 answer

Wrong file encoding after Dist::Zilla

How can I get mojibake to pass? this might be a bug in the contributors plugin. The character does not render correctly in perldoc, but does in my vim and in the extracted git log. # Failed test 'Mojibake test for blib/lib/Pod/Spell.pm' # at…
xenoterracide
  • 16,274
  • 24
  • 118
  • 243
0
votes
1 answer

How should a Dist::Zilla plugin give feedback to the user?

I have a couple of Dist::Zilla plugins that I wrote when I was very new to Moose and to Dist::Zilla both, and I'm currently trying to update them to make them a bit more robust, and less error-prone. One thing I would like to do is to give the user…
swestrup
  • 4,079
  • 3
  • 22
  • 33
0
votes
1 answer

"dzil new" stopped working

I'm using perlbrew. Tested under Perl v5.16.2 and v5.14.2, on Mac OS X, Debian and Ubuntu boxes. The result is always the same: stas@Stanislaws-MacBook-Pro:~$ dzil new Some::Module [DZ] making target dir /Users/stas/Some-Module [DZ] writing files to…
creaktive
  • 5,193
  • 2
  • 18
  • 32
1 2
3