Community mailing list archives

community@mail.odoo.com

Re: Dev Advice

by
Vauxoo S.A. de C.V., Nhomar Hernandez
- 06/09/2016 17:26:08

On Thu, Jun 9, 2016 at 4:02 PM, David Arnold <dar@devco.co> wrote:
thanks for your advices. The templating is a good idea, I tried it, however it didn't fit that much in my workflow or let's say it is rather complicated to manage as I would need a well defined template set for most use cases. Else it would be useful only every so often and that would kill the approach. But you're right in the end, this is probably the approach with the most effect. One thought: When I have a lot of templates and are working on different features at the same time, I would like to get the other databases out of the way because at some point I would just accidentally click on the wrong one and mess things up. I know there are domain filters in --db-filter, but can I use wildcards as well? Like this I could prefix databases and when I would have --db-filter "feature_xyz_*" and a --template "tmplt_feature_xyz" and anything else would get out of my way. I think if this doesn't exists it's worth I would start to think about PR to upstream.

The point of dbfilter is avoid the error.

What I do is that I have a folder with several configfiles and I simply call the specific configfile with the environement an need per feature.

That + a proper branch management is enought.

We use runbot also, with runbot_travis2docker you car create an environment directly from the CI without move a finger (even with ssh access.

The problema is that for such deal you need to have a proper machine in the cloud because it is not feasible have that in the machine you described.



--
Nhomar Hernandez
CEO Vauxoo.
Twitter: @nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
Móvil Venezuela:
+58 4144110269
Móvil México:
+52 1 4773933942