cvs: pear /MDB2_Schema package.php package.xml

From: Date: Thu, 30 Aug 2007 20:02:59 +0000
Subject: cvs: pear /MDB2_Schema package.php package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-48518@lists.php.net to get a copy of this message
ifeghali Thu Aug 30 20:02:59 2007 UTC Modified files: /pear/MDB2_Schema package.php package.xml Log: - updated dependency

http://cvs.php.net/viewvc.cgi/pear/MDB2_Schema/package.php?r1=1.59&r2=1.60&diff_format=u Index: pear/MDB2_Schema/package.php diff -u pear/MDB2_Schema/package.php:1.59 pear/MDB2_Schema/package.php:1.60 --- pear/MDB2_Schema/package.php:1.59 Mon Aug 20 16:38:59 2007 +++ pear/MDB2_Schema/package.php Thu Aug 30 20:02:58 2007 @@ -40,35 +40,18 @@ // | Author: Igor Feghali <ifeghali@php.net> | // +----------------------------------------------------------------------+ // -// $Id: package.php,v 1.59 2007/08/20 16:38:59 ifeghali Exp $ +// $Id: package.php,v 1.60 2007/08/30 20:02:58 ifeghali Exp $ // require_once 'PEAR/PackageFileManager2.php'; PEAR::setErrorHandling(PEAR_ERROR_DIE); $version_api = '0.8.0'; -$version_release = '0.8.0'; +$version_release = '0.8.1'; $state = 'beta'; $notes = <<<EOT -- Primary Key is removed when updating a table against its XML (Bug #11604) -- Added support to INSERT...SELECT syntax, so it is now possible to prevent data loss when rollback an updated database (Bug #10892) -- Updated API of getInstructionFields() and getInstructionWhere() -- It is now possible to prevent updateDatabase() of overwriting the old schema file -- alterDatabaseTables() first add new tables, then remove the old one. it is necessary to save table data before a remove -- updateDatabase() was aborting, under certain conditions, when <was> was not found (Bug #11600) -- Now validating database definition when reverse engineering (Bug #11604) -- createDatabase() has a new parameter that is passed to the database driver to set some options like table engine -- Foreign Keys support -- It is now possible to assign to a column the value of another column, of the same table, when inserting data -- Fixed the HTML etities issue when parsing a schema file (Bug #11676) -- XML Documentation, XSD and DST updated to show/expect the attributes in a unique order. Writer and parsers was also updated to handle the attributes in that some order. That said Parser and Parser2 must have the exactly same output for a given XML -- Except for table fields, all other database elements are being initialized with all its attributes, no matter if those attributes are present on the XML or not -- Many bugs fixed in Parser2, that was not creating a valid database definition -- Introduced attribute "fixed" of table field declaration -- validateIndex() is now checking whether a index has fields -- Validate is not returning MDB2_OK instead of boolean true -- XML Documentation and schema validators revised and updated +- updated dependency open todo items: - Clean up output of getDefinitionFromDatabase(). Sync it with Parser and Parser2. http://cvs.php.net/viewvc.cgi/pear/MDB2_Schema/package.xml?r1=1.32&r2=1.33&diff_format=u Index: pear/MDB2_Schema/package.xml diff -u pear/MDB2_Schema/package.xml:1.32 pear/MDB2_Schema/package.xml:1.33 --- pear/MDB2_Schema/package.xml:1.32 Mon Aug 20 16:38:59 2007 +++ pear/MDB2_Schema/package.xml Thu Aug 30 20:02:58 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<package packagerversion="1.5.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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.0 http://pear.php.net/dtd/package-2.0.xsd"> +<package packagerversion="1.6.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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.0 http://pear.php.net/dtd/package-2.0.xsd"> <name>MDB2_Schema</name> <channel>pear.php.net</channel> <extends>MDB2</extends> @@ -39,10 +39,10 @@ <email>lars@legestue.net</email> <active>yes</active> </helper> - <date>2007-08-20</date> - <time>13:38:00</time> + <date>2007-08-30</date> + <time>16:47:12</time> <version> - <release>0.8.0</release> + <release>0.8.1</release> <api>0.8.0</api> </version> <stability> @@ -50,24 +50,7 @@ <api>beta</api> </stability> <license>BSD License</license> - <notes>- Primary Key is removed when updating a table against its XML (Bug #11604) -- Added support to INSERT...SELECT syntax, so it is now possible to prevent data loss when rollback an updated database (Bug #10892) -- Updated API of getInstructionFields() and getInstructionWhere() -- It is now possible to prevent updateDatabase() of overwriting the old schema file -- alterDatabaseTables() first add new tables, then remove the old one. it is necessary to save table data before a remove -- updateDatabase() was aborting, under certain conditions, when &lt;was&gt; was not found (Bug #11600) -- Now validating database definition when reverse engineering (Bug #11604) -- createDatabase() has a new parameter that is passed to the database driver to set some options like table engine -- Foreign Keys support -- It is now possible to assign to a column the value of another column, of the same table, when inserting data -- Fixed the HTML etities issue when parsing a schema file (Bug #11676) -- XML Documentation, XSD and DST updated to show/expect the attributes in a unique order. Writer and parsers was also updated to handle the attributes in that some order. That said Parser and Parser2 must have the exactly same output for a given XML -- Except for table fields, all other database elements are being initialized with all its attributes, no matter if those attributes are present on the XML or not -- Many bugs fixed in Parser2, that was not creating a valid database definition -- Introduced attribute &quot;fixed&quot; of table field declaration -- validateIndex() is now checking whether a index has fields -- Validate is not returning MDB2_OK instead of boolean true -- XML Documentation and schema validators revised and updated + <notes>- updated dependency open todo items: - Clean up output of getDefinitionFromDatabase(). Sync it with Parser and Parser2. @@ -202,15 +185,15 @@ <dependencies> <required> <php> - <min>4.2.0</min> + <min>4.3.2</min> </php> <pearinstaller> - <min>1.4.0b1</min> + <min>1.6.0</min> </pearinstaller> <package> <name>PEAR</name> <channel>pear.php.net</channel> - <min>1.0b1</min> + <min>1.6.0</min> </package> <package> <name>XML_Parser</name> @@ -219,7 +202,7 @@ <package> <name>MDB2</name> <channel>pear.php.net</channel> - <min>2.2.0</min> + <min>2.4.1</min> </package> </required> <optional> @@ -233,6 +216,40 @@ <changelog> <release> <version> + <release>0.8.1</release> + <api>0.8.0</api> + </version> + <stability> + <release>beta</release> + <api>beta</api> + </stability> + <date>2007-08-30</date> + <license>BSD License</license> + <notes>- updated dependency + +open todo items: +- Clean up output of getDefinitionFromDatabase(). Sync it with Parser and Parser2. +- Automatically load reserved keywords +- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270) +- Allow simple if statements that mean that anything enclosed is only executed + if it meets certain criterias based on that version number (or some other + variable). This would enable people to add DML statements that are only + executed when updating from a specific version. +- Modularize Writer code or remake it +- Add specific error codes for Validate class +- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key + problem) +- Update description.schema.xml +- Create unit test for comparedefinitions() +- Create unit test for initializetable() +- Create unit test to compare the expected array definition with what is parsed +- Improve validateDataFieldValue() to validate &lt;column&gt; +- Provide more info on MDB2_Schema_Validate errors (output parsed value and expected value) +- Views support +- Fulltext index support</notes> + </release> + <release> + <version> <release>0.8.0</release> <api>0.8.0</api> </version>
« previous php.pear.cvs (#48518) next »