Re: Directory layout of package

From: Date: Wed, 16 May 2007 12:50:24 +0000
Subject: Re: Directory layout of package
References: 1 2 3 4  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-4313@lists.php.net to get a copy of this message
Mark Wiesemann wrote: > Hi, > > Tias wrote: >> I am familiar with the guidelines as written in the manual >> (http://pear.php.net/manual/en/group.php#group.directory_structure, the >> same content as in the link you gave). > [...] >> PEAR_Frontend_Web is a webfrontend for PEAR, the default frontend is >> CLI, which looks like this: >> >> PEAR/Frontend/CLI.php (implements PEAR/Frontend.php) >> >> Logically, my package should have (by the standard: >> PEAR/Frontend/Web.php (implements PEAR/Frontend.php) >> PEAR/Frontend/Web/ (contains subclasses) >> PEAR/Frontend/Web/data (contains data). > > Just a comment on this last cited line: data files should have the role > "data" in package.xml, so that they are *not* installed in the PEAR > directory, but in the data directory. And according to the manual and > the Group document, is should just be data/, not PEAR/Frontend/Web/data/ > (that's at least my interpretation of it). Sounds reasonable, 2 questions: 1) Is there a way to revert my previous move of those files, in cvs ? 2) in package.xml, does files with other roles than 'php' need a 'baseinstalldir' ? (if not, doesn't this create possible problems for 2 packages of a different channel but with the same name?) g,T > Regards, > Mark >

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.pear.qa (#4313) next »