Auto adapt to change of main distribution name

Bug #1332147 reported by Georges Racinet on 2014-06-19
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP buildout recipe

Bug Description

At some point, the name of the main distribution might change from openerp to odoo or even something else in the future.
The recipe is not ready for that yet.

See for instance this pull request :

Since the recipe instrospects, it can read the name from it, and use it in its internal requirement (see merge_requirements() of ServerRecipe) instead of requiring a for now hardcoded 'openerp'

Related branches

Georges Racinet (gracinet) wrote :

Actually it'll be critical the day the name changes, but that's not today.

Changed in anybox.recipe.openerp:
importance: Critical → Medium
status: New → Confirmed
Georges Racinet (gracinet) wrote :

Can wait a bit

Changed in anybox.recipe.openerp:
milestone: 1.8.5 → 1.8.6
Georges Racinet (gracinet) wrote :

It happened :

Surprisingly, the buildout I'm using to test does work. The requirements used internally are wrong anyway (should have 'odoo', not 'openerp') and I'm fixing them right now.

Georges Racinet (gracinet) wrote :

It breaks at least the offline mode:

Couldn't find index page for 'openerp' (maybe misspelled?)
anybox.recipe.openerp.base: Could not find or install 'openerp'. Original exception zc.buildout.UserError says: We don't have a distribution for openerp
and can't install one in offline (no-install) mode.

  Installing odoo.
Error: We don't have a distribution for openerp
and can't install one in offline (no-install) mode.

this "installing odoo" is based on the part name

Georges Racinet (gracinet) wrote :

The recipe should now be insensitive with respect to the project name in Odoo's

Changed in anybox.recipe.openerp:
status: Confirmed → Fix Committed
Georges Racinet (gracinet) wrote :

Another symptom (seen on our buildbot) would have been to fail with:

Installing openerp 8.0
Caused installation of a distribution:
odoo 8.0
with a different project name.
Got None.
  Updating odoo.
Error: There is a version conflict.
We already have: odoo 8.0

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers