| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Replaces the custom one which was erroneously added during development.
Fixes #746.
|
|\
| |
| |
| |
| | |
Fix issue with _pretty_size with large numbers of bytes
See merge request BuildStream/buildstream!799
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Split up artifact cache and CAS cache
Closes #659
See merge request BuildStream/buildstream!922
|
| |
| |
| |
| |
| |
| |
| |
| | |
This changes CASCache from a subclass to a delegate object of
ArtifactCache. As the lower layer, CASCache no longer deals with
elements or projects.
Fixes #659.
|
| |
| |
| |
| |
| |
| |
| | |
The artifact cache backend does not affect build outputs and we anyway
no longer have pluggable artifact cache backends. This hardcodes
CASCache instead of removing the entry completely to avoid cache key
changes.
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
Get the artifact cache from the context instead.
|
|\
| |
| |
| |
| | |
dev-requirements: Update pytest dependency to 3.8
See merge request BuildStream/buildstream!930
|
|/
|
|
|
| |
"_frontend/app.py: Set correct element-path in interactive bst-init"
added a dependency on the tmp_path test fixture, which was added by 3.8.
|
|\
| |
| |
| |
| |
| |
| | |
Use less fetchers in overnight build to work-around limitations from servers.
Closes #742
See merge request BuildStream/buildstream!929
|
|/
|
|
|
|
| |
Issue happens with sourceware.org server.
Fixes #742
|
|\
| |
| |
| |
| | |
element.py: Pass bare_directory also to SandboxRemote()
See merge request BuildStream/buildstream!928
|
|/
|
|
| |
Fixes: 825963b5 ("element: Make "--sysroot" take a bare directory")
|
|\
| |
| |
| |
| | |
plugins/sources/pip.py: Accomodate characters '-','.','_' for packages
See merge request BuildStream/buildstream!914
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
_yaml.py: Implement `get()` for `ChainMap`
See merge request BuildStream/buildstream!919
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Since the core Python `ChainMap.get()` implements with:
self[key] if key in self else default
The double-chain-lookup is expensive. This simple change solves that
for our ChainMap derived structure. As such it improves matters
for #466 somewhat.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| |
| |
| | |
BREAK: manual.yaml: don't set any default env vars
Closes #718
See merge request BuildStream/buildstream!916
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the 'MAKEFLAGS' and 'V' defaults.
Now that there is a specialised 'make' element, these make-specific
defaults don't make sense here. This element is meant to be a blank
slate for folks to build on.
Note that this is a breaking change, that will require some users to
make changes to their .bst files if they are expecting these environment
variable to be set.
_versions.py: BST_FORMAT_VERSION bumped to 18.
This fixes issue #718
|
|\
| |
| |
| |
| | |
Remove dependency on pytest-runner
See merge request BuildStream/buildstream!886
|
|/
|
|
|
|
|
|
| |
This includes a new command mimicking pytest-runner so that we
can drop this dependency
This was the only setup_requires dependency that we had and
will make like easier for people behind proxies
|
|\
| |
| |
| |
| | |
_frontend/app.py: Set correct element-path in interactive bst-init
See merge request BuildStream/buildstream!912
|
|/ |
|
|\
| |
| |
| |
| | |
Jonathan/debug remote failed builds
See merge request BuildStream/buildstream!869
|
| |
| |
| |
| | |
This is related to #539
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
i.e. instead of taking a directory that must contain "root" and
"scratch", and treating "root" as the root, use the directory directly.
In element.py:
* __sandbox takes the `bare_sandbox` arg, to pass into the sandbox's constructor
In sandbox.py:
* If bare_sandbox, `_root` is the passed-in directory, and `__scratch`
is None.
* Trying to use `__scratch` when bare_sandbox is True is a bug.
In _mount.py:
* Don't get the value of `__scratch` if it's not needed.
This is part of #539
|
| | |
|
| |
| |
| |
| | |
This is related to #539
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This includes changes in app.py:
* Interactive failure shell no longer uses the failed build sysroot,
defaulting to the cached build tree.
Changes in element.py are:
* Errors caused by building don't store the failed build sysroot,
instead storing that a sandbox can be created to debug the error.
* When staging sources, will stage the element's cached build tree if it
exists.
Changes in _exceptions.py:
* BstError.sandbox is now a flag of whether a sandbox can be opened up
to debug the error.
Changes in widget.py:
* Don't try to print any information about the sandbox.
Changes in _message.py:
* Fix documentation so Message.sandbox is not a directory any more.
This is part of #539
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
We shouldn't need it to persist now that we cache failed build dirs.
This change breaks the test
`tests/integration/shell.py::test_sysroot_workspace_visible`.
I can no longer see a use-case for this test.
AIUI, it tested that the failed build sysroot stored in the builddir has
the workspace's files in, despite the workspace being unmounted.
I believe this behaviour is made redundant by cached buildtrees.
This fixes part of #539
|
|\
| |
| |
| |
| | |
Tristan/architecture docs
See merge request BuildStream/buildstream!907
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Don't close stdout when running 'checkout' to stdout
Closes #486
See merge request BuildStream/buildstream!905
|
| |
| |
| |
| |
| |
| |
| | |
With the new support for saving the stdout FDs cleanly, and binary mode
capture in runcli, enable the tarball-to-stdout test.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|