Re: [Openerp-community] Best approach to deploy one module from OCA/GitHub?

2014-07-03 Thread Sébastien Alix
Hi Leonardo, Yes I read that about using submodule in OCA repositories. It could helps but it involves some extra work to update the state of main repositories regularly I suppose (to map latest versions of sub-repositories). It could be automated by a script, maybe in the future. My

Re: [Openerp-community] Best approach to deploy one module from OCA/GitHub?

2014-07-03 Thread Sébastien Alix
Thanks Pedro, Indeed, the strategy with the symlink is a good solution if we don't want all others modules listed in Odoo. As we use Mercurial subrepos, the .hgsub mapping might look like this: server = [git]git://github.com/odoo/odoo.git addons_oca_PROJECT_X = [git]

[Openerp-community] Best approach to deploy one module from OCA/GitHub?

2014-07-02 Thread Sébastien Alix
Hi, As a repository on GitHub (or Launchpad) can contain several modules (e.g. https://github.com/OCA/project-service/tree/7.0), I am wondering about the best way to deploy only one of them in a customer project without fetching all other modules of the repository, but keeping the link with

Re: [Openerp-community] Best approach to deploy one module from OCA/GitHub?

2014-07-02 Thread Leonardo Pistone
Hi Sébastien, normally you can clone the whole repository (they are small anyway) and install only the module you need without problems. A good approach to manage well all that, choose specific versions for each project and much more is the buildout recipe made by Anybox. At some point it was

Re: [Openerp-community] Best approach to deploy one module from OCA/GitHub?

2014-07-02 Thread Lorenzo Battistini
On 07/02/2014 11:20 AM, Sébastien Alix wrote: For the sake of simplicity, do you clone the whole repository and add it to the addons_path, even for one module? Yes, I usually do like that. Modules in OCA repositories are supposed to not have syntax errors, so you can add them to available

Re: [Openerp-community] Best approach to deploy one module from OCA/GitHub?

2014-07-02 Thread Pedro Manuel Baeza Romero
Hi all, You can develop a deployment strategy using symbolic links for desired modules in only one addons folder, but you have to be very careful, because there are some modules that have auto_install switch activated, and you can lose functionality in this case. As Lorenzo has said, is more or