Merge lp:~clovis-c/anybox.recipe.openerp/anybox.recipe.openerp into lp:anybox.recipe.openerp

Proposed by Nzouendjou Clovis
Status: Needs review
Proposed branch: lp:~clovis-c/anybox.recipe.openerp/anybox.recipe.openerp
Merge into: lp:anybox.recipe.openerp
Diff against target: 52 lines (+43/-0)
1 file modified
doc/first_steps.rst (+43/-0)
To merge this branch: bzr merge lp:~clovis-c/anybox.recipe.openerp/anybox.recipe.openerp
Reviewer Review Type Date Requested Status
Georges Racinet Needs Fixing
Review via email: mp+236521@code.launchpad.net

Commit message

Sample buildout file of the Odoo 8.0 stable version

Description of the change

Add a sample buildout file of the Odoo 8.0 stable version in the documentation

To post a comment you must log in.
Revision history for this message
Georges Racinet (gracinet) wrote :

Thanks for the contrib !

There are several unnecessary or unwanted things in your example:

* the ``static-analysis`` part is meant for buildbot-tested buildouts
* oerp_no_phoning_home is a no-go for a sample config (hostile to Odoo)
* the nosetests openerp_script is not necessary for such a sample config (or you could indicate that this is an added value of your example). If you remove it, then remove also nose from eggs
* what's the use of pytest ?
* there's no need to list anybox.recipe.openerp in eggs
* calling the developed modules directory simply 'addons/' is a source of confusion (and indeed at first sight I did confuse them with the standard addons…) Please rename to 'specific-addons' or something similar

Also, you forgot to fix the title if I'm reading correctly

review: Needs Fixing
Revision history for this message
Georges Racinet (gracinet) wrote :

Also, gp.vcsdevelop, and its options (vcs-update) should be removed (unless you want to provide an example that actually uses it and advertise it as such).

Unmerged revisions

559. By Clovis NZOUENDJOU <email address hidden>

Sample buildout file of the Odoo 8.0 stable version

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/first_steps.rst'
2--- doc/first_steps.rst 2014-07-24 21:14:28 +0000
3+++ doc/first_steps.rst 2014-09-30 14:00:04 +0000
4@@ -137,6 +137,49 @@
5
6 Example OpenERP 7.0 buildouts
7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8+This example builds the Odoo 8.0 stable version.
9+It also adds a local folder containing the developed modules
10+(called addons in our case) and shows you how to add more addons from Git::
11+
12+ [buildout]
13+ parts = openerp
14+ extensions += gp.vcsdevelop
15+ versions = versions
16+ find-links = http://download.gna.org/pychart/
17+ vcs-update = true
18+
19+ [openerp]
20+ recipe = anybox.recipe.openerp:server
21+ version = git http://github.com/odoo/odoo.git odoo 8.0
22+ addons = local addons/
23+ git https://bitbucket.org/BizzAppDev/oerp_no_phoning_home.git oerp_no_phoning_home master
24+
25+ options.load_language = fr_FR
26+ options.language = fr_FR
27+ eggs = anybox.testing.openerp
28+ anybox.recipe.openerp
29+ nose
30+ pytest
31+ PyPDF
32+ openerp_scripts = nosetests=nosetests openerp-log-level=WARNING command-line-options=-d
33+
34+ [static-analysis]
35+ recipe = zc.recipe.egg
36+ eggs = pyflakes
37+ flake8
38+ anybox.recipe.openerp
39+
40+ [versions]
41+ lxml = 2.3.3
42+ docutils = 0.9
43+ pyparsing = 1.5.7
44+ Werkzeug = 0.8.3
45+ reportlab = 2.7
46+ pytz = 2014.2
47+
48+
49+Example OpenERP 7.0 buildouts
50+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 This example builds the latest nightly OpenERP 7 version.
52 Note how most Python distribution versions are pinned.
53

Subscribers

People subscribed via source and target branches