Req #17062 [Opn]: Please Complete ::parseOutputArray() Methods
| From: | cweiske@php.net | Date: | Fri, 29 Oct 2010 10:16:48 +0000 |
| Subject: | Req #17062 [Opn]: Please Complete ::parseOutputArray() Methods | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-4998@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17062&edit=1
ID: 17062
Updated by: cweiske@php.net
Reported By: nathan at websightdesign dot com
Summary: Please Complete ::parseOutputArray() Methods
Status: Open
Type: Feature/Change Request
Package: VersionControl_SVN
Operating System: Irrelevant
Package Version: 0.3.3
PHP Version: Irrelevant
Roadmap Versions:
New Comment:
This bug is a deal-breaker. Why should I use VersionControl_SVN if it
does not offer me any abstraction? Parsing output myself? Then I can do
it all myself.
Previous Comments:
------------------------------------------------------------------------
[2010-02-04 18:42:21] pdime
-Operating System: All
+Operating System: Irrelevant
------------------------------------------------------------------------
[2010-02-04 18:41:51] pdime
-PHP Version: 5.3.1
+PHP Version: Irrelevant
------------------------------------------------------------------------
[2010-02-03 19:45:03] pdime
Description:
------------
Nearly every class has an unfinished parseOutputArray() member function.
Instead of returning nested arrays as intended, they return strings.
This means the programmer must manually parse the output.
Expected result:
----------------
VersionControl_SVN_List::parseOutputArray() is functioning properly. The
data is returned in nested arrays.
Example of this output is here:
http://pear.php.net/manual/en/package.tools.versioncontrol-svn.example.php
Actual result:
--------------
Nearly every other class' ::parseOutputArray() methods are incomplete.
Instead of returning nested arrays as was intended, they return a long
string separated by newlines.
The incomplete methods are listed here:
http://pear.php.net/package/VersionControl_SVN/docs/latest/todolist.html
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17062&edit=1