Blame CONTRIBUTING.md

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