Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

dagolden (6584)

dagolden
  (email not shown publicly)
AOL IM: xdaveg (Add Buddy, Send Message)

Journal of dagolden (6584)

Saturday August 26, 2006
07:29 PM

CPAN.pm adds support for CPAN::Reporter

[ #30763 ]

As of version 1.87_57, CPAN.pm has support for CPAN::Reporter. I wrote about this project in my last journal entry. At that time, one needed to install a subversion branch of CPAN.pm to use CPAN::Reporter. Now, it's easy to set up directly from the CPAN shell:

cpan> install ANDK/CPAN-1.87_57.tar.gz
cpan> install CPAN::Reporter
cpan> reload cpan

If you're not prompted to adjust your CPAN configuration settings -- including enabling CPAN::Reporter -- you need to do it manually:

cpan> o conf test_report 1
cpan> o conf commit

The first time CPAN::Reporter runs, it will create a default configuration file where you will need to put your email address, so just test CPAN::Reporter again to create the config file:

cpan> test CPAN::Reporter

Set your email address in ~/.cpanreporter/config.ini (found in "My Documents" for Win32) and you're ready to contribute to CPAN Testers.

There are certainly still bugs to work out, but the more people who give it a try, the sooner the bugs will be found. So please give it a go.

-- dagolden

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Since CPAN test data isn't integrated into rt.cpan.org nor the module author's own test database, it'd be really cool if you could somehow specify something to EU::MakeMaker to give a "CC" email address to also receive reports. That way I'd know when tests fail and could fix much quicker.
    • This is already supported by Test::Reporter and therefore CPAN::Reporter, as well. By default, CPAN::Reporter will prompt to CC the module author, but defaults to no.

      To enable it automatically without prompting each time, set the "cc_author" option in your CPAN::Reporter config file:

      cc_author=yes
      • Awesome. Nice work :-)

        Though I'd like to see it settable (and enforced) in the WriteMakefile() params, as only the module author knows if he should be CC'd or not. The person installing the module wouldn't have a clue what the right thing to do is.
        • That's more likely the sort of thing that should go into META.yml, though I can't ever see it being "enforceable".

    • Good idea.

      I've set CC to enabled, and I'm installing DBD::SQLite right now, you should get the erro report shortly :)