| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
compression should always be something not None and avoid calling
_get_compression(tar) unless --compression is None
|
|
|
|
|
|
|
| |
Changes made to cli.py and _stream.py in order to support tar
compression. Compression flag has been added, which overrides any file
extensions given. Where no compression or file extension provided,
default to uncompressed .tar.
|
|\
| |
| |
| |
| |
| |
| | |
_frontend/cli.py: Exit with error if output streams are set to nonblocking
Closes #929
See merge request BuildStream/buildstream!1411
|
|/
|
|
|
|
|
| |
This is better than raising a stack trace later on when logging gets
intense with a BlockingIOError.
This fixes #929
|
|\
| |
| |
| |
| | |
Remove some unused code
See merge request BuildStream/buildstream!1455
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Override the base-class method '_mark_changed', instead of declaring a
new unused method that only raises NotImplementedError.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
The {,un}register_exclusive_interest() mechanism is used for this now.
|
| |
| |
| |
| | |
Also document the pre-existing format_versions parameter.
|
| |
| |
| |
| |
| | |
Add shortened local vars to make this statement easier to read and fit
onto one line.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Separate frontend state handling from core state
See merge request BuildStream/buildstream!1409
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Lists of elements should never contain duplicate elements.
This commit also uses the helper to calculate the list of elements
when pulling missing elements in `bst shell`
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It was possible for multiple Queues of the same type to exist.
Currently, there is no desired reason for this to happen.
These changes add an explicit function call to the Scheduler that
destroys the queues, to be used before constructing the next list of
queues to pass into the Scheduler.
It also calls this in all the places before we construct the queues.
Further, it alters Stream.fetch_subprojects because there is currently
no reason why we'd want to preserve the Stream's list of queues before
running.
|
|/
|
|
|
|
|
|
| |
We only seen to generate the list so we can get its length, so it is
more efficient to only store a count of skipped/processed elements.
failed_elements needs to remain a list for the moment, as it's used to
retry a failed element job.
|
|\
| |
| |
| |
| | |
_artifact: rm unused _artifacts member
See merge request BuildStream/buildstream!1454
|
|/ |
|
|\
| |
| |
| |
| | |
_artifact: use win32-compatible named temp file
See merge request BuildStream/buildstream!1440
|
| |
| |
| |
| |
| | |
We are only using the filename of the temporary file here, so use the
wrapper for this use-case.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Avoid a restriction of Windows that prevents us from using both the file
descriptor and the file name of tempfile.NamedTemporaryFile.
Provide a wrapper that only returns the temporary filename, and makes it
easier to be windows-compatible.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Use fedora30 for aarch64 overnigth tests
See merge request BuildStream/buildstream!1327
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
_yaml.pyx: Fix file index checks for synthetic nodes
Closes #1051
See merge request BuildStream/buildstream!1457
|
|/
|
|
| |
Fixes #1051.
|
|\
| |
| |
| |
| |
| |
| | |
Proto based source cache service
Closes #1038
See merge request BuildStream/buildstream!1435
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changes the location of source refs from `cache/cas/refs` to
`cache/sources_protos` and fixes tests that looked in the old reference
place. Source cache now uses the new protocol buffer and grpc methods
defined, for storing locally, and pushing and pulling to remotes.
Part of #1038
|
| |
| |
| |
| | |
Part of #1038
|
| |
| |
| |
| | |
Part of #1038
|
| |
| |
| |
| | |
Part of #1038
|
|/
|
|
| |
Part of #1038
|
|\
| |
| |
| |
| | |
`utils.py`: Make `magic_timestamp` a public variable
See merge request BuildStream/buildstream!1369
|
|/
|
|
|
|
|
| |
Some plugin elements, such as docker-element and tar-element, require
to set `created` and/or `modified` meta-data fields. It would be nice
to use `magic_timestamp` to ensure these fields are being set in a
consistent and deterministic way.
|
|\
| |
| |
| |
| | |
Extract 'Messenger' from 'Context' and use directly
See merge request BuildStream/buildstream!1445
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change the argument name on the 'silence' context manager, to avoid the
interpretation that non-nested messages may be silenced, or that it can
'un-silence' (it can't).
Be more specific about what 'important' means w.r.t. messages.
Require 'actually_silence' to be specified as a keyword, so that
callsites are easier to understand.
|
| |
| |
| |
| | |
Replace the _message_depth list with an int, "_silence_scope_depth".
|
| |
| |
| |
| |
| | |
Simplify by not calling _{push,pop}_message_depth outside of the silence
context manager, let that do the work instead.
|
| | |
|