-
bc111ff9
by Richard Maw
at 2018-12-11T17:55:23Z
element: Add BST_STAGE_INTEGRATES Element flag
This commit introduces BST_STAGE_INTEGRATES as a compatibility flag,
so Elements can set it to false
to signal that integrate_dependency_artifacts should be called.
This will be needed to implement staging multiple elements,
since the integration commands for all elements need to be called
after all dependencies are staged.
-
6b9a93fd
by Richard Maw
at 2018-12-11T17:55:24Z
element: use BST_STAGE_INTEGRATES in prepare_sandbox and assemble
This ensures Element.integrate_dependency_artifacts is called after stage
when BST_STAGE_INTEGRATES hasn't been set to False.
-
173adb7d
by Richard Maw
at 2018-12-11T17:55:24Z
scriptelement: Skip integration in stage if BST_STAGE_INTEGRATES not set
This takes the liberty of splitting the layout handling code paths
into separate methods to reduce the amount of nested conditionals
with the aim of improving readability.
-
5e579264
by Richard Maw
at 2018-12-11T17:55:24Z
elements: Port build and script kinds to BST_STAGE_INTEGRATES
This is mostly just marking which elements work as expected
from changes to their base class.
Junction and Filter elements expect overriding stage to be sufficient
to prevent it doing anything in those contexts,
and since we're not intending to deprecate BST_STAGE_INTEGRATES elements
there's no harm in them continuing to do so
when they aren't expected to work in contexts we require
BST_STAGE_INTEGRATES to be False.
-
621622ff
by Richard Maw
at 2018-12-11T17:55:24Z
tests: Fix stage method signature of Element plugins
-
98728c1c
by Richard Maw
at 2018-12-11T17:55:24Z
_stream: Move shell logic from Element and support multiple elements
There's redundancy in pre-staging sandbox creation logic
with Element._sandbox doing something similar,
but hopefully not too much.
-
83dc3083
by Richard Maw
at 2018-12-11T17:55:24Z
element: Remove dead _shell method
-
2f7eaa3a
by Richard Maw
at 2018-12-11T17:55:24Z
cli: Support multiple elements in `bst shell`
-
2be24aae
by Richard Maw
at 2018-12-11T17:55:24Z
tests: Move integration.bst to subdirectory
-
4a8ec931
by Richard Maw
at 2018-12-11T17:55:24Z
tests: Test multiple-element runtime and workspace shells
-
1ccf3b7e
by Richard Maw
at 2018-12-11T17:55:24Z
Add to NEWS
-
1b2c455f
by Richard Maw
at 2018-12-11T17:55:24Z
DROPME: Hobble test suite