← Back to team overview

openupgrade-drivers team mailing list archive

Re: OpenUpgrade analysis refactoring

 

On 26-04-12 09:54, Stefan Rijnhart wrote:

The current way of logging database layout representations to the server log and processing the log manually will be replaced by filling an ORM table and a set of wizards to create a suitable representation of database fields and XML IDs. Another wizard allows the developer to connect to an older release branch of the OpenUpgrade server to compare database layouts. The changes per module can then directly be written to the module directory in the appropriate migrations/<version> sub directory.

Hi,

The refactoring is completed in the following branches:

https://code.launchpad.net/~therp-nl/openupgrade-server/5.0-use_orm
https://code.launchpad.net/~therp-nl/openupgrade-server/6.0-use_orm
https://code.launchpad.net/~therp-nl/openupgrade-server/6.1-use_orm

If you would like a chance to review these changes please give me a sign and I will refrain from merging these branches with the main openupgrade-server branches.

Analysis files are already included in the 6.0 and 6.1 openupgrade-addons branches.

Here is a description of the analysis process if the analysis files for the standard addons do not suffice:
http://bazaar.launchpad.net/~therp-nl/openupgrade-server/6.1-use_orm/view/head:/openerp/openupgrade/doc/source/analyse.rst

Cheers,
Stefan.

--
Therp - Maatwerk in open ontwikkeling

Stefan Rijnhart - Ontwerp en implementatie

mail: stefan@xxxxxxxx
tel: +31 (0) 614478606
web: http://therp.nl



References