| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To ensure that we only disable element loading task progress reporting
for very specific code paths, we need to teach the test suite to be a
bit smarter.
For this reason we now mock a _Task object and return it in our mock
context's relevant method invocations.
Other code paths that deliberately invoke the loader without task
reporting now mark their loads with NO_PROGRESS.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
By avoiding this, loading metaelements of junctions becomes cheap even
for junctions with erroneous dependencies, and we can ignore their
task reporting.
Task reporting for junction metaelement loading is confusing, since
the junction element itself will never be part of the pipeline, so
we'd rather not have this show up as an actual loaded element.
Elements loaded from the junction are loaded separately, therefore
this does not affect their progress display.
|
|\
| |
| |
| |
| | |
Gracefully fallback to fetching source if remote doesn't have every blob cached
See merge request BuildStream/buildstream!1635
|
| |
| |
| |
| |
| |
| | |
If a remote has some missing blobs for a source, we should not fail
abruptly but instead continue to the next remote, and, in the worst
case, fetch the source again.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Extract the configuration of the BuildStream cli as it is every
time the same into a separate function.
This helps seeing what is setup of the tests and what is the actual
test itself.
|
| |
| |
| |
| |
| |
| | |
All tests in this file use the same method for creating an element.
It is easier to write new tests to have this factored out.
|
| |
| |
| |
| |
| | |
This removes the need of having a hardcoded element name, by simply
reusing the 'element_name' variable.
|
|/
|
|
| |
This method can be reused and shared, and makes the tests more readable.
|
|\
| |
| |
| |
| | |
setup.cfg: make xfails strict by default
See merge request BuildStream/buildstream!1632
|
| |
| |
| |
| | |
tests: remove strict kwargs from xfail marks
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
_fuse/mount.py: Monitor the fuse process while waiting for the mount
Closes #1158
See merge request BuildStream/buildstream!1634
|
|/
|
|
|
|
|
|
|
|
|
| |
In some cases, users might not have permissions to use fuse, or fuse
might crash.
This was previously leading to a hanged process and, with chance an
error message on the UI, which could be overwritten.
This ensures we are explicitely monitoring the fuse process while
waiting and adds better reporting of the fuse errors.
|
|\
| |
| |
| |
| |
| |
| | |
.gitlab-ci.yml: Bump versions for overnight tests
Closes #1090
See merge request BuildStream/buildstream!1631
|