give access to current profile path and base path in section
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
Imagine a situation:
buildout.cfg (on local machine):
[buildout]
extends = http://
http://
[buildout]
parts = complex
[complex]
recipe = recipe.
source = http://
patch = patch_repositor
The patch is published in http://
Currently it will not work, forcing me to download http://
To not be forced to download I would have to override its location, but then I would need to track remote changes, or in case of many extends, it will make extends unmaintainable.
I'd like to have mechanism, that it would be possible to have a parameter (lets say ${:_profile_
So slave.cfg would look like:
[buildout]
parts = complex
[complex]
recipe = recipe.
source = http://
patch = ${:_profile_
Which would make it work in being remotely extended (or used) and locally downloaded (with patch_repositor
Please see attached implementation proposal and test.