FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18120&edit=1

ID: 18120
Updated by: brett.bieber@gmail.com
Reported By: clicky at erebot dot net
Summary: Incorrect location for data files
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: PEAR
Operating System: Ubuntu 10.04
Package Version: SVN
PHP Version: 5.3.3
-Assigned To:
+Assigned To: saltybeagle
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: saltybeagle
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.




Previous Comments:
------------------------------------------------------------------------

[2010-12-18 18:11:41] looksup

Description:
------------
I'm not sure whether this is a problem in PEAR 2 documentation or Pyrus,
but here's the thing anyway...
The PEAR 2 rules at http://pear.php.net/manual/en/pear2cs.rules.php
state that data files are stored in php_dir/data/channel/PackageName/.
However, Pyrus in fact installs data files in
php_dir/data/PackageName/channel/ instead. So, which one is correct ?

Note that the resulting PackageName/channel/ structure is the one
generated by Pyrus itself when making the package.xml file. So if
Pyrus's at fault, it may be in its package.xml generation code rather
than in its installation code.

Test script:
---------------
Using the latest available release of Pyrus (2.0.0a1) :
php pyrus.phar install PEAR2_Console_CommandLine

(note: I can also reproduce that using a custom build of pyrus.phar made
from the latest SVN commit).

Expected result:
----------------
I expect to find a file called "xmlschema.rng" in
php_dir/data/pear2.php.net/PEAR2_Console_CommandLine/.

Actual result:
--------------
The file is actually located in
php_dir/data/PEAR2_Console_CommandLine/pear2.php.net/.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 8, '11 at 4:01p
activeJan 8, '11 at 4:01p
posts1
users1
websitepear.php.net

1 user in discussion

Brett Bieber: 1 post

People

Translate

site design / logo © 2022 Grokbase