openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #05869
Re: Deployment best practices
I've been playing with this recipe all day and it works really well. At
first, I was a bit stuck because it doesn't offer something like "develop
egg". I have a handful of generic modules shared between few clients and
so, naturally I want them to be imported as "develop egg". But I figured a
bzr-init=lightweight-checkout works around it at the expense of some disk
space, which is alright.
There are 2 things that I don't quite get it, and please accept my apology
if these have been asked before (I tried googling)
1. [revisions] doesn't seem to work. I mean, I can export a frozen set with
"bin/buildout -o openerp:freeze-to=frozen.cfg" but when I rerun the
buildout in a new environment with bin/buildout -c frozen.cfg, the repo is
checked out but is always set to the version specified to "addons"
2. subdir is not implemented for git/other VCS
I use pentaho report by WillowIT a lot, and they keep the addon in
openerp_addon folder. I can work around that with the following 2 lines:
addons = ...
git /home/phuihock/Work/lp/extras/Pentaho-reports-for-OpenERP
pentaho-reports version70
local ./addons/pentaho-reports/openerp_addon
But it would be nice if subdir is implemented for all types of VCS.
Anyway, thanks for the great recipe! It definitely is a time/headache saver.
*Chang Phui Hock*
CODEKAKI SYSTEMS (R49045/14) - A web-dev company
Address: TB 15588-1 1st Floor, Lrg Kubota, Kubota Square, 91000 Tawau.
Tel: +6018-263 9102
Skype: phuihock
Website: http://www.codekaki.com
On Mon, May 26, 2014 at 3:01 PM, Yannick Vaucher <
yannick.vaucher@xxxxxxxxxxxxxx> wrote:
> +1 We define eggs and branch versions.
>
>
> On Sat, May 24, 2014 at 11:52 PM, Lorenzo Battistini <
> lorenzo.battistini@xxxxxxxxxxx> wrote:
>
>> Il giorno 24/mag/2014 20:14, "Raphael Valyi" <rvalyi@xxxxxxxxx> ha
>> scritto:
>>
>> >
>> > What is the idea? never say last:1 / HEAD and always specify revisions
>> to deploy? That sounds possible, but is it ideal?
>> >
>>
>> We do that way
>>
>
>
>
> --
> Yannick Vaucher
> Business Solutions Software Developer
>
> Camptocamp SA
> PSE A, CH-1015 Lausanne
> Phone: +41 21 619 10 30
> Office: +41 21 619 10 10
> http://www.camptocamp.com/
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help : https://help.launchpad.net/ListHelp
>
>
References