OpenERP-inator's directory structure:
## `oetor init`
/opt/openerp # HOME directory
|- oetor # oetor script (symlinked to ./src/oetor/oetor)
|- /src # shared SOURCE REPOSITORY
| |- /oetor # oetor script source (cloned form GitHub)
| |- /nightly-7.0 # a SOURCE DIR (from nightly builds)
| | |- /server
| | ## `oetor setup sources 7.0`
| |- /sources-7.0 # a source dir (Launchpad checkout)
| | |- /server # (/repos contains addons and web)
| | |- /repos
| | ## `oetor setup sources trunk`
| |- /sources-trunk # ...another version source dir
| | |- ...
| ... # ...add other shared sources as needed
| # see `oetor setup --help`
|
| ## `oetor create instance1 sources-7.0`
|- /instance1 # an OpenERP server instance
| |- openerp-server.conf
| |- /src # server sources: symlink dir in /opt/openerp/src
| |- /common # specific sources: add specific sources
| | # common all instance versions)
| |- normbot # script to help operate the vanilla server
| | # (addons_path=./src/repos/*,./common/*)
| |
| | ## `oetor addto instance1 branchx lp:branchx`
| |- /branchx # instance source code (version x)
| |- normbot-branchx # server to work on a specific branch/version
| | # (addons_path=./branchx,./src/repos/*,./common/*)
| |
| ... # ...add as many branches as needed
| # see `oetor addto --help`
|
... # ...create as many instances as you need
# see `oetor create --help`