CPAN.pm adds support for CPAN::Reporter

brian_d_foy on 2006-08-29T03:21:00

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


Useful addition...

Matts on 2006-08-27T22:52:51

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.

Re:Useful addition...

dagolden on 2006-08-29T04:00:18

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

Re:Useful addition...

Matts on 2006-08-29T08:43:28

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.

Re:Useful addition...

dagolden on 2006-08-29T09:27:26

That's more likely the sort of thing that should go into META.yml, though I can't ever see it being "enforceable".

Re:Useful addition...

Alias on 2006-08-29T16:56:30

Good idea.

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