On Tue, Dec 22, 2009 at 10:36:30PM -0500, David Golden wrote:
> On Tue, Dec 22, 2009 at 2:52 PM, Barbie <[email protected]> wrote:
> > I just spotted this [1] for one of my distributions, and wondered
> > whether there is any mileage in the smoker bots checking whether
> > CPAN/CPANPLUS has been suitably configured before being run.
> 
> In my smokers, I routinely sabotage CPANPLUS configuration so that
> stupid, older Module::Install distributions don't try to recursively
> call it and install things.
> 
> My opinion is that no distribution should assume that CPAN or CPANPLUS
> are configured.

I'm in two minds about this. From one perspective, yes distributions
shouldn't assume anything. However, it does seem reasonable that a basic
configuration should have been done, as that would have been done by a
user as soon as they started up a cpan/plus shell.

In my case, the parent distro expects a 02packages.txt file to be
available, which if a user had started a cpan/plus shell would be there.

If other distributions expect similar basic configuration, then it could
lead to a lot of boilerplate being added, just to protect authors
against misleading smoke reports. It just seemed like a good idea for
smoke bots to check first and throw a warning to the tester if
appropriate.

Any road up, I'm looking to patch a dependency to catch this for future
use.

Cheers,
Barbie.
-- 
Birmingham Perl Mongers <http://birmingham.pm.org>
Memoirs Of A Roadie <http://barbie.missbarbell.co.uk>
CPAN Testers Blog <http://blog.cpantesters.org>
YAPC Conference Surveys <http://yapc-surveys.org>


Reply via email to