Blame CONTRIBUTING.md

Packit Service 817997
# CONTRIBUTING
Packit Service 817997
Packit Service 817997
Thank you for considering contributing to this distribution. This file
Packit Service 817997
contains instructions that will help you work with the source code.
Packit Service 817997
Packit Service 817997
Please note that if you have any questions or difficulties, you can reach the
Packit Service 817997
maintainer(s) through the bug queue described later in this document
Packit Service 817997
(preferred), or by emailing the releaser directly. You are not required to
Packit Service 817997
follow any of the steps in this document to submit a patch or bug report;
Packit Service 817997
these are just recommendations, intended to help you (and help us help you
Packit Service 817997
faster).
Packit Service 817997
Packit Service 817997
Packit Service 817997
The distribution is managed with
Packit Service 817997
[Dist::Zilla](https://metacpan.org/release/Dist-Zilla).
Packit Service 817997
Packit Service 817997
However, you can still compile and test the code with the `Makefile.PL` or
Packit Service 817997
`Build.PL` in the repository:
Packit Service 817997
Packit Service 817997
    perl Makefile.PL
Packit Service 817997
    make
Packit Service 817997
    make test
Packit Service 817997
Packit Service 817997
or
Packit Service 817997
    perl Build.PL
Packit Service 817997
    ./Build
Packit Service 817997
    ./Build test
Packit Service 817997
Packit Service 817997
As well as:
Packit Service 817997
Packit Service 817997
    $ prove -bvr t
Packit Service 817997
Packit Service 817997
or
Packit Service 817997
Packit Service 817997
    $ perl -Mblib t/some_test_file.t
Packit Service 817997
Packit Service 817997
You may need to satisfy some dependencies. The easiest way to satisfy
Packit Service 817997
dependencies is to install the last release. This is available at
Packit Service 817997
https://metacpan.org/release/Params-ValidationCompiler
Packit Service 817997
Packit Service 817997
If you use cpanminus, you can do it without downloading the tarball first:
Packit Service 817997
Packit Service 817997
    $ cpanm --reinstall --installdeps --with-recommends Params::ValidationCompiler
Packit Service 817997
Packit Service 817997
Dist::Zilla is a very powerful authoring tool, but requires a number of
Packit Service 817997
author-specific plugins. If you would like to use it for contributing, install
Packit Service 817997
it from CPAN, then run one of the following commands, depending on your CPAN
Packit Service 817997
client:
Packit Service 817997
Packit Service 817997
    $ cpan `dzil authordeps --missing`
Packit Service 817997
Packit Service 817997
or
Packit Service 817997
Packit Service 817997
    $ dzil authordeps --missing | cpanm
Packit Service 817997
Packit Service 817997
They may also be additional requirements not needed by the dzil build which
Packit Service 817997
are needed for tests or other development:
Packit Service 817997
Packit Service 817997
    $ cpan `dzil listdeps --author --missing`
Packit Service 817997
Packit Service 817997
or
Packit Service 817997
Packit Service 817997
    $ dzil listdeps --author --missing | cpanm
Packit Service 817997
Packit Service 817997
Or, you can use the 'dzil stale' command to install all requirements at once:
Packit Service 817997
Packit Service 817997
    $ cpan Dist::Zilla::App::Command::stale
Packit Service 817997
    $ cpan `dzil stale --all`
Packit Service 817997
Packit Service 817997
or
Packit Service 817997
Packit Service 817997
    $ cpanm Dist::Zilla::App::Command::stale
Packit Service 817997
    $ dzil stale --all | cpanm
Packit Service 817997
Packit Service 817997
You can also do this via cpanm directly:
Packit Service 817997
Packit Service 817997
    $ cpanm --reinstall --installdeps --with-develop --with-recommends Params::ValidationCompiler
Packit Service 817997
Packit Service 817997
Once installed, here are some dzil commands you might try:
Packit Service 817997
Packit Service 817997
    $ dzil build
Packit Service 817997
    $ dzil test
Packit Service 817997
    $ dzil test --release
Packit Service 817997
    $ dzil xtest
Packit Service 817997
    $ dzil listdeps --json
Packit Service 817997
    $ dzil build --notgz
Packit Service 817997
Packit Service 817997
You can learn more about Dist::Zilla at http://dzil.org/.
Packit Service 817997
Packit Service 817997
The code for this distribution is [hosted at GitHub](https://github.com/houseabsolute/Params-ValidationCompiler).
Packit Service 817997
Packit Service 817997
You can submit code changes by forking the repository, pushing your code
Packit Service 817997
changes to your clone, and then submitting a pull request. Detailed
Packit Service 817997
instructions for doing that is available here:
Packit Service 817997
Packit Service 817997
https://help.github.com/articles/creating-a-pull-request
Packit Service 817997
Packit Service 817997
If you have found a bug, but do not have an accompanying patch to fix it, you
Packit Service 817997
can submit an issue report [via the web](https://github.com/houseabsolute/Params-ValidationCompiler/issues)
Packit Service 817997
).
Packit Service 817997
This is a good place to send your questions about the usage of this distribution.
Packit Service 817997
Packit Service 817997
## Travis
Packit Service 817997
Packit Service 817997
All pull requests for this distribution will be automatically tested by
Packit Service 817997
[Travis](https://travis-ci.org/) and the build status will be reported on the
Packit Service 817997
pull request page. If your build fails, please take a look at the output.
Packit Service 817997
Packit Service 817997
## TidyAll
Packit Service 817997
Packit Service 817997
This distribution uses
Packit Service 817997
[Code::TidyAll](https://metacpan.org/release/Code-TidyAll) to enforce a
Packit Service 817997
uniform coding style. This is tested as part of the author testing suite. You
Packit Service 817997
can install and run tidyall by running the following commands:
Packit Service 817997
Packit Service 817997
    $ cpanm Code::TidyAll
Packit Service 817997
    $ tidyall -a
Packit Service 817997
Packit Service 817997
Please run this before committing your changes and address any issues it
Packit Service 817997
brings up.
Packit Service 817997
Packit Service 817997
## Contributor Names
Packit Service 817997
Packit Service 817997
If you send a patch or pull request, your name and email address will be
Packit Service 817997
included in the documentation as a contributor (using the attribution on the
Packit Service 817997
commit or patch), unless you specifically request for it not to be. If you
Packit Service 817997
wish to be listed under a different name or address, you should submit a pull
Packit Service 817997
request to the .mailmap file to contain the correct mapping.
Packit Service 817997
Packit Service 817997
This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.013 from a
Packit Service 817997
template file originating in Dist-Zilla-PluginBundle-DROLSKY-0.89.