| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
When the package and project have the same name, it can be a little
confusing what these things actually mean. This commit makes it a bit
more obvious that the two can (and will often) be different.
|
|\
| |
| |
| |
| | |
_frontend/status.py: Complete names when rendering dynamic queue status
See merge request BuildStream/buildstream!1666
|
|/
|
|
|
|
|
| |
At somepoint action_name instead of complete_name started to be
rendered to the user for the dynamic list of queue status reports.
As we now have more of a UI seperation between 'Artifact' & 'Source'
tasks, it also makes sense to reflect these actions in this output.
|
|\
| |
| |
| |
| | |
pickle `first_pass_config` factories
See merge request BuildStream/buildstream!1654
|
| | |
|
| |
| |
| |
| |
| | |
Note that for multiple-pass setups, i.e. where we have junctions, we
also have to pickle things that belong to the 'first_pass_config'.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove the need for plugins to find and return the factory they came
from. Also take the opportunity to combine source and element pickling
into a single 'plugin' pickling path.
This will make it easier for us to later support pickling plugins from
the 'first_pass_config' of projects.
|
|/
|
|
| |
It turns out we don't even need it once.
|
|\
| |
| |
| |
| | |
Prepare NEWS for 1.91.2 snapshot release
See merge request BuildStream/buildstream!1668
|
|/
|
|
|
| |
Prepare NEWS file for next development snapshot release. There hasn't
been any breaking changes since last snapshot.
|
|\
| |
| |
| |
| |
| |
| | |
tests/sources/keytest: Ensure element state is updated as expected
Closes #1179
See merge request BuildStream/buildstream!1664
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
tests: remove mark.in_subprocess, create_cas_usage_monitor
See merge request BuildStream/buildstream!1661
|
| |
| |
| |
| |
| | |
We don't need this in subprocesses, and it doesn't pickle, so don't try
to. Make sure we get an error if we do try to use it in subprocesses.
|
| |
| |
| |
| |
| |
| |
| | |
Now that we don't use mark.in_suprocess in our tests anymore, we don't
need to suppress creating _CASCacheUsageMonitor.
This was introduced in 9c2bbe3c3871db3a33f81e48987f6d473f97b136
|
|/
|
|
|
| |
It seems we don't need this anymore, thanks to cleaning up gRPC
background threads.
|
|\
| |
| |
| |
| | |
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.
|