Re: [patch] Net_URL , HTTP_Request

From: Date: Mon, 29 Apr 2002 19:41:23 +0000
Subject: Re: [patch] Net_URL , HTTP_Request
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5910@lists.php.net to get a copy of this message
On Mon, 2002-04-29 at 17:58, Kjartan Mannes wrote: > Sunday, April 28, 2002, 4:45:17 PM, Richard Heyes wrote: > >> HTTP_Request was including files that have moved. Fixed that and along > >> with the Net_URL fix it works fine for my needs right now. > > > The idea is to install the packages using the pear installer, not to > > use direct from cvs. After installing, the paths are correct. > > So much easier to use it directly from the CVS. Any advice on how to > setup a crontab to update the packages nightly and install them > properly? You're not supposed to do that, because they would not be installed properly. The only supported way of using PEAR packages is installing the .tgz files. There'll be an "upgrade-all" command shortly that you can run from cron to update everything automatically if you wish to do that. But anyway, with the current CVS version of the installer, you can do this: cd cvs/pear cvs -q update -dP for pkg in *; do test -f $pkg/package.xml || continue (cd $pkg && pear install -f package.xml) done The problem with this approach is that maintainers may change files without changing the package.xml file (which is fine, because users are supposed to install tarballs). So the file you think is Foo.php from Foo 1.2 one day may suddenly have changed the next (without the version number changing). - Stig

« previous php.pear.dev (#5910) next »