| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This contains two changes:
* tests/sources/keytest.py: Ensure that the element state before/after
BuildStream operations is updated as expected. Previously we were just
checking that the command succeeded.
* tests/sources/project_key_test/plugins/sources/key-test.py: Update the
dummy plugin that's used for tests, such that it conforms to the
expectations of a BuildStream source class.
Fixes #1179.
|
|\
| |
| |
| |
| | |
jobpickler: also pickle Digest protos
See merge request BuildStream/buildstream!1652
|
| |
| |
| |
| | |
Now that more tests are passing, enable them.
|
|/
|
|
|
| |
This is now required by some code paths. Also make a generic routine for
pickling / unpickling, as we may be doing more of this.
|
|\
| |
| |
| |
| | |
Enable a subset of `tests-spawn-multiprocessing-start-method`
See merge request BuildStream/buildstream!1650
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allow situations where the start method is already set, this enables us
to use this in testing situations.
Also, print a diagnostic if it's already set to something we didn't
want.
Now this block got more complex, split out into a new function.
Now we're using this string a lot, extract it to a variable, to make
sure we're spelling it correctly everywhere.
|
| | |
|
|/
|
|
| |
Otherwise we won't actually be testing the spawn code path.
|
|\
| |
| |
| |
| | |
element.py: remove unused variable
See merge request BuildStream/buildstream!1658
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
.gitlab-ci.yml: Update bst-plugins-experimental version
Closes #1174
See merge request BuildStream/buildstream!1656
|
|/
|
|
| |
Update to the plugins to work with the new YAML updates.
|
|\
| |
| |
| |
| | |
workspaces via sourcecache MR2.5
See merge request BuildStream/buildstream!1653
|
|/
|
|
|
| |
WorkspaceSource.init_workspace raises an exception so it is no longer
necessary to retain the original source objects of the loaded element.
|
|\
| |
| |
| |
| |
| |
| | |
tox.ini: pin mypy 0.730
Closes #1172
See merge request BuildStream/buildstream!1649
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Workspaces via sourcecache MR 2
Closes #1140
See merge request BuildStream/buildstream!1640
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tracking not needed in reset
* support workspace opening for already open workspaces
remove existing files to preserve behaviour
Add ignore_workspaces kwarg to element loading via Stream().load
Setting this to true will ignore special handling of sources for open
workspaces and load the sources specified rather than a workspace
source. This avoids having to reload elements when re-opening
workspaces.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
NEWS: update release notes for version 1.91.1
See merge request BuildStream/buildstream!1646
|
|/ |
|
|\
| |
| |
| |
| | |
Some tidying up of our yaml API
See merge request BuildStream/buildstream!1644
|
| | |
|
| |
| |
| |
| |
| | |
'strip_node_info' would be useful for multiple plugins. We should
therefore allow users to use it.
|
| |
| |
| |
| | |
Also rename it to 'node_subst_sequence_vars' to mimic 'node_subst_vars'.
|
| | |
|
| |
| |
| |
| | |
This is now unused. An alternative is 'node_subst_vars'.
|
| |
| |
| |
| |
| |
| |
| | |
This is in order to consolidate how we substitute variables.
_project: use 'node_subst_vars' instead of '_subst_list'
as the first one expects a node.
|
|/
|
|
|
|
|
|
|
| |
Previously 'substitute_variable' would take a str, which would prevent
us from doing nice error reporting. Using a 'ScalarNode' allows us
to get our errors nicely.
- rename it to 'node_subst_vars'.
- add a nicer try-except around it in order to get nicer error reporting to users.
|
|\
| |
| |
| |
| | |
testing/.../site: windows-friendly HAVE_OLD_GIT
See merge request BuildStream/buildstream!1643
|
|/ |
|
|\
| |
| |
| |
| | |
Replace is_fork_allowed() with prepare_fork()
See merge request BuildStream/buildstream!1641
|
| |
| |
| |
| | |
This is now handled in Context.prepare_fork().
|
| |
| |
| |
| | |
This is no longer required as gRPC connections are closed before fork.
|
| | |
|
| |
| |
| |
| |
| | |
gRPC channels might be opened after the scheduler has already been
started. Make sure channels are closed right before spawning jobs.
|
| | |
|
| |
| |
| |
| | |
This aligns the method name with has_open_grpc_channels().
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
win32: _platform/win32: add support for win32
See merge request BuildStream/buildstream!1624
|
|/
|
|
|
|
| |
Copy the approach of 'Darwin' and provide a SandboxDummy.
This enables us to run 'bst workspace list' on Windows.
|
|\
| |
| |
| |
| |
| |
| | |
Improve assertions around element loading progress reporting
Closes #1094
See merge request BuildStream/buildstream!1608
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This should be safe now - this particular point turned out to be
involved in loading dependencies of junction elements, rather than
anything in their projects.
This meant that, yes, we were missing progress, however junction
elements are not allowed to have dependencies in the first place, so
we simply short-circuit their load and avoid the problem altogether.
We also added more explicit progress opt-outs, since it's far too easy
to end up with spurious Nones.
|