Bug #7546 [Opn->Csd]: package.xml 2.0 documentation has outdated description
| From: | takagi at php dot net | Date: | Sat, 03 Jun 2006 04:15:07 +0000 |
| Subject: | Bug #7546 [Opn->Csd]: package.xml 2.0 documentation has outdated description | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-7984@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=7546&edit=1
ID: 7546
User updated by: takagi at php dot net
Reported By: takagi at php dot net
-Status: Open
+Status: Closed
Id: 7546
Type: Bug
Package: Documentation
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
Fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2006-05-02 19:48:24] takagi at php dot net
Description:
------------
package.xml 2.0 documentation at
http://pear.php.net/manual/en/guide.developers.package2.dependencies.php#guide.developers.package2.dependencies.php
describes <max> tag is required, but the tag in <php> dependency is not
"required" any longer.
http://cvs.php.net/viewcvs.cgi/pearweb/public_html/dtd/package-2.0.xsd?r1=1.43&r2=1.44
and there is no <recommended> tag in <php> dependency.
Expected result:
----------------
Index: en/guide/developers/package2/dependencies.xml
===================================================================
RCS file:
/repository/peardoc/en/guide/developers/package2/dependencies.xml,v
retrieving revision 1.4
diff -u -r1.4 dependencies.xml
--- en/guide/developers/package2/dependencies.xml 18 Sep 2005
05:27:45 -0000 1.4
+++ en/guide/developers/package2/dependencies.xml 2 May 2006
23:36:23 -0000
@@ -102,8 +102,8 @@
<para>
These changes were made to simplify xml validation and parsing.
Note that unlike package.xml
1.0, the <pearinstaller> and <php> dependencies are
required in all package.xml.
- In addition the <min> tag is required in
<pearinstaller>, and both the <min>
- and <max> tags are required for <php> dependencies.
+ In addition the <min> tag is required in both
<pearinstaller> and
+ <php> dependencies.
</para>
</refsect2>
<refsect2
id="guide.developers.package2.dependencies.pearinstaller">
@@ -162,17 +162,7 @@
</listitem>
<listitem>
<para>
- <max> - maximum version of PHP supported. This tag is
required in all package.xml
- <php> dependencies.
- </para>
- </listitem>
- <listitem>
- <para>
- <recommended> - recommended version of PHP. This tag is
used for strict
- version control. The installer will refuse to install a
package without the --force
- option unless the version exactly matches recommended. This
can be used to provide a level
- of extra security, as a package can be set to install using a
version that is known to work
- without limiting future upgrades.
+ <max> - maximum version of PHP supported.
</para>
</listitem>
<listitem>
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=7546&edit=1