-
6fcfa452
by Jonathan Maw
at 2018-12-03T13:21:05Z
_yamlcache.py: Use a project's junction name if present
This is required because if there are projects with the same name
loaded, that have elements in the same path, with the same contents,
they are considered the same, despite actually belonging to different
Projects.
This fixes buildstream issue #795
-
d0f9c724
by James Ennis
at 2018-12-03T13:21:05Z
tests/loader/junctions.py: Test that we can build a junction that is referred differently, twice.
Test required to close #795 - We should be able to build a project which refers
to the same junction twice, but with two different filenames.
-
f7581026
by Jürg Billeter
at 2018-12-03T16:27:03Z
Merge branch 'jonathan/fix-identical-element' into 'master'
_yamlcache.py: Use a project's junction name if present
Closes #795
See merge request BuildStream/buildstream!980
-
8b89d618
by Richard Maw
at 2018-12-10T17:56:37Z
dev-requirements: Bump pytest requirement for tmp_path
tmp_path was actually introduced in the 3.9.x series,
but it slipped by when the pytest version was bumped before
by pip opting to fetch a version which was newer than necessary.
-
55259205
by Richard Maw
at 2018-12-10T17:56:37Z
manual.py: Add BST_VIRTUAL_DIRECTORY flag
-
5edd3f5b
by Richard Maw
at 2018-12-10T17:56:37Z
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.
-
5edb1c95
by Richard Maw
at 2018-12-10T17:56:37Z
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.
-
b1112e53
by Richard Maw
at 2018-12-10T17:56:37Z
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.
-
fd1730c0
by Richard Maw
at 2018-12-10T17:56:37Z
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.
-
2eaff4fa
by Richard Maw
at 2018-12-10T17:56:37Z
tests: Fix stage method signature of Element plugins
-
66eac40a
by Richard Maw
at 2018-12-10T17:56:37Z
_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.
-
5844f941
by Richard Maw
at 2018-12-10T17:56:37Z
element: Remove dead _shell method
-
e4ecea34
by Richard Maw
at 2018-12-10T17:56:37Z
cli: Support multiple elements with -e option
-
b01c3f02
by Richard Maw
at 2018-12-10T17:56:37Z
tests: Move integration.bst to subdirectory
-
df5f304e
by Richard Maw
at 2018-12-10T17:56:38Z
tests: Test multiple-element runtime and workspace shells
-
690ffe71
by Richard Maw
at 2018-12-10T17:56:38Z
Add to NEWS