Bug #7546 [NEW]: package.xml 2.0 documentation has outdated description

From: Date: Tue, 02 May 2006 23:48:29 +0000
Subject: Bug #7546 [NEW]: package.xml 2.0 documentation has outdated description
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7864@lists.php.net to get a copy of this message
From: takagi at php dot net Operating system: Irrelevant Package version: PHP version: Irrelevant Package: Documentation Bug Type: Bug Bug description: package.xml 2.0 documentation has outdated description 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 &lt;pearinstaller&gt; and &lt;php&gt; dependencies are required in all package.xml. - In addition the &lt;min&gt; tag is required in &lt;pearinstaller&gt;, and both the &lt;min&gt; - and &lt;max&gt; tags are required for &lt;php&gt; dependencies. + In addition the &lt;min&gt; tag is required in both &lt;pearinstaller&gt; and + &lt;php&gt; dependencies. </para> </refsect2> <refsect2 id="guide.developers.package2.dependencies.pearinstaller"> @@ -162,17 +162,7 @@ </listitem> <listitem> <para> - &lt;max&gt; - maximum version of PHP supported. This tag is required in all package.xml - &lt;php&gt; dependencies. - </para> - </listitem> - <listitem> - <para> - &lt;recommended&gt; - 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. + &lt;max&gt; - maximum version of PHP supported. </para> </listitem> <listitem> -- Edit bug report at http://pear.php.net/bugs/bug.php?id=7546&edit=1 --

« previous php.pear.doc (#7864) next »