Extends option does not expand variables

Bug #680489 reported by claytron
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Buildout
New
Undecided
Unassigned

Bug Description

URLs in the extends option are not expanded to use buildout variables. Here is an example that does not work.

[buildout]
plone-version = 4.0.1
extends = http://dist.plone.org/release/${:plone-version}/versions.cfg

This will result in an error saying that the literal address does not exist.

Revision history for this message
Benoît Bryon (benoit.bryon) wrote :

I am experiencing the same issue.

Version of buildout: 1.5.2.

My use case is to extend configuration files from various locations within the buildout directory.
As an example, with 3 files:

* buildout.cfg, which extends etc/buildout/project.cfg. Works fine.
* etc/buildout/project.cfg, which extends src/project/base.cfg.

  * fails if I use "extends = ${buildout:directory}/etc/buildout/versions.cfg".
  * works if I use "extends = ../../etc/buildout/versions.cfg", but I'd prefer rely on ${buildout:directory} than use relative paths.

* and src/project.base.cfg, no matter what it does.

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

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.