On 10 Sep 12:33, Mathias Behrle wrote: > * Cédric Krier: " [tryton-dev] update/install module" (Wed, 10 Sep 2014 > 09:29:56 +0200): > > > Hi, > > > > There is a side effect of the changeset [1] which is that the update and > > install arguments have indeed the same behavior. > > For example, if you run: > > > > trytond -d <DB> -u all > > > > this will install all the modules. > > This is because there was only at one places where there was a > > difference between both options and this difference is no more possible > > with the refactoring because it lays on global variables. > > > > I think the best way to fix that if to explicitly make them one options > > (for example keep -u) which will install or update the named module. > > Also we should remove the "all" special keyword because it doesn't help > > who wants to install all the module. So instead to update all the > > installed module, you should simply update "ir" (because all module must > > depend on it, otherwise they do nothing). > > For the record, I would like in the future merge both module "ir" and > > "res" into a single "base" module and move webdav as a normal module. > > > > Comments? > > For option -u: > Why not making --all internally updating just 'ir' (later 'base') and keep > that > way the behavior of the options across releases?
Ok, I will try it. > For option -i: > -i all is a useful option for developers and it should behave like -u all does > currently. -i will be merged in -u because they do the same. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpXtjsYCq3lk.pgp
Description: PGP signature