* Cédric Krier: " Re: [tryton] Configurable rounding strategy" (Thu, 17 Jul
  2014 10:00:35 +0200):

[...]

> > >>>> Btw, if implemented in conf file, how would the history behave when
> > >>>> conf is changed ? or when database is restored ?
> > >>>
> > >>> People should be careful to not shoot their own foot.
> > >>
> > >> tryton must be manageable too.
> > > 
> > > Exactly, that's why all those stuff should be in a configuration file.
> > > 
> > >> For restoring any archive of a database
> > >> you will need to know about the configuration file of the original
> > >> server, adapt some parameters on your local server and start it.
> > > 
> > > Yes and you will also need to know the version of the source code
> > > executed.
> > 
> > Pypi works perfectly for this. Cutting and pasting in configuration
> > files is another story.
> 
> Just like the attachment archive.

Since the move to a configuration file containing database specific items seems
not to be stoppable, what about the idea to at least just store the used
configuration after successful startup in the database? Like that the last used
configuration would be available in the database dump in the case of later
restores.



-- 

    Mathias Behrle
    MBSolutions
    Gilgenmatten 10 A
    D-79114 Freiburg

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

Attachment: signature.asc
Description: PGP signature

Reply via email to