| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| | |
Add BuildBox backend for sandboxing
See merge request BuildStream/buildstream!951
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This test stage should only be needed while we transistion to the
BuildBox sand box. Once the other test stages switch to use buildbox
from bubble rap then this test stage will be removed.
These test do not include the integration test as thery are not working
correctly in CI.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This test reflects functionality that freedesktop-SDK use's but that bst
was not testing.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Make ChildJobs and friends picklable
See merge request BuildStream/buildstream!1463
|
| |
| |
| |
| |
| |
| |
| |
| | |
If we're running BuildStream tests then pickle child jobs.
This ensures that we keep things picklable, whilst we work towards being
able to support platforms that need to use the 'spawn' method of
starting processes.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pave the way toward supporting the 'spawn' method of creating jobs, by
adding support for pickling ChildJobs. Introduce a new 'jobpickler'
module that provides an entrypoint for this functionality.
This also makes replays of jobs possible, which has made the debugging
of plugins much easier for me.
|
| |
| |
| |
| |
| | |
Make ScalarNode, MappingNode, and SequenceNode pickable by implementing
`__reduce__` for them.
|
| |
| |
| |
| |
| | |
In order to enable the 'spawn' method of creating jobs, make sure that
OptionPool is pickable, otherwise it cannot be sent to the job process.
|
| |
| |
| |
| |
| | |
Make the _platform implementations pickable by moving the nested
_setup_*_sandbox methods up into their enclosing classes.
|
| |
| |
| |
| |
| |
| |
| | |
Store the result of checking for BST_TEST_SUITE in the environment into
the Context. This feels less weird than checking the environment every
time. Note that this cannot replace every instance, as not everything
should have access to the Context.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
.gitlab-ci.yml: Use new freedesktop-sdk with bst2 YAML API changes
Closes #1090
See merge request BuildStream/buildstream!1498
|
|/
|
|
| |
See https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/1560
|
|\
| |
| |
| |
| | |
workspace clobbers sources
See merge request BuildStream/buildstream!1470
|
| |
| |
| |
| |
| |
| | |
This reverts one of the changes in
https://gitlab.com/BuildStream/buildstream/commit/fa70a4299bc97b1f723a8602f6fad1bcc013f17a#11743b796594142e47df22054b99d263d52e28aa_1151_1152
and will be followed in a new issue.
|
| |
| |
| |
| | |
This is only used following key invalidation
|
|/
|
|
| |
add name to sources in cache key dict
|
|\
| |
| |
| |
| |
| |
| | |
Don't remove workspace directory when `--no-checkout` option is given
Closes #1086
See merge request BuildStream/buildstream!1490
|
| |
| |
| |
| |
| |
| | |
Ensure that any changes made by user in an open workspace are not
overridden when calling `bst workspace open` again with `--force` and
`--no-checkout` options.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
When `--no-checkout` flag is used, BuildStream assumes that the target
destination already contain the sources (potentially edited already).
Hence BuildStream must not remove its contents.
Fixes #1086.
---
Also, fix a minor typo in the file that probably doesn't need a commit
of its own.
|
|\
| |
| |
| |
| |
| |
| | |
stream.py: Don't checkout sources in the parent of the location
Closes #1083
See merge request BuildStream/buildstream!1491
|
|/
|
|
|
|
|
|
|
| |
It is incorrect to assume that BuildStream will have write access to the
parent directory of the specified destination. Instead of that, use the
temporary directory of the current context for checking out sources
temporarily.
Fixes #1083.
|
|\
| |
| |
| |
| | |
app: Fix "earily" typo
See merge request BuildStream/buildstream!1488
|
|/ |
|
|\
| |
| |
| |
| | |
_exceptions.py: Align LoadError() parameter ordering
See merge request BuildStream/buildstream!1489
|
|/
|
|
|
|
| |
All of the errors which subclass from BstError have their first
positional argument as message, LoadError should follow this
ordering for consistency.
|
|\
| |
| |
| |
| |
| |
| | |
Mock BST_TEST_SUITE env when running update.py
Closes #1074
See merge request BuildStream/buildstream!1468
|
| |
| |
| |
| | |
Return if there is no result from parsing the element
|
|/
|
|
|
| |
If this is not present in the env the cli will throw an exception
closes #1074
|
|\
| |
| |
| |
| | |
Fixing typos: comand corrected to command
See merge request BuildStream/buildstream!1486
|
|/ |
|
|\
| |
| |
| |
| | |
Store Platform reference in Context instance variable
See merge request BuildStream/buildstream!1480
|
|/
|
|
|
| |
This allows us to remove the platform reset helpers in
tests/conftest.py.
|
|\
| |
| |
| |
| | |
_variables: Fix reporting of missing variable
See merge request BuildStream/buildstream!1485
|
|/
|
|
|
|
|
| |
When the missing variable was not defined, we would get an exception
as a string doesn't contain provenance information.
- Add a test to prevent regression
|
|\
| |
| |
| |
| | |
Optimize downloadable sources
See merge request BuildStream/buildstream!1483
|
| |
| |
| |
| |
| | |
This allows faster access to those two files and reduces the time spent
in their getters by more than 50%, which can be 2-3s on medium projects
|
| |
| |
| |
| |
| | |
This variable is accessed multiple times per run and can be slow on
slow file systems.
|
| |
| |
| |
| | |
This reduces further the runtime of he method by more than 50%
|