Re: [patch] Net_URL , HTTP_Request

From: Date: Tue, 30 Apr 2002 11:00:01 +0000
Subject: Re: [patch] Net_URL , HTTP_Request
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5916@lists.php.net to get a copy of this message
Monday, April 29, 2002, 9:41:23 PM, Stig S. Bakken wrote: >> 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. That would be nice on a production site. I always have a server running the latest cvs version of software necessary though to test for future issues in code. Helps to keep things updated when coding stuff that wouldn't go into production in 3-6 months away. > 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). I'll work something out when I get some time. For now I don't use that much of PEAR, but for some things its pointless re-inventing the wheel every time. -- Kjartan <kjartan@zind.net> (http://natrak.net/) :: "People demand freedom of speech as a compensation for the freedom of thought which they seldom use." - Kierkegaard

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