Autoinitialization of parts causes parts build order to change if variables are interpolated in other sections
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
zc.buildout-
I have part named "nginx-conf" that refers to a variable defined in part "app": upstream=
Buildout._parts is then used to determine the order that parts are built (L296). I expect the build to run in the order specified in buildout:parts, instead "app" builds immediately after nginx-conf.
I can work around this by putting variables needed in multiple areas in the buildout namespace but it feels like either that should be enforced to prevent unexpected sideeffects(no interpolation of variable across parts), or the actual variable buildout:parts should directly determine run order.