Re: Modfication to pear install procedure (was Re: [PEAR-DEV] Error with PhpDocumentor!)
| From: | Vincent Blavet | Date: | Wed, 25 Jun 2003 19:51:27 +0000 |
| Subject: | Re: Modfication to pear install procedure (was Re: [PEAR-DEV] Error with PhpDocumentor!) | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-17726@lists.php.net to get a copy of this message | ||
Greg,
with last version of Archive_Tar package it is possible to extract a file "in memory" (in
a string variable) and work on it , without having to extract all the archive and use temporary file
($value=$archive->extractInString("package.xml");).
I know Stig was waiting for this feature. It might be for this kind of function.
However the archive must be first downloaded locally before the extract can be done. And I
don't know enought about the installer to see if it can be done ...
Hope this helps,
Vincent
"Greg Beaver" <greg@chiaraquartet.net> wrote in message news:20030625170451.4623.qmail@pb1.pair.com...
> Hi,
>
> The problem with the current method of installation is that the package must
> be extracted before dependencies can be determined. A possible solution
> (which would be very worthwhile to implement) would be to extract the
> package.xml file at the server and send that before the download occurs, so
> that failure on dependencies can happen prior to download. In this way, we
> could add a dependency on Archive_Tar 1.1 and it would actually work.
>
> Comments?
> Greg
>
> "Olivier Hill" <ohill@php.net> wrote in message
> news:3EF9CE4C.5090007@php.net...
> > Joshua Eichorn wrote:
> > > try
pear upgrade Archive_Tar and pear
> > > upgrade PEAR before doing the
> > > install
> >
> > Ok, it works, thanks.
> >
> > Would there be a way to detect those dependences? Something like RPM does?
> >
> > Oliver
> >
>
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>