A buildout recipe to install and configure OpenERP
This recipe for Buildout is a fully featured tool allowing you to define and deploy quickly OpenERP installations of any kinds, ranging from development setups to fully automated production deployments or continuous integration.
Some of its main features include:
- uniformity across OpenERP versions (from 5.0 onwards)
- installation of OpenERP server and, if meaningful, GTK and web clients.
- retrieval of main software and addons from various sources, including the major version control systems
- ability to pinpoint everything for replayability
- management of OpenERP configuration
- dedicated scripts creation for easy integration of external tools, such as test launchers
- packaging: creation of self-contained equivalents for easy deployment in tightly controlled hosting environmenents.
All these to be considered together with zc.buildout‘s general properties, such as an extensible configuration file format for easy variation or separation of concerns, native Python distributions installation, and of course the huge ecosystem of other recipes.
The full documentation is written with Sphinx, built continuously and uploaded to http://docs.anybox.fr/anybox.recipe.openerp by Anybox’ public buildbot. The Sphinx source tree is to be found under the doc subdirectory of this project.
The latest released version of the documentation is uploaded to PyPI alongside with the package. See PyPIDocumentationHosting for details.
Bug reports and Feedback
Please don’t hesitate to give feedback and especially report bugs or ask for new features through launchpad at this URL: https://bugs.launchpad.net/anybox.recipe.openerp/+bugs
- Christophe Combelles
- Georges Racinet
- Jean-Sébastien Suzanne
- Yannick Vaucher
- Jacques-Etienne Baudoux
- Laurent Mignon
- Leonardo Pistone
The 1.7 series are stable versions, while the 1.8 are unstable. Changes displayed as “unreleased” in th stable series are released with any higher released unstable versions.
- launchpad #1222482: upgrade toolkit and upgrade scripts generation
- launchpad #1222116: [Gunicorn] option to preload databases
- launchpad #1232806: custom interpreter and openerp_scripts now work with OpenERP 6.1
- launchpad #1232724: [gunicorn] properly switching openerp to multi-process mode
- SAAS versions now recognized, and treated as X.5
- launchpad #1228997: [v5] in some cases, start_openerp –stop-after-init was not honoured.
- launchpad #1222562: [git] error in extract-downloads-to
- launchpad #1215838: don’t freeze develop / gp.vcsdevelop distributions
- launchpad #1213469: openerp scripts: support for entry point arguments
- launchpad #1215833: preserve regular develops in extract-downloads-to
- launchpad #1215873: [git] re-buildout with revision fixed versions crashes
- launchpad #1217816: [bzr] proper update of lightweight checkouts
- launchpad #1203550: [v8] using the openerpcommand that comes now bundled with openobject-server
- launchpad MP #182002: new ‘etc-directory’ option (default behaviour unchanged).
- launchpad #1208028: wrong error message in case of distribution version conflict
- launchpad #1216498: fixed python interpreter extra paths
- launchpad #1216835: [bzr] mispelling in ‘lightweight-checkout’ option
- launchpad #1205063: no more error if no addons are specified (might lead to problems with the default config, though, because of server wide modules, but that’s supposed to be overridable)
- launchpad #1189160: easy integration of general purpose unit test launchers
- launchpad #1201715: allow easily working in a virtualenv with extra-requires on bzr (allows easily to work with zc.buildout 2.2 on systems providing setuptools < 0.7 / distribute)
- launchpad #1202150: [git] proper support for remote branches
- launchpad #1200449: new flexible openerp_scripts; general refactor of script generation code.
- launchpad #1203005: vcs options not passed through (addons and main software)
- [bzr] support for lightweight checkout, with uniform ‘bzr-init’ option
- launchpad #1204573: [bzr] retry in two steps for some bzr branching cases where it fails to branch directly to wished revision.
- launchpad #1128146: new option in freeze-to to disallow picked versions, stopping not freezing of distribute.
- introduced vcs.base.CloneError with wrappers for check_call and check_output.
- launchpad #1200198: hg: determination whether rev spec is fixed could be wrong
- launchpad #1194887: ‘clean’ option for git and hg now use the native solution
- launchpad #1192973: ‘clean’ option now based on bzr clean-tree (more powerful, and avoids in particular removing empty dirs, which is a local modification that prevents later on freezing)
- launchpad #1189402: order of the addons_path is now deterministic
- launchpad #1189162: registry helping avoid double evaluaton of custom addons models (helps launching unittest2 tests directly)
- launchpad #1191279: first implementation of new ‘clean’ option, dealing with python object files only.
- launchpad #1188402: fixed git clone init on a precise revision
- launchpad #1183005: python interpreter that can bootstrap OpenERP and open a database for interactive session or to launch a script.
- launchpad #1182589: avoid IOError if a bzr branch has no branch.conf
- launchpad #1185097, #1185100, #1185101, #1185741: advanced support for Git (precise revision, freeze, extract) allows including Git repositories in a full release process for tarball deployments.
- launchpad #1182146: clearer user feedback and exit status code = 17 for freeze-to in case of local modifications of VCS server or addons.
- launchpad #1169124: regression: offline mode not honoured with bzr
- launchpad #1166788: regression with bzr “revid:” revision specifications
- launchpad #1154719: freeze-to does not take the correct bzr revision number
- launchpad #1133248: “need more than 1 value to unpack” if some bzr’s branch.conf has extra content not in the key = value form
- support for bzr stacked branches for the server branch in the same way as was already done in addons.
- launchpad #1152808: corrected parsing of options.log_handler in gunicorn setups (introduced a constant to treat comma-separated list options in gunicorn conf)
- launchpad #1153036: avoid pulls in case the specified revision is a fixed one that we already have (bzr and hg only)
- launchpad #1115504: extract-downloads-to now works with bzr version shipping with Debian squeeze
- launchpad #1130590: errors with inline comments such as freeze-to produces
- works with zc.buildout 2.0
- launchpad #1115503: now it’s possible to apply extract-downloads-to for a buildout configuration that uses the revisions option: the produced configuration resets revisions if needed.
- launchpad #1122015: soft requirements problem if offline on zc.buildout 2.0
- quality: now entirely flake8 compliant
- launchpad #1093771: extraction feature of downloaded code (notably vcs)
- launchpad #1068360: new ‘revisions’ option to fix VCS revisions separately
- launchpad #1093474: freeze feature of revisions and versions of python distributions
- launchpad #1084535: finer behaviour of with_devtools option: load testing hacks only in tests launcher script
- launchpad #1095645: missing devtools loading in openerp-command scripts
- launchpad #1096472: forbid standalone (single) local addons. A local addon must always be a directory that has addons inside.
- launchpad #1096472: trailing slash in a standalone addon directory name led to error.
- launchpad #1077048: fix gunicorn startup script for OpenERP 7
- launchpad #1079819: take into account newly introduced hard dependency to PIL in OpenERP 7
- launchpad #1055466: refactor version logic by providing major version tuple for comparisons.
- launchpad #1081039: introduced soft requirements and made openerp-command one of these.
- Nothing but fix of changelog RST
- Fixed an error in user feedback if openerp-command package is missing but needed
- launchpad #1073917: separated test command (bin/test_openerp)
- launchpad #1073127: support for openerp-command
- major improvement of test coverage in server recipe
- included buildout configurations for buildbotting of the recipe in source distribution
- Improved documentation (bootstrap and sample buildouts)
- Re-enabled support for trunk nightly (and maybe 7.0 final)
- fixed a packaging problem with openerp-cron-worker in 1.1.4
- launchpad #1041231: Resilience to changes of bzr locations
- launchpad #1049519: openerp-cron-worker startup script
- launchpad #1025144: By default, admin passwd is now disabled
- launchpad #1054667: Problem with current dev nightlies for OpenERP 6.2
- fixed a packaging problem with openerp-cron-worker in 1.1.2
- no actual difference with 1.0 (only changelogs and the like)
- launchpad #1040011: works with current OpenERP trunk (future 7.0)
- launchpad #1027994: ‘base_url’ option, to download from mirrors
- launchpad #1035978: restored ‘local’ version scheme for OpenERP itself. Also implemented the ‘url’ version scheme.
- removed deprecated renaming of 6.1 to 6.1-1
- Refactored the documentation
- launchpad #1033525: startup_delay option
- launchpad #1019888: Gunicorn integration.
- launchpad #1019886: installation of ‘openerp’ as a develop distribution, and full python server startup script.
- launchpad #1025617: Support for nightly versions in 6.1 series
- launchpad #1025620: Support for latest version
- launchpad #1034124: Fix interference of buildout options with gtkclient recipe
- launchpad #1021083: optional development tools loading in startup script
- launchpad #1020967: stop creating scripts by default
- launchpad #1027986: Better handling of interrupted downloads
- launchapd #1017252: relying on Pillow to provide PIL unless PIL is explicitely wanted.
- launchpad #1014066: lifted the prerequirement for Babel. Now the recipe installs it if needed before inspection of OpenERP’s setup.py
- launchpad #1008931: Mercurial pull don’t take URL changes into account. Now the recipe manages the repo-local hgrc [paths] section, updates the default paths while storing earlier values
- launchpad #1012899: Update problems with standalone vcs addons
- launchpad #1005509: Now bzr branches are stacked only if
- bzr-stacked-branches option is set to True.
- launchpad #1000352: fixed a concrete problem in Bzr reraising
- launchpad #1000352: option vcs-clear-retry to retrieve from scratch in case of diverged Bzr branches. Raising UpdateError in right place would trigger the same for other VCSes.
- Basic tests for Git and Svn
- Refactor with classes of VCS package
- launchpad #997107: fixed vcs-clear-locks option for bzr, that requires a user confirmation that cannot be bypassed in older versions
- launchpad #998404: more robust calls to hg and bzr (w/ unit tests), and have exception raised if vcs call failed (break early, break often).
- launchpad #997107: vcs-clear-locks option (currently interpreted by Bzr only)
- launchpad #993362: addons subdir option, and made repositories being one addon usable by creating an intermediate directory.
- Faster tarball inspection (see lp issue #984237)
- Shared downloads and more generally configurable downloads directory, see https://blueprints.launchpad.net/anybox.recipe.openerp/+spec/shared-downloads
- fixed the sample buildouts in the readme file
- Clean-up and refactoring
- Removed url option (download url supported through version)
- Support OpenERP 6.1 and 6.0
- Added an ‘addons’ option allowing remote repositories and local directories
- Improved error messages
- Updated the documentation
- Handle bad Babel import in setup.py
- Support offline mode of buildout
- Create gtk client config without starting it
- handle deploying custom bzr branches
- handle new sections in openerp config
- Overwrite config files each time
- Make the “dsextras” error more explicit (install PyGObject and PyGTK)
- fixed some deps
- improved the doc
- Use dotted notation to add openerp options in the generated configs
- Added support for the web client and gtk client
- fixed config file creation
- Pass the trailing args to the startup script of the server
- Initial implementation for the OpenERP server only