Robert Lehr wrote:

>>>- Should MakeMaker be aware of it?
>>>
>>I think this could be very helpful, except you have to determine how
>>deep to go.  If my module Foo requires Bar and Bar requires Baz, then
>>will it download Baz too? 
>>
>>Similarly, what do you think about using CPAN::Grab to also download
>>prerequisites of the modules you initially specify?  This should be
>>optional of course, but might be helpful as the point is targeting the
>>bundle for systems that aren't using the CPAN.pm shell.  Without CPAN.pm
>>they loose the functionality of being able to download prerequisites
>>automatically. 
>>
>>
> 
> I would  like to  see the  perl MakeMaker install  process be  able to
> break the entire installation of the module with its dependencies into
> separate phases such as download, analysis, build and installation.

That's actually the ExtUtils::MakeMaker's playground, not CPAN::Grab's 
one. So suggesting this here 
http://lists.perl.org/showlist.cgi?name=makemaker would be a good idea.

> By integrating  the MakeMaker, CPAN and  CPAN::Grab in this  way, if a
> dependent  module cannot  be installed,  e.g.  a  required third-party
> package is not installed, a clean rollback process is in place and the
> dependencies are clearly documented.   One could also execute only the
> download  and   analysis  phases  to   verify  the  presence   of  all
> requirements, too, before attempting a complete installation.
> 
> I don't  believe MakeMaker currently has  the hooks built  into it for
> this kind of sophisticated module maintenance.

Nope. But that's a rewishful thinking unless someone comes up with the 
patches ;)

>>>- Is CPAN::Grab is the right name?
>>>
>>How about CPAN::Bundler?  Grab doesn't seem descriptive enough.  CPAN.pm
>>"grabs" modules already, but this module does more than that. 
>>
>>
> 
> CPAN::Grab  would  probably be  appropriate  if  such  a scheme  as  I
> described is  attempted because CPAN::Grab  would then become  a small
> component of the entire system.

yup, thanks Robert!


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/

Reply via email to