Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #7546 package.xml 2.0 documentation has outdated description
Submitted: 2006-05-02 23:48 UTC
From: takagi Assigned: takagi
Status: Closed Package: Documentation
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2006-05-02 23:48 UTC] takagi (TAKAGI Masahiro)
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>

Comments

 [2006-06-03 04:15 UTC] takagi
Fixed in CVS.