Re: PEAR_PackageFileManager2

From: Date: Fri, 13 Jul 2007 13:39:38 +0000
Subject: Re: PEAR_PackageFileManager2
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-47464@lists.php.net to get a copy of this message
On 7/13/07, Pádraic Brady <padraic.brady@yahoo.com> wrote:
Hi all, I've been using a PHP script to generate the version 2 package.xml files. Anyone know how you can set require PEAR dependencies using it? I can set PHP, and PEAR Installer version deps, but I can't find an addDependency() type method anywhere. Maybe I missed something obvious though? Wouldn't be the first time :).
The methods are from extending the PEAR_PackageFile_v2_rw class, so they aren't in the api docs for PEAR_PFM2. $pfm->addPackageDepWithChannel('required', 'Cache_Lite', 'pear.php.net', '1..0'); http://pear.php.net/package/PEAR/docs/latest/PEAR/PEAR_PackageFile_v2_rw.html#methodaddPackageDepWithChannel Laurent Laville has quite a bit of documentation on his site at http://www.laurent-laville.org/pear/PEAR_PackageFileManager/docs/TDG/en/index.html
Regards, Paddy Pádraic Brady http://blog.astrumfutura.com http://www.patternsforphp.com ____________________________________________________________________________________ Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http://autos.yahoo.com/carfinder/
-- -Brett Bieber http:saltybeagle.com aim:ianswerq

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