cvs: pear /PEAR_PackageFileManager/tests test1_package.xml
| From: | Greg Beaver | Date: | Tue, 14 Oct 2003 23:41:18 +0000 |
| Subject: | cvs: pear /PEAR_PackageFileManager/tests test1_package.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13609@lists.php.net to get a copy of this message | ||
cellog Tue Oct 14 19:41:18 2003 EDT
Added files:
/pear/PEAR_PackageFileManager/tests test1_package.xml
Log:
for unit testing, we need a package.xml
Index: pear/PEAR_PackageFileManager/tests/test1_package.xml +++ pear/PEAR_PackageFileManager/tests/test1_package.xml <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> <package version="1.0"> <name>PEAR_PackageFileManager</name> <summary>PEAR_PackageFileManager takes an existing package.xml file and updates it with a new filelist and changelog</summary> <description>This package revolutionizes the maintenance of PEAR packages. With a few parameters, the entire package.xml is automatically updated with a listing of all files in a package. Features include - reads in an existing package.xml file, and only changes the release/changelog - a plugin system for retrieving files in a directory. Currently two plugins exist, one for standard recursive directory content listing, and one that reads the CVS/Entries files and generates a file listing based on the contents of a checked out CVS repository - incredibly flexible options for assigning install roles to files/directories - ability to ignore any file based on a * ? wildcard-enabled string - ability to manage dependencies - can output the package.xml in any directory, and read in the package.xml file from any directory. - can specify a different name for the package.xml file</description> <maintainers> <maintainer> <user>cellog</user> <name>Greg Beaver</name> <email>cellog@users.sourceforge.net</email> <role>lead</role> </maintainer> </maintainers> <release> <version>1.1.0</version> <date>2003-10-14</date> <license>PHP License</license> <state>stable</state> <notes>bugfix release - fixed #8: notices if a package has no dependencies</notes> <deps> <dep type="pkg" rel="ge" version="1.1" optional="no">PEAR</dep> </deps> <provides type="class" name="PEAR_PackageFileManager_CVS" extends="PEAR_PackageFileManager_File" /> <provides type="function" name="PEAR_PackageFileManager_CVS::dirList" /> <provides type="class" name="PEAR_PackageFileManager_File" /> <provides type="function" name="PEAR_PackageFileManager_File::getFileList" /> <provides type="function" name="PEAR_PackageFileManager_File::dirList" /> <provides type="function" name="PEAR_PackageFileManager_File::sortfiles" /> <provides type="function" name="PEAR_PackageFileManager_File::mystrucsort" /> <provides type="class" name="PEAR_PackageFileManager" /> <provides type="function" name="PEAR_PackageFileManager::setOptions" /> <provides type="function" name="PEAR_PackageFileManager::addRole" /> <provides type="function" name="PEAR_PackageFileManager::addPlatformException" /> <provides type="function" name="PEAR_PackageFileManager::addReplacement" /> <provides type="function" name="PEAR_PackageFileManager::addMaintainer" /> <provides type="function" name="PEAR_PackageFileManager::addConfigureOption" /> <provides type="function" name="PEAR_PackageFileManager::addDependency" /> <provides type="function" name="PEAR_PackageFileManager::writePackageFile" /> <provides type="function" name="PEAR_PackageFileManager::debugPackageFile" /> <provides type="function" name="PEAR_PackageFileManager::raiseError" /> <provides type="function" name="file_get_contents" /> <filelist> <file role="php" baseinstalldir="PEAR" md5sum="53ec9bedb54aedb11b35f348b3209d93" name="examples/createPhpDocumentor_package.xml.php"/> <file role="php" baseinstalldir="PEAR" md5sum="be7a06d978db066dac865f1cb52a72f8" name="examples/generatePackage.xml.php"/> <file role="php" baseinstalldir="PEAR" md5sum="af363df56194c252f85275d6657fadeb" name="PackageFileManager/Cvs.php"/> <file role="php" baseinstalldir="PEAR" md5sum="d2a9735d0d3321285af4f4c69c44f0c0" name="PackageFileManager/File.php"/> <file role="test" baseinstalldir="PEAR" md5sum="66b8173f17d40343769505477561a51e" name="tests/HTML_TestListener.php"/> <file role="test" baseinstalldir="PEAR" md5sum="6e405d20c2c514cdf2a8486c4172862a" name="tests/PEAR_PackageFileManager_TestCase_generateNewPackageXML.php"/> <file role="test" baseinstalldir="PEAR" md5sum="576820df16c6366b1112fc3b7d63047e" name="tests/stylesheet.css"/> <file role="test" baseinstalldir="PEAR" md5sum="daaad0c62382f67dc87d3e2803759d46" name="tests/testsuite.php"/> <file role="test" baseinstalldir="PEAR" md5sum="991373ae7e4a9d4fe00c08d75873a785" name="tests/TestUnit.php"/> <file role="php" baseinstalldir="PEAR" md5sum="6cb983b0b24d25922cbc202e7c70e0be" name="PackageFileManager.php"/> </filelist> </release> <changelog> <release> <version>0.1</version> <date>2003-07-21</date> <license>PHP License</license> <state>alpha</state> <notes>First release of PEAR_PackageFileManager</notes> </release> <release> <version>0.2</version> <date>2003-07-21</date> <license>PHP License</license> <state>alpha</state> <notes>Generation of package.xml from scratch is now supported. In addition, generation of <provides> is supported and so is addition of maintainers and configure options - Fixed a bug in <release> generation - Added _addProvides() to generate a <provides> section</notes> </release> <release> <version>0.3</version> <date>2003-07-22</date> <license>PHP License</license> <state>alpha</state> <notes>bugfix release - <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> is added if it isn't present - fixed ignoring of license option - added documentation of the options - if package, summary or description are passed in the options, they will overwrite the existing ones even if the package.xml already exists - fixed progressive addition of newlines to changelog release notes due to bug in the package.xml parser</notes> </release> <release> <version>0.4</version> <date>2003-07-23</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - Fixed bug in testing of output - new option allows specifying the doctype, default is "http://pear.php.net/dtd/package-1.0"</notes> </release> <release> <version>0.5</version> <date>2003-07-23</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - Fixed bug in type="php" dependency generation, - Fixed bug if the package.xml doesn't yet exist</notes> </release> <release> <version>0.6</version> <date>2003-07-23</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - When reading in an existing package.xml, if a file has been removed, several warnings were emitted by PEAR_Common attempting to examine the source of a non-existent file - Fixed warning if release notes were empty in a previous changelog</notes> </release> <release> <version>0.7</version> <date>2003-07-23</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - Fixed bug in CVS reading, if files have been added/removed but not yet committed, it would try to add them to the package.xml</notes> </release> <release> <version>0.8</version> <date>2003-07-23</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - Fixed bug in ignore, ignoring an explicit full path with or without wildcards would not work</notes> </release> <release> <version>0.9</version> <date>2003-07-24</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - Fixed bug in reading a package.xml with no changelog entry, it now auto-generates a changelog entry from the existing <release> tag if there never was a changelog</notes> </release> <release> <version>0.10</version> <date>2003-07-25</date> <license>PHP License</license> <state>beta</state> <notes>With the release of 0.10, PEAR_PackageFileManager is essentially feature-complete. It handles all possible package.xml settings for PEAR, and is extensible through the 'pearcommonclass' option - changed to using strnatcasecmp for version numbers in the search through ChangeLog, so 0.10 > 0.1 - added md5sum attribute to filelist - added use of PEAR_Common::validatePackage() to catch odd errors - fixed incorrect handling of PEAR_Error in File::getFileList() - added handling of filelist platform attribute - added handling of filelist install-as attribute - added handling of filelist replacements options</notes> </release> <release> <version>0.11</version> <date>2003-07-25</date> <license>PHP License</license> <state>beta</state> <notes>Bugfix release - exceptions option should be matching relative path of a file, not just the filename - exceptions were ignored if dir_roles was specified for the directory containing the file - fixed documentation error - added validation of file role - fixed directory role so that it checks values passed in before using the parent directory's role - removed stupid use of eval, replaced with call_user_func - added new complex example that uses almost every option</notes> </release> <release> <version>0.12</version> <date>2003-07-28</date> <license>PHP License</license> <state>beta</state> <notes>Bugfix release - added fix, if no existing changelog for current package.xml, but has old changelog, a new one is auto-generated from the release. - added new switch to specify order of changelog entries "changelogoldtonew" default true. Set to false to have the newest entry listed first</notes> </release> <release> <version>0.13</version> <date>2003-08-02</date> <license>PHP License</license> <state>beta</state> <notes>Bugfix release - add warning if you attempt to add a dependency on PHP as a package - switched to usage of PEAR_Common::getUserRoles() - added optional dependency support - added script phase support (unimplemented in PEAR)</notes> </release> <release> <version>0.14</version> <date>2003-08-04</date> <license>PHP License</license> <state>beta</state> <notes>Bugfix release - fix warning if you attempt to add a dependency on PHP as a package</notes> </release> <release> <version>0.15</version> <date>2003-08-06</date> <license>PHP License</license> <state>beta</state> <notes>Bugfix release - erroneous blank <release> tag in changelog for generation of a new package.xml</notes> </release> <release> <version>1.0</version> <date>2003-08-21</date> <license>PHP License</license> <state>stable</state> <notes>First stable release No changes from 0.15</notes> </release> <release> <version>1.1.0</version> <date>2003-10-14</date> <license>PHP License</license> <state>stable</state> <notes>bugfix release - fixed #8: notices if a package has no dependencies</notes> </release> </changelog> </package>
Index: pear/PEAR_PackageFileManager/tests/test1_package.xml +++ pear/PEAR_PackageFileManager/tests/test1_package.xml <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> <package version="1.0"> <name>PEAR_PackageFileManager</name> <summary>PEAR_PackageFileManager takes an existing package.xml file and updates it with a new filelist and changelog</summary> <description>This package revolutionizes the maintenance of PEAR packages. With a few parameters, the entire package.xml is automatically updated with a listing of all files in a package. Features include - reads in an existing package.xml file, and only changes the release/changelog - a plugin system for retrieving files in a directory. Currently two plugins exist, one for standard recursive directory content listing, and one that reads the CVS/Entries files and generates a file listing based on the contents of a checked out CVS repository - incredibly flexible options for assigning install roles to files/directories - ability to ignore any file based on a * ? wildcard-enabled string - ability to manage dependencies - can output the package.xml in any directory, and read in the package.xml file from any directory. - can specify a different name for the package.xml file</description> <maintainers> <maintainer> <user>cellog</user> <name>Greg Beaver</name> <email>cellog@users.sourceforge.net</email> <role>lead</role> </maintainer> </maintainers> <release> <version>1.1.0</version> <date>2003-10-14</date> <license>PHP License</license> <state>stable</state> <notes>bugfix release - fixed #8: notices if a package has no dependencies</notes> <deps> <dep type="pkg" rel="ge" version="1.1" optional="no">PEAR</dep> </deps> <provides type="class" name="PEAR_PackageFileManager_CVS" extends="PEAR_PackageFileManager_File" /> <provides type="function" name="PEAR_PackageFileManager_CVS::dirList" /> <provides type="class" name="PEAR_PackageFileManager_File" /> <provides type="function" name="PEAR_PackageFileManager_File::getFileList" /> <provides type="function" name="PEAR_PackageFileManager_File::dirList" /> <provides type="function" name="PEAR_PackageFileManager_File::sortfiles" /> <provides type="function" name="PEAR_PackageFileManager_File::mystrucsort" /> <provides type="class" name="PEAR_PackageFileManager" /> <provides type="function" name="PEAR_PackageFileManager::setOptions" /> <provides type="function" name="PEAR_PackageFileManager::addRole" /> <provides type="function" name="PEAR_PackageFileManager::addPlatformException" /> <provides type="function" name="PEAR_PackageFileManager::addReplacement" /> <provides type="function" name="PEAR_PackageFileManager::addMaintainer" /> <provides type="function" name="PEAR_PackageFileManager::addConfigureOption" /> <provides type="function" name="PEAR_PackageFileManager::addDependency" /> <provides type="function" name="PEAR_PackageFileManager::writePackageFile" /> <provides type="function" name="PEAR_PackageFileManager::debugPackageFile" /> <provides type="function" name="PEAR_PackageFileManager::raiseError" /> <provides type="function" name="file_get_contents" /> <filelist> <file role="php" baseinstalldir="PEAR" md5sum="53ec9bedb54aedb11b35f348b3209d93" name="examples/createPhpDocumentor_package.xml.php"/> <file role="php" baseinstalldir="PEAR" md5sum="be7a06d978db066dac865f1cb52a72f8" name="examples/generatePackage.xml.php"/> <file role="php" baseinstalldir="PEAR" md5sum="af363df56194c252f85275d6657fadeb" name="PackageFileManager/Cvs.php"/> <file role="php" baseinstalldir="PEAR" md5sum="d2a9735d0d3321285af4f4c69c44f0c0" name="PackageFileManager/File.php"/> <file role="test" baseinstalldir="PEAR" md5sum="66b8173f17d40343769505477561a51e" name="tests/HTML_TestListener.php"/> <file role="test" baseinstalldir="PEAR" md5sum="6e405d20c2c514cdf2a8486c4172862a" name="tests/PEAR_PackageFileManager_TestCase_generateNewPackageXML.php"/> <file role="test" baseinstalldir="PEAR" md5sum="576820df16c6366b1112fc3b7d63047e" name="tests/stylesheet.css"/> <file role="test" baseinstalldir="PEAR" md5sum="daaad0c62382f67dc87d3e2803759d46" name="tests/testsuite.php"/> <file role="test" baseinstalldir="PEAR" md5sum="991373ae7e4a9d4fe00c08d75873a785" name="tests/TestUnit.php"/> <file role="php" baseinstalldir="PEAR" md5sum="6cb983b0b24d25922cbc202e7c70e0be" name="PackageFileManager.php"/> </filelist> </release> <changelog> <release> <version>0.1</version> <date>2003-07-21</date> <license>PHP License</license> <state>alpha</state> <notes>First release of PEAR_PackageFileManager</notes> </release> <release> <version>0.2</version> <date>2003-07-21</date> <license>PHP License</license> <state>alpha</state> <notes>Generation of package.xml from scratch is now supported. In addition, generation of <provides> is supported and so is addition of maintainers and configure options - Fixed a bug in <release> generation - Added _addProvides() to generate a <provides> section</notes> </release> <release> <version>0.3</version> <date>2003-07-22</date> <license>PHP License</license> <state>alpha</state> <notes>bugfix release - <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> is added if it isn't present - fixed ignoring of license option - added documentation of the options - if package, summary or description are passed in the options, they will overwrite the existing ones even if the package.xml already exists - fixed progressive addition of newlines to changelog release notes due to bug in the package.xml parser</notes> </release> <release> <version>0.4</version> <date>2003-07-23</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - Fixed bug in testing of output - new option allows specifying the doctype, default is "http://pear.php.net/dtd/package-1.0"</notes> </release> <release> <version>0.5</version> <date>2003-07-23</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - Fixed bug in type="php" dependency generation, - Fixed bug if the package.xml doesn't yet exist</notes> </release> <release> <version>0.6</version> <date>2003-07-23</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - When reading in an existing package.xml, if a file has been removed, several warnings were emitted by PEAR_Common attempting to examine the source of a non-existent file - Fixed warning if release notes were empty in a previous changelog</notes> </release> <release> <version>0.7</version> <date>2003-07-23</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - Fixed bug in CVS reading, if files have been added/removed but not yet committed, it would try to add them to the package.xml</notes> </release> <release> <version>0.8</version> <date>2003-07-23</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - Fixed bug in ignore, ignoring an explicit full path with or without wildcards would not work</notes> </release> <release> <version>0.9</version> <date>2003-07-24</date> <license>PHP License</license> <state>alpha</state> <notes>Bugfix release - Fixed bug in reading a package.xml with no changelog entry, it now auto-generates a changelog entry from the existing <release> tag if there never was a changelog</notes> </release> <release> <version>0.10</version> <date>2003-07-25</date> <license>PHP License</license> <state>beta</state> <notes>With the release of 0.10, PEAR_PackageFileManager is essentially feature-complete. It handles all possible package.xml settings for PEAR, and is extensible through the 'pearcommonclass' option - changed to using strnatcasecmp for version numbers in the search through ChangeLog, so 0.10 > 0.1 - added md5sum attribute to filelist - added use of PEAR_Common::validatePackage() to catch odd errors - fixed incorrect handling of PEAR_Error in File::getFileList() - added handling of filelist platform attribute - added handling of filelist install-as attribute - added handling of filelist replacements options</notes> </release> <release> <version>0.11</version> <date>2003-07-25</date> <license>PHP License</license> <state>beta</state> <notes>Bugfix release - exceptions option should be matching relative path of a file, not just the filename - exceptions were ignored if dir_roles was specified for the directory containing the file - fixed documentation error - added validation of file role - fixed directory role so that it checks values passed in before using the parent directory's role - removed stupid use of eval, replaced with call_user_func - added new complex example that uses almost every option</notes> </release> <release> <version>0.12</version> <date>2003-07-28</date> <license>PHP License</license> <state>beta</state> <notes>Bugfix release - added fix, if no existing changelog for current package.xml, but has old changelog, a new one is auto-generated from the release. - added new switch to specify order of changelog entries "changelogoldtonew" default true. Set to false to have the newest entry listed first</notes> </release> <release> <version>0.13</version> <date>2003-08-02</date> <license>PHP License</license> <state>beta</state> <notes>Bugfix release - add warning if you attempt to add a dependency on PHP as a package - switched to usage of PEAR_Common::getUserRoles() - added optional dependency support - added script phase support (unimplemented in PEAR)</notes> </release> <release> <version>0.14</version> <date>2003-08-04</date> <license>PHP License</license> <state>beta</state> <notes>Bugfix release - fix warning if you attempt to add a dependency on PHP as a package</notes> </release> <release> <version>0.15</version> <date>2003-08-06</date> <license>PHP License</license> <state>beta</state> <notes>Bugfix release - erroneous blank <release> tag in changelog for generation of a new package.xml</notes> </release> <release> <version>1.0</version> <date>2003-08-21</date> <license>PHP License</license> <state>stable</state> <notes>First stable release No changes from 0.15</notes> </release> <release> <version>1.1.0</version> <date>2003-10-14</date> <license>PHP License</license> <state>stable</state> <notes>bugfix release - fixed #8: notices if a package has no dependencies</notes> </release> </changelog> </package>