| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
Add `stage_into_directory()` and `stage_into_cas()` public methods.
`stage_into_directory` reimplements `LocalSource.stage()` to import the
source path on the specified directory object. `stage_into_cas()` calls
this after obtaining a `CasBasedDirectory` for the import.
|
| |
|
|\
| |
| |
| |
| | |
setup.cfg: Register mark for pytest-datafiles
See merge request BuildStream/buildstream!1662
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Register the marker for `pytest-datafiles`. This fixes the following
warning that we currently get:
```
.tox/py37-nocover/lib/python3.7/site-packages/_pytest/mark/structures.py:324
/Users/csingh43/buildstream/bst-tmp/.tox/py37-nocover/lib/python3.7/site-packages/_pytest/mark/structures.py:324: PytestUnknownMarkWarning: Unknown pytest.mark.datafiles - is this a typo? You can register custom marks to avoid this warning - for detail
s, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,
```
|
|\
| |
| |
| |
| |
| |
| | |
create usage monitor early
Closes #1176
See merge request BuildStream/buildstream!1659
|
|/
|
|
|
|
| |
tests: manually close channels when interacting with the cache
cascache.py: disable the usage monitor if start method is spawn
|
|\
| |
| |
| |
| | |
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().
|
| | |
|
| | |
|