Re: Why doesn't PEAR install package docs, tests into separate channel directory?
| From: | Brett Bieber | Date: | Mon, 09 Apr 2007 18:36:16 +0000 |
| Subject: | Re: Why doesn't PEAR install package docs, tests into separate channel directory? | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-46176@lists.php.net to get a copy of this message | ||
On 4/9/07, Christian Weiske <cweiske@cweiske.de> wrote:
Paul, can be conflicts. Why not put all these items into subdirectories named after package's channel name? However there can be an exception for system level package artifacts(PEAR itself). The docs for a package are installed into docs/packagename/. If a package has the same name and files like another package, it already conflicts at php file level.I agree with Christian here. Not to compare PEAR packages to .deb or .rpm package files, but if you get a lib from one place with the same named files - of course they will collide with each other and one will overwrite the other when you install. A good convention package maintainers should follow is to use unique package names for common utilities to avoid collisions (eg, Savant) or prefix the channel in the package name --- such as Chiara_PEAR_Server for pear.chiaraquartet.net or UNL_Templates for pear.unl.edu. -- -Brett Bieber http:saltybeagle.com aim:ianswerq