* Betr.: " [tryton-dev] Re: Howto fix xml typo" (Thu, 05 Nov 2009 19:37:13
  +0100):

> Udo Spallek schrieb:
> 
> > change to:
> >   * ... generally don't change the database structure (changes happens 
> >     only in very rare cases and only for bug-fixing reasons);
> 
> -1
> 
> For two reasons:
> a) For this specific case -- as far as I understood it -- the structure
>    is unchanged. No need to change the rules.
> b) If users can not relay on the fact that third digits are only minor
>    changes (as described in the guidelines), this will have big
>    implications on managing Tryton installations.
> 
> >- We create a module (account_invoice_fix_domain) to override the
> > value of the xml record.
> 
> This is my favorite, simple proposing a different namespace, like
> 'patch_account_invoice_1_4_2' for patching account_invoice 1.4.1 to
> 1.4.2. This module should include a verbose description like: "Fixes a
> bug in the database content. If you already installed accound_invoice
> 1.4.2 when setting up your Tryton database [be more specific here]m you
> do not need this module."

If you put the changed xml in 1.4.2, you *did* merge a database relevant
change into a minor version (exactly what you wanted to avoid).
Thats why I am nevertheless opting for a complete different branch designed to
take only patches/patched modules requiring a database update. It is a much
cleaner policy than to have a patch module in a release branch.

-- 

    Mathias Behrle
    MBSolutions
    Gilgenmatten 10 A
    D-79114 Freiburg

    Tel: +49(761)471023
    Fax: +49(761)4770816
    http://mbsolutions.selfip.biz
    UStIdNr: DE 142009020
    PGP/GnuPG key availabable from any keyserver, ID: 0x89BCA161

--~--~---------~--~----~------------~-------~--~----~
[email protected] mailing list
-~----------~----~----~----~------~----~------~--~---

Reply via email to