Re: Re: Q: detecting new PEAR/PECL <foo> package

From: Date: Thu, 20 Jan 2005 17:29:34 +0000
Subject: Re: Re: Q: detecting new PEAR/PECL <foo> package
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17045@lists.php.net to get a copy of this message
On Thu, 20 Jan 2005 18:06:20 +0100 (CET), Tomasz Kłoczko <kloczek@rudy.mif.pg.gda.pl> wrote: > On Thu, 20 Jan 2005, Pierre-Alain Joye wrote: > > > On Thu, 20 Jan 2005 12:03:56 +0100 (CET) > > kloczek@rudy.mif.pg.gda.pl (Tomasz K__oczko) wrote: > > > > > >> And/or is it some other common method for get latest > >> version/detect latest version PEAR/PECL packakes in batch mode ? > > > > Use the RSS feeds, see pear.php.net for the URLs. > > Probably you don't understand .. I'm not interested information about > "what was released today ?". I want make simple query about "what is > latest version of <foo> PEAR/PECL packaga ?" (or show me how to use RSS > feed do this without sitting on head). > In case most of any other packages tar balls I can simple get directory > listing using for example wget with two or theree lines awk regexp. > No, he understood just fine. You can grab the RSS feed and just get the newest release from there, plain and simple. And as I said, the PEAR installer knows how to do this through XML-RPC. Try looking at the PEAR code and finding out how it does it. It should be theoretically possible to just use the PEAR class that does this in your own script. http://cvs.php.net/pear-core/PEAR/ -- Justin Patrin

« previous php.pear.general (#17045) next »