Hi Cedric,

Am Mittwoch, 10. September 2014 09:29:59 UTC+2 schrieb Cédric Krier:
>
>
> 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. 
>

If I remember right, after an upgrade it was required to run the -u. 
Thats OK, but I would prefer an option that updates all installed modules 
automatically, and not naming each module to upgrade ...
 

> 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. 
>

Sounds good.
So if
   trytond -d <DB> -u base
would only upgrade base and installed modules. 
Or merge this directly into an option --dup (a.k.a. Distribution Upgrade)

Cheers
Axel 

> Website: http://www.b2ck.com/ 
>

Reply via email to