increment $VERSION after 1.003029 release
[p5sagit/Devel-REPL.git] / CONTRIBUTING
CommitLineData
e40eb4d8 1
2CONTRIBUTING
3
4Thank you for considering contributing to this distribution. This file
5contains instructions that will help you work with the source code.
6
dff8f09f 7PLEASE NOTE that if you have any questions or difficulties, you can reach the
8maintainer(s) through the bug queue described later in this document
9(preferred), or by emailing the releaser directly. You are not required to
10follow any of the steps in this document to submit a patch or bug report;
11these are just recommendations, intended to help you (and help us help you
12faster).
13
14This distribution has a TODO file in the repository; you may want to check
15there to see if your issue or patch idea is mentioned.
16
e40eb4d8 17The distribution is managed with Dist::Zilla (https://metacpan.org/release/Dist-Zilla).
18This means than many of the usual files you might expect are not in the
19repository, but are generated at release time (e.g. Makefile.PL).
20
21However, you can run tests directly using the 'prove' tool:
22
23 $ prove -l
24 $ prove -lv t/some_test_file.t
25 $ prove -lvr t/
26
2b75dcad 27In most cases, 'prove' is entirely sufficient for you to test any patches you
28have.
e40eb4d8 29
30You may need to satisfy some dependencies. The easiest way to satisfy
31dependencies is to install the last release -- this is available at
23ff40a3 32https://metacpan.org/release/Devel-REPL
e40eb4d8 33
34If you use cpanminus, you can do it without downloading the tarball first:
35
36 $ cpanm --reinstall --installdeps --with-recommends Devel::REPL
37
38Dist::Zilla is a very powerful authoring tool, but requires a number of
39author-specific plugins. If you would like to use it for contributing,
40install it from CPAN, then run one of the following commands, depending on
41your CPAN client:
42
43 $ cpan `dzil authordeps --missing`
44or
45 $ dzil authordeps --missing | cpanm
46
47You should then also install any additional requirements not needed by the
48dzil build but may be needed by tests or other development:
49
50 $ cpan `dzil listdeps --author --missing`
51or
52 $ dzil listdeps --author --missing | cpanm
53
54Or, you can use the 'dzil stale' command to install all requirements at once:
55
56 $ cpan Dist::Zilla::App::Command::stale
57 $ cpan `dzil stale --all`
58or
59 $ cpanm Dist::Zilla::App::Command::stale
60 $ dzil stale --all | cpanm
61
62You can also do this via cpanm directly:
63
64 $ cpanm --reinstall --installdeps --with-develop --with-recommends Devel::REPL
65
66Once installed, here are some dzil commands you might try:
67
68 $ dzil build
69 $ dzil test
70 $ dzil test --release
71 $ dzil xtest
72 $ dzil listdeps --json
73 $ dzil build --notgz
74
75You can learn more about Dist::Zilla at http://dzil.org/.
76
23ff40a3 77The code for this distribution is hosted at GitHub. The repository is:
2b75dcad 78
23ff40a3 79https://github.com/p5sagit/Devel-REPL
2b75dcad 80
23ff40a3 81You can submit code changes by forking the repository, pushing your code
2b75dcad 82changes to your clone, and then submitting a pull request. Please include a
83suitable end-user-oriented entry in the Changes file describing your change.
84Detailed instructions for doing that is available here:
23ff40a3 85
86https://help.github.com/articles/creating-a-pull-request
e40eb4d8 87
88If you have found a bug, but do not have an accompanying patch to fix it, you
89can submit an issue report here:
90https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-REPL
23ff40a3 91or via email: bug-Devel-REPL@rt.cpan.org
dff8f09f 92
93There is also an irc channel available for users of this distribution, at
23ff40a3 94irc://irc.perl.org/#devel-repl
dff8f09f 95
96If you send me a patch or pull request, your name and email address will be
97included in the documentation as a contributor (using the attribution on the
98commit or patch), unless you specifically request for it not to be. If you
99wish to be listed under a different name or address, you should submit a pull
100request to the .mailmap file to contain the correct mapping.
e40eb4d8 101
102
2b75dcad 103This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.015
104from a template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.162.