svn: /pear2/sandbox/pear2.php.net/trunk/ get/PEAR2_MultiErrors-0.2.0.tar get/PEAR2_MultiErrors-0.2.0.tgz get/PEAR2_MultiErrors-0.2.0.zip rest/c/Default/packages.xml rest/c/Default/packagesinfo.xml rest/p/pear2_multierrors/info.xml rest/r/pear2_multierrors/0.2.0.xml rest/r/pear2_multierrors/allreleases.xml rest/r/pear2_multierrors/allreleases2.xml rest/r/pear2_multierrors/alpha.txt rest/r/pear2_multierrors/deps.0.2.0.txt rest/r/pear2_multierrors/latest.txt rest/r/pear2_multierrors/package.0.2.0.x
[email protected] (Brett Bieber)
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
saltybeagle Sun, 23 May 2010 13:51:11 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=299660
Log:
Release PEAR2_MultiErrors-0.2.0
Changed paths:
A pear2/sandbox/pear2.php.net/trunk/get/PEAR2_MultiErrors-0.2.0.tar
A pear2/sandbox/pear2.php.net/trunk/get/PEAR2_MultiErrors-0.2.0.tgz
A pear2/sandbox/pear2.php.net/trunk/get/PEAR2_MultiErrors-0.2.0.zip
U pear2/sandbox/pear2.php.net/trunk/rest/c/Default/packages.xml
U pear2/sandbox/pear2.php.net/trunk/rest/c/Default/packagesinfo.xml
U pear2/sandbox/pear2.php.net/trunk/rest/p/pear2_multierrors/info.xml
A pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/0.2.0.xml
U pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/allreleases.xml
U pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/allreleases2.xml
U pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/alpha.txt
A pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/deps.0.2.0.txt
U pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/latest.txt
A pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/package.0.2.0.xml
A pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/v2.0.2.0.xml
svn-diffs-299660.txt
(text/x-diff, 16.1 KB)
Added: pear2/sandbox/pear2.php.net/trunk/get/PEAR2_MultiErrors-0.2.0.tar
===================================================================
(Binary files differ)
Property changes on: pear2/sandbox/pear2.php.net/trunk/get/PEAR2_MultiErrors-0.2.0.tar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: pear2/sandbox/pear2.php.net/trunk/get/PEAR2_MultiErrors-0.2.0.tgz
===================================================================
(Binary files differ)
Property changes on: pear2/sandbox/pear2.php.net/trunk/get/PEAR2_MultiErrors-0.2.0.tgz
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: pear2/sandbox/pear2.php.net/trunk/get/PEAR2_MultiErrors-0.2.0.zip
===================================================================
(Binary files differ)
Property changes on: pear2/sandbox/pear2.php.net/trunk/get/PEAR2_MultiErrors-0.2.0.zip
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: pear2/sandbox/pear2.php.net/trunk/rest/c/Default/packages.xml
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/c/Default/packages.xml 2010-05-23 13:50:39 UTC (rev 299659)
+++ pear2/sandbox/pear2.php.net/trunk/rest/c/Default/packages.xml 2010-05-23 13:51:11 UTC (rev 299660)
@@ -7,4 +7,5 @@
<p xlink:href="rest/p/PEAR2_HTTP_Request">PEAR2_HTTP_Request</p>
<p xlink:href="rest/p/PEAR2_Autoload">PEAR2_Autoload</p>
<p xlink:href="rest/p/PEAR2_Exception">PEAR2_Exception</p>
+ <p xlink:href="rest/p/PEAR2_MultiErrors">PEAR2_MultiErrors</p>
</l>
Modified: pear2/sandbox/pear2.php.net/trunk/rest/c/Default/packagesinfo.xml
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/c/Default/packagesinfo.xml 2010-05-23 13:50:39 UTC (rev 299659)
+++ pear2/sandbox/pear2.php.net/trunk/rest/c/Default/packagesinfo.xml 2010-05-23 13:51:11 UTC (rev 299660)
@@ -269,4 +269,62 @@
<d>a:1:{s:8:"required";a:2:{s:3:"php";a:1:{s:3:"min";s:5:"5.2.0";}s:13:"pearinstaller";a:1:{s:3:"min";s:7:"2.0.0a1";}}}</d>
</deps>
</pi>
+ <pi>
+ <p>
+ <n>PEAR2_MultiErrors</n>
+ <c>pear2.php.net</c>
+ <ca xmlns:xlink="rest/c/Default" xlink:href="rest/c/Default">Default</ca>
+ <l>New BSD License</l>
+ <s>PEAR2_MultiErrors provides a simple and effective mechanism for aggregating many errors and organizing them by severity.
+</s>
+ <d>
+Errors are represented by PHP's built in exception object, and
+severity levels are represented by PHP's pre-defined error levels
+E_ERROR, E_WARNING, or E_NOTICE. Adding errors to the PEAR2_MultiErrors
+object is simple, and done like adding to an array. Retrieving errors can
+be done with iteration, and count() can be used to determine whether errors
+were added.
+
+<?php
+include '/path/to/PEAR2/Autoload.php';
+$a = new PEAR2\MultiErrors;
+$a->E_ERROR[] = new Exception('message one');
+$a->E_WARNING[] = new PEAR2\Blah\Exception('message two');
+// iterate over all errors
+foreach ($a as $error) {...}
+// iterate over E_ERROR severity
+foreach ($a->E_ERROR as $error) {...}
+count($a); // 2
+count($a->E_ERROR); // 1
+count($a->E_WARNING); // 1
+count(E_NOTICE); // 0
+?>
+
+Used in conjuction with PEAR2\Exception, it can also be used as a "cause"
+of an Exception:
+
+<?php
+include '/path/to/PEAR2/Autoload.php';
+$a = new PEAR2\MultiErrors;
+$a->E_ERROR[] = new Exception('message one');
+$a->E_ERROR[] = new PEAR2\Blah\Exception('message two');
+throw new PEAR2\My\Exception('task failed', $a);
+?></d>
+ <r xmlns="http://pear.php.net/dtd/rest.package" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://pear.php.net/dtd/rest.package http://pear.php.net/dtd/rest.package.xsd"/>
+ </p>
+ <a>
+ <r>
+ <v>0.2.0</v>
+ <s>alpha</s>
+ </r>
+ <r>
+ <v>0.1.0</v>
+ <s>alpha</s>
+ </r>
+ </a>
+ <deps>
+ <v>0.2.0</v>
+ <d>a:1:{s:8:"required";a:2:{s:3:"php";a:1:{s:3:"min";s:5:"5.2.0";}s:13:"pearinstaller";a:1:{s:3:"min";s:7:"2.0.0a1";}}}</d>
+ </deps>
+ </pi>
</f>
Modified: pear2/sandbox/pear2.php.net/trunk/rest/p/pear2_multierrors/info.xml
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/p/pear2_multierrors/info.xml 2010-05-23 13:50:39 UTC (rev 299659)
+++ pear2/sandbox/pear2.php.net/trunk/rest/p/pear2_multierrors/info.xml 2010-05-23 13:51:11 UTC (rev 299660)
@@ -15,10 +15,10 @@
were added.
<?php
-include '/path/to/pear2/Autoload.php';
-$a = new pear2\MultiErrors;
+include '/path/to/PEAR2/Autoload.php';
+$a = new PEAR2\MultiErrors;
$a->E_ERROR[] = new Exception('message one');
-$a->E_WARNING[] = new pear2\Blah\Exception('message two');
+$a->E_WARNING[] = new PEAR2\Blah\Exception('message two');
// iterate over all errors
foreach ($a as $error) {...}
// iterate over E_ERROR severity
@@ -29,15 +29,15 @@
count(E_NOTICE); // 0
?>
-Used in conjuction with pear2\Exception, it can also be used as a "cause"
+Used in conjuction with PEAR2\Exception, it can also be used as a "cause"
of an Exception:
<?php
-include '/path/to/pear2/Autoload.php';
-$a = new pear2\MultiErrors;
+include '/path/to/PEAR2/Autoload.php';
+$a = new PEAR2\MultiErrors;
$a->E_ERROR[] = new Exception('message one');
-$a->E_ERROR[] = new pear2\Blah\Exception('message two');
-throw new pear2\My\Exception('task failed', $a);
+$a->E_ERROR[] = new PEAR2\Blah\Exception('message two');
+throw new PEAR2\My\Exception('task failed', $a);
?></d>
<r xmlns="http://pear.php.net/dtd/rest.package" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://pear.php.net/dtd/rest.package http://pear.php.net/dtd/rest.package.xsd"/>
</p>
Added: pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/0.2.0.xml
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/0.2.0.xml (rev 0)
+++ pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/0.2.0.xml 2010-05-23 13:51:11 UTC (rev 299660)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<r xmlns="http://pear.php.net/dtd/rest.release" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://pear.php.net/dtd/rest.release http://pear.php.net/dtd/rest.release.xsd">
+ <p xlink:href="rest/p/pear2_multierrors">PEAR2_MultiErrors</p>
+ <c>pear2.php.net</c>
+ <v>0.2.0</v>
+ <st>alpha</st>
+ <l>New BSD License</l>
+ <m>saltybeagle</m>
+ <s>PEAR2_MultiErrors provides a simple and effective mechanism for aggregating many errors and organizing them by severity.
+</s>
+ <d>
+Errors are represented by PHP's built in exception object, and
+severity levels are represented by PHP's pre-defined error levels
+E_ERROR, E_WARNING, or E_NOTICE. Adding errors to the PEAR2_MultiErrors
+object is simple, and done like adding to an array. Retrieving errors can
+be done with iteration, and count() can be used to determine whether errors
+were added.
+
+<?php
+include '/path/to/PEAR2/Autoload.php';
+$a = new PEAR2\MultiErrors;
+$a->E_ERROR[] = new Exception('message one');
+$a->E_WARNING[] = new PEAR2\Blah\Exception('message two');
+// iterate over all errors
+foreach ($a as $error) {...}
+// iterate over E_ERROR severity
+foreach ($a->E_ERROR as $error) {...}
+count($a); // 2
+count($a->E_ERROR); // 1
+count($a->E_WARNING); // 1
+count(E_NOTICE); // 0
+?>
+
+Used in conjuction with PEAR2\Exception, it can also be used as a "cause"
+of an Exception:
+
+<?php
+include '/path/to/PEAR2/Autoload.php';
+$a = new PEAR2\MultiErrors;
+$a->E_ERROR[] = new Exception('message one');
+$a->E_ERROR[] = new PEAR2\Blah\Exception('message two');
+throw new PEAR2\My\Exception('task failed', $a);
+?></d>
+ <da>2010-05-23 08:49:38</da>
+ <n>Convert namespace to PEAR2</n>
+ <f>5663</f>
+ <g>http://pear2.php.net/get/PEAR2_MultiErrors-0.2.0</g>
+ <x xlink:href="package.0.2.0.xml"/>
+</r>
Modified: pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/allreleases.xml
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/allreleases.xml 2010-05-23 13:50:39 UTC (rev 299659)
+++ pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/allreleases.xml 2010-05-23 13:51:11 UTC (rev 299660)
@@ -3,6 +3,10 @@
<p>PEAR2_MultiErrors</p>
<c>pear2.php.net</c>
<r>
+ <v>0.2.0</v>
+ <s>alpha</s>
+ </r>
+ <r>
<v>0.1.0</v>
<s>alpha</s>
</r>
Modified: pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/allreleases2.xml
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/allreleases2.xml 2010-05-23 13:50:39 UTC (rev 299659)
+++ pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/allreleases2.xml 2010-05-23 13:51:11 UTC (rev 299660)
@@ -3,6 +3,11 @@
<p>PEAR2_MultiErrors</p>
<c>pear2.php.net</c>
<r>
+ <v>0.2.0</v>
+ <s>alpha</s>
+ <m>5.2.0</m>
+ </r>
+ <r>
<v>0.1.0</v>
<s>alpha</s>
<m>5.2.0</m>
Modified: pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/alpha.txt
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/alpha.txt 2010-05-23 13:50:39 UTC (rev 299659)
+++ pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/alpha.txt 2010-05-23 13:51:11 UTC (rev 299660)
@@ -1 +1 @@
-0.1.0
\ No newline at end of file
+0.2.0
\ No newline at end of file
Added: pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/deps.0.2.0.txt
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/deps.0.2.0.txt (rev 0)
+++ pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/deps.0.2.0.txt 2010-05-23 13:51:11 UTC (rev 299660)
@@ -0,0 +1 @@
+a:1:{s:8:"required";a:2:{s:3:"php";a:1:{s:3:"min";s:5:"5.2.0";}s:13:"pearinstaller";a:1:{s:3:"min";s:7:"2.0.0a1";}}}
\ No newline at end of file
Modified: pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/latest.txt
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/latest.txt 2010-05-23 13:50:39 UTC (rev 299659)
+++ pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/latest.txt 2010-05-23 13:51:11 UTC (rev 299660)
@@ -1 +1 @@
-0.1.0
\ No newline at end of file
+0.2.0
\ No newline at end of file
Added: pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/package.0.2.0.xml
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/package.0.2.0.xml (rev 0)
+++ pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/package.0.2.0.xml 2010-05-23 13:51:11 UTC (rev 299660)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package xmlns="http://pear.php.net/dtd/package-2.1" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.1 http://pear.php.net/dtd/package-2.1.xsd" packagerversion="2.0.0">
+ <name>PEAR2_MultiErrors</name>
+ <channel>pear2.php.net</channel>
+ <summary>PEAR2_MultiErrors provides a simple and effective mechanism for aggregating many errors and organizing them by severity.
+</summary>
+ <description>
+Errors are represented by PHP's built in exception object, and
+severity levels are represented by PHP's pre-defined error levels
+E_ERROR, E_WARNING, or E_NOTICE. Adding errors to the PEAR2_MultiErrors
+object is simple, and done like adding to an array. Retrieving errors can
+be done with iteration, and count() can be used to determine whether errors
+were added.
+
+<?php
+include '/path/to/PEAR2/Autoload.php';
+$a = new PEAR2\MultiErrors;
+$a->E_ERROR[] = new Exception('message one');
+$a->E_WARNING[] = new PEAR2\Blah\Exception('message two');
+// iterate over all errors
+foreach ($a as $error) {...}
+// iterate over E_ERROR severity
+foreach ($a->E_ERROR as $error) {...}
+count($a); // 2
+count($a->E_ERROR); // 1
+count($a->E_WARNING); // 1
+count(E_NOTICE); // 0
+?>
+
+Used in conjuction with PEAR2\Exception, it can also be used as a "cause"
+of an Exception:
+
+<?php
+include '/path/to/PEAR2/Autoload.php';
+$a = new PEAR2\MultiErrors;
+$a->E_ERROR[] = new Exception('message one');
+$a->E_ERROR[] = new PEAR2\Blah\Exception('message two');
+throw new PEAR2\My\Exception('task failed', $a);
+?></description>
+ <lead>
+ <name>Gregory Beaver</name>
+ <user>cellog</user>
+ <email>[email protected]</email>
+ <active>yes</active>
+ </lead>
+ <date>2010-05-23</date>
+ <time>08:49:38</time>
+ <version>
+ <release>0.2.0</release>
+ <api>0.1.0</api>
+ </version>
+ <stability>
+ <release>alpha</release>
+ <api>alpha</api>
+ </stability>
+ <license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
+ <notes>Convert namespace to PEAR2</notes>
+ <contents>
+ <dir name="/">
+ <file role="php" name="php/PEAR2/MultiErrors/Exception.php"/>
+ <file role="php" name="php/PEAR2/MultiErrors.php"/>
+ </dir>
+ </contents>
+ <dependencies>
+ <required>
+ <php>
+ <min>5.2.0</min>
+ </php>
+ <pearinstaller>
+ <min>2.0.0a1</min>
+ </pearinstaller>
+ </required>
+ </dependencies>
+ <phprelease/>
+</package>
Added: pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/v2.0.2.0.xml
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/v2.0.2.0.xml (rev 0)
+++ pear2/sandbox/pear2.php.net/trunk/rest/r/pear2_multierrors/v2.0.2.0.xml 2010-05-23 13:51:11 UTC (rev 299660)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<r xmlns="http://pear.php.net/dtd/rest.release2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://pear.php.net/dtd/rest.release2 http://pear.php.net/dtd/rest.release2.xsd">
+ <p xlink:href="rest/p/pear2_multierrors">PEAR2_MultiErrors</p>
+ <c>pear2.php.net</c>
+ <v>0.2.0</v>
+ <a>0.1.0</a>
+ <mp>5.2.0</mp>
+ <st>alpha</st>
+ <l>New BSD License</l>
+ <m>saltybeagle</m>
+ <s>PEAR2_MultiErrors provides a simple and effective mechanism for aggregating many errors and organizing them by severity.
+</s>
+ <d>
+Errors are represented by PHP's built in exception object, and
+severity levels are represented by PHP's pre-defined error levels
+E_ERROR, E_WARNING, or E_NOTICE. Adding errors to the PEAR2_MultiErrors
+object is simple, and done like adding to an array. Retrieving errors can
+be done with iteration, and count() can be used to determine whether errors
+were added.
+
+<?php
+include '/path/to/PEAR2/Autoload.php';
+$a = new PEAR2\MultiErrors;
+$a->E_ERROR[] = new Exception('message one');
+$a->E_WARNING[] = new PEAR2\Blah\Exception('message two');
+// iterate over all errors
+foreach ($a as $error) {...}
+// iterate over E_ERROR severity
+foreach ($a->E_ERROR as $error) {...}
+count($a); // 2
+count($a->E_ERROR); // 1
+count($a->E_WARNING); // 1
+count(E_NOTICE); // 0
+?>
+
+Used in conjuction with PEAR2\Exception, it can also be used as a "cause"
+of an Exception:
+
+<?php
+include '/path/to/PEAR2/Autoload.php';
+$a = new PEAR2\MultiErrors;
+$a->E_ERROR[] = new Exception('message one');
+$a->E_ERROR[] = new PEAR2\Blah\Exception('message two');
+throw new PEAR2\My\Exception('task failed', $a);
+?></d>
+ <da>2010-05-23 08:49:38</da>
+ <n>Convert namespace to PEAR2</n>
+ <f>5663</f>
+ <g>http://pear2.php.net/get/PEAR2_MultiErrors-0.2.0</g>
+ <x xlink:href="package.0.2.0.xml"/>
+</r>