Re: Offline PEAR
| From: | Roman Neuhauser | Date: | Fri, 25 Jul 2003 14:29:17 +0000 |
| Subject: | Re: Offline PEAR | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18698@lists.php.net to get a copy of this message | ||
# pear-dev@meebey.net / 2003-07-24 22:44:41 +0200:
> On Thu, 2003-07-24 at 21:50, Martin Jansen wrote:
> > I doubt so: Downloading all PEAR packages at once
> >
> > a) does not make any sense in 99,9% of all cases
> > b) will make us run into serious bandwidth problems at some point
> >
> > Thus using Alexander's code without really knowing why and what you are
> > doing is absolutely not recommended.
>
> Our company does webhosting for our customers, doesn't it make sense
> when I want to install all stable packages on the webserver, so the
> customer can decide which nice PEAR package he wants to use and which
> not?
>
> You are right, some ppl just will use install-all because they are lazy
> to lookup the 3 packagename he wants. And this would do increase the
> bandwidth usage, but what is about my webserver for customers??
>
> Altough, lets think a bit further, I got an email of a package
> maintainer für a new Linux distri, he's creating distri pacakges out of
> the PEAR packages, what about him?
He should be able to use a bit of scripting.
pear list-all |
sed -n '4,$p' |
cut -d ' ' -f 1 |
while read p; do
pear install $p
done
Or is he one of the people "who are just lazy"? :)
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html