On Sun, 12 Aug 2001, Doug MacEachern wrote:
> a Bundle::ApacheTest would be nice, but let's face it, not everybody is
> familar with CPAN.pm and it does not always work without extra effort.
> and keep in mind some people using Apache-Test are not perl programmers at
> all. in particular, if the perl_framework tests uncover a bug in apache,
> an apache developer (who is not a perl programmer) should be able to
> easily get the httpd-test/perl_framework up and running to reproduce the
> problem. so what i think would be really helpful would be to have a
> Bundle::ApacheTest that works with CPAN.pm, but also can be run in a way
> where it downloads the latest .tar.gz for each dependency and repackages
> them into one big tarball with a toplevel Makefile.PL. for example:
> % perl httpd-test/perl_framework/Apache-Test/lib/Bundle::ApacheTest.pm
>
> download all .tar.gz required by Bundle::ApacheTest via CPAN.pm
>
> mkdir httpd-test-bundle
>
> cd httpd-test-bundle
>
> tar -zxf ../downloaded-cpan-packages/*.tar.gz
>
> cat <<EOF > Makefile.PL
> use ExtUtils::MakeMaker;
> WriteMakefile(NAME => 'httpd-test-bundle', VERSION => '0.01');
> EOF
>
> perl Makefile.PL && make dist
>
> scp httpd-test-bundle-0.01.tar.gz somehere-on-apache.org
>
> then for the users, they only need to download the big tarball and run:
> % tar -zxf httpd-test-bundle-0.01.tar.gz
> % cd httpd-test-bundle-0.01
> % perl Makefile.PL && make install
>
> the script or modules to do this could of course work against any Bundle::
> any takers? or other ideas to make getting setup as simply as possible?
a new CPAN::Grab is attached. See the README file for more info. Once you
think it does what you want I'll upload it to CPAN.
I've posted Bundle::ApacheTest to the test-dev list.
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
CPAN-Grab-0.1.tar.gz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]