PackageFileManager2 and subpackages

From: Date: Mon, 05 Mar 2007 09:11:58 +0000
Subject: PackageFileManager2 and subpackages
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-45808@lists.php.net to get a copy of this message
Hi, for the next MDB2 release I'd like to add the ability to install the MDB2 base package and a driver doing something like ========================= $ pear install MDB2#mysql ========================= and that's what the <group> and <subpackage> tags are for, right? If so, I don't know how to add these entries to package.xml using PackageFileManager2 (at least I can't find an example on Laurent's guide). I guess these two methods might be what I need: PEAR_PackageFile_v2_rw::addSubpackageDepWithChannel() PEAR_PackageFile_v2_rw::addGroupPackageDepWithChannel() but -for instance- how can I set the hint? Is there an example I can follow? Thanks in advance. -- Lorenzo Alberton http://pear.php.net/user/quipo ___________________________________________________________________ Quipo Free Internet - 2 email, 150 Mb di spazio web e molto di più. ADSL, Hardware & Software Online Store

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