Dist::Zilla::Plugin::CodeOfConduct - add a Code of Conduct to a distribution
In the dist.ini
:
[CodeOfConduct]
-version = v0.4.0
policy = Contributor_Covenant_1.4
name = Perl-Project-Name
contact = author@example.org
filename = CODE_OF_CONDUCT.md
This is a Dist::Zilla plugin to add a Code of Conduct to a distribution, using Software::Policy::CodeOfConduct.
Changes for version v0.1.1 (2025-08-16)
- Documentation
- README is now generated by Dist::Zilla::Plugin::UsefulReadme.
- Improved SYNOPSIS.
- Removed separate INSTALL file.
- Tests
- Updated author tests.
- Moved author tests into xt.
- Toolchain
- Improved Dist::Zilla config.
See the Changes
file for more details.
This module lists the following modules as runtime dependencies:
- Dist::Zilla::File::InMemory
- Dist::Zilla::Pragmas
- Dist::Zilla::Role::FileGatherer
- Dist::Zilla::Role::FilePruner
- Dist::Zilla::Role::PrereqSource
- Email::Address version 1.910 or later
- Moose
- MooseX::Types::Common::String
- MooseX::Types::Moose
- MooseX::Types::Perl
- Software::Policy::CodeOfConduct version v0.4.0 or later
- experimental
- namespace::autoclean
- perl version v5.20.0 or later
See the cpanfile
file for the full list of prerequisites.
The latest version of this module (along with any dependencies) can be installed from CPAN with the cpan
tool that is included with Perl:
cpan Dist::Zilla::Plugin::CodeOfConduct
You can also extract the distribution archive and install this module (along with any dependencies):
cpan .
You can also install this module manually using the following commands:
perl Makefile.PL
make
make test
make install
If you are working with the source repository, then it may not have a Makefile.PL
file. But you can use the Dist::Zilla tool in anger to build and install this module:
dzil build
dzil test
dzil install --install-command="cpan ."
For more information, see How to install CPAN modules.
Only the latest version of this module will be supported.
This module requires Perl v5.20 or later. Future releases may only support Perl versions released in the last ten years.
Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/perl-Dist-Zilla-Plugin-CodeOfConduct/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.
If the bug you are reporting has security implications which make it inappropriate to send to a public issue tracker,
then see SECURITY.md
for instructions how to report security vulnerabilities.
The development version is on github at https://github.com/robrwo/perl-Dist-Zilla-Plugin-CodeOfConduct and may be cloned from git://github.com/robrwo/perl-Dist-Zilla-Plugin-CodeOfConduct.git
Robert Rothenberg rrwo@cpan.org
This software is copyright (c) 2025 by Robert Rothenberg.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.