The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

cpanm-reporter - send cpanm output to CPAN Testers

SYNOPSIS

Call cpanm as you normally would:

   > cpanm Moose Catalyst::Runtime Data::Printer ...

then, just call cpanm-reporter:

   > cpanm-reporter

OPTIONAL ARGUMENTS

   --build_dir=PATH       Where your build directory is, containing
                          each dist's subdir. Default: $HOME/.cpanm/latest-build

   --build_logfile=PATH   Where the build.log is. Default: $BUILD_DIR/build.log

   --verbose (or -v)      Extra output

DESCRIPTION

This app properly parses the output of cpanm (build.log) to automatically generate and send reports to the CPAN Testers database.

cpanm has quickly become one of the most used CPAN clients out there, but it doesn't come with a native way to generate and send test reports to the CPAN Testers infrastructure. This standalone app is able to interact with your cpanm after you install a module, and do that for you.

CONFIGURATION AND ENVIRONMENT

You can use configuration files with different names and locations by setting the following environment variables:

  • PERL_CPAN_REPORTER_DIR

    The base directory in which your 'config.ini' file resides. Defaults to your home directory (if you're using Linux or OS X) or to the 'my documents' folder (if you're running Windows).

  • PERL_CPAN_REPORTER_CONFIG

    In case you don't want to change just the base directory but the entire file's path and name, you can set this variable to point at the new 'config.ini' file.

CAVEATS

  • cpanm currently does not record the output into your build.log file if you pass the "verbose" argument to it, either --verbose or -v. If you used those when installing dists, cpanm-reporter won't find anything to send :(

  • cpanm-reporter is an external, auxiliary tool to cpanm. Since they're not attached, you must take care not to change perls or local-libs between installing distributions with cpanm and generating/sending the reports with cpanm-reporter. If you're not a power user, you don't have to worry about this. Just remember to run cpanm-reporter immediately after cpanm and everything will be fine :)

AUTHOR

Breno G. de Oliveira <garu@cpan.org>

LICENCE AND COPYRIGHT

Copyright (c) 2012-2013, Breno G. de Oliveira <garu@cpan.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

DISCLAIMER OF WARRANTY

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.