Created by Stefan Rijnhart (Opener) on 2012-06-07 and last modified on 2012-06-07

This branch ensures that pre and post scripts are only called once. This means that developers do not have to bother checking whether they are being rerun in the scripts themselves. It is now also ensured that new dependencies are installed automatically. Modules that are known to be obsolete will now be removed automatically.

The API is augmented with a decorator that can be used in migration scripts to log any errors that may occur. A new function for renaming XML IDs is provided, and setting defaults provided by a function is faster.

Some bugs in the base module migration scripts are solved.

Get this branch:
bzr branch lp:~therp-nl/openupgrade-server/6.0-API_and_loading_improvements
Members of Therp can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

OpenUpgrade Server

Recent revisions

3496. By Stefan Rijnhart (Opener) on 2012-06-07

 - rename_xmlids
 - mark_obsolete_modules
 - migrate() decorator
 - add_module_dependencies
[IMP] API: calculate default function only once per user
[FIX] base:
 - bug in creating unknown bank
        - rename salesman group xmlid
 - preserve res_partner_function table for use in hr_contract
  - remove obsolete modules
 - use openupgrade.migrate() decorator
[IMP] (loading) use table_exists function from library
[IMP] (loading) keep track of pre and post processed modules
[IMP] (loading) add module dependencies
[ADD] openupgrade_records: additional apriori knowledge

3495. By Stefan Rijnhart (Opener) on 2012-05-09

[ADD] General OpenUpgrade log
[IMP] Store general OpenUpgrade log in base module's migrations directory

3494. By Stefan Rijnhart (Opener) on 2012-05-09

[FIX] Prevent double entries in records table
[ADD] analysis file for base module
[FIX] Sort input for analysis files

3493. By Stefan Rijnhart (Opener) on 2012-05-08

[ADD] Analysis file for the base module

3492. By Stefan Rijnhart (Opener) on 2012-05-08

[IMP] Align OpenUpgrade module between server versions
[IMP] Write files is now an option
[IMP] Store last log file on the comparison configuration

3491. By Stefan Rijnhart (Opener) on 2012-05-07

[MRG] Merged with core OpenERP server branch

3490. By Stefan Rijnhart (Opener) on 2012-05-06

[RFR] OpenUpgrade: move record table truncate to own module
[FIX] OpenUpgrade: Missing newlines in record report
[FIX] OpenUpgrade: Only log newly added orm instances

3489. By Stefan Rijnhart (Opener) on 2012-05-06

[RFR] Backport refactoring from 6.1-orm branch

3488. By Stefan Rijnhart (Opener) on 2012-04-18

[ADD] Communicate with old server
[RFR] Can now import comparison logic as lib

3487. By Stefan Rijnhart (Opener) on 2012-04-18

[MRG] Merged with main branch

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.