Re: (Fwd) RE : [PEAR] How to install all downloaded packages in on

From: Date: Sat, 10 Apr 2004 15:23:07 +0000
Subject: Re: (Fwd) RE : [PEAR] How to install all downloaded packages in on
References: 1  Groups: php.pear.core 
Request: Send a blank email to pear-core+get-259@lists.php.net to get a copy of this message
Stefan Neufeind wrote:
Hi Gelin, this mail goes out to Greg, since he is far more competent regarding the installer :-)) Hi Greg, have there been thoughts about something like this? It looks normal to try something like this (or try *.tgz or things like that) - however it only works when you pear install ls *.tgz or tricks like that? Stefan ------- Forwarded message follows -------
Subject:        	RE : [PEAR] How to install all downloaded packages in one shoot
Date sent:      	Fri, 9 Apr 2004 22:05:36 +0200
From:           	"Gelin Patrick" <Patrick.Gelin@rpn.ch>
To:             	"Stefan Neufeind" <stefan@neufeind.net>
I'm using Windows 2000 server. I would like a script to install for example, all HTML packages like this: pear install HTML* is it possible? It's an interesting and risky idea - I guess we could add an optional parameter to pear search like so
pear search --forinstall HTML This would return a space-separated list of package names, and so could be passed in like this: pear install < pear search --forinstall HTML I would prefer to implement it in this manner as you could run the pear search command prior to the pear install command. Otherwise, there is too much risk of something going haywire. Otherwise, it would be conceivable to implement wildcards at the server level, something that would replace "package = packagename" with "package LIKE packagename%" but I think this is risky If it were implemented, I would make a required param like so: pear install --withwildcards HTML* Thoughts? Greg

« previous php.pear.core (#259) next »