Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Keeping separate CPAN::Reporter reports-send.db files for different Perls

0 views
Skip to first unread message

David Golden

unread,
Nov 27, 2009, 7:50:22 AM11/27/09
to CPAN Testers Discuss
To pull this out of the other thread, in my regression smoker, I've
needed two separate reports-sent.db file because it's the *same* Perl,
but with different modules installed. My solution has been to use
PERL_CPAN_REPORTER_DIR to set different locations for the
reports-send.db for different smoke runs. E.g. along the lines of
this:

$ENV{PERL_CPAN_REPORTER_CONFIG} = $config_ini_file;

for my $name ( @variants ) {
$ENV{PERL_CPAN_REPORTER_DIR) = catdir($base, $name)
smoke_it( $perls{$name} )
}

While I haven't done it yet (planning to for the CT2.0 client), you
can use Tux's Config::Perl::V module to generate an MD5 signature of
useful Config (and other) information. This would be a good way to
"name" your variants automatically.

-- David

0 new messages