Steffen Mueller <[EMAIL PROTECTED]> wrote: > Tyler MacDonald wrote: > [...] > >>- Use "CPAN::Mini" to create a local CPAN mirror quasy on the fly. > > > > The problem there is that it mirrors all of CPAN. A lot of > >bandwidth, not exactly a reuseable trick, unless CPAN::Mini has an option > >to > >mirror only packages X and Y, and all packages that depend on them? > > Aside from the suggestion from Thomas Klausner, you could subclass > CPAN::Mini to do just that. Add Module::Dependency and you should get > the system up and running rather quickly. I fact, it would probably be a > really good idea to make the result availlable on CPAN as > CPAN::Mini::Something. (Ask the modules list for a good namespace choice > or #perl or Ricardo Signes, the author of CPAN::Mini.)
Heh, last night I created a new module 'Test::CPAN' in my CVS tree. I still hadn't figured out quite *how* I was going to test it though. I had gotten as far as: perl -MCPAN -e 'chdir("dev/DBIx-Transaction"); my $d = CPAN::Distribution->new(build_dir => "/home/faraway/dev/DBIx-Transaction", ID => "dev/DBIx-Transaction"); print $d->test' Which works great for Makefile.PL-based distributions, but if I want to unpack Module::Build-based distributions, I have to "./Build distdir" first, since CPAN.pm doesn't actually seem to know about Build.PL's... I've got a few personal programming hours before xmas to look into this further... hadn't considered pestering people in an IRC channel before, what network is it on? :) - Tyler