| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
|
|
|
|
|
|
|
| |
* Enhanced the base Job class to bookkeep which jobs have
been terminated, and to consider them as `skipped` when
asked via the `skipped` property.
* Enhanced the base Queue class to bookkeep the job statuses
more carefully.
This fixes #479
|
|\
| |
| |
| |
| | |
CAS: Implement BatchUpdateBlobs support
See merge request BuildStream/buildstream!844
|
| |
| |
| |
| |
| |
| |
| | |
This uses BatchUpdateBlobs instead of individual blob upload to speed up
artifact pushing, if the server supports it.
Fixes #677.
|
| |
| |
| |
| | |
Fixes #676.
|
|/
|
|
|
|
|
| |
Refactor the push() and pull() implementations so that API additions
needed for remote-execution is made easier.
https://gitlab.com/BuildStream/buildstream/issues/454
|
|\
| |
| |
| |
| | |
fix status messages (1.2)
See merge request BuildStream/buildstream!846
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The source fetchers might be a list or a generator, when it is
a generator (like the git source does), then we want to ensure that
we silence the status messages which might occur as a result of
consuming a source fetcher from the generator.
This fixes the logs to be less verbose.
|
|/
|
|
| |
This will take care of silencing the status messages while checking submodules.
|
|\
| |
| |
| |
| | |
_artifactcache/cascache.py: Use BatchReadBlobs
See merge request BuildStream/buildstream!838
|
| |
| |
| |
| |
| |
| |
| | |
This uses BatchReadBlobs instead of individual blob download to speed up
artifact pulling, if the server supports it.
Fixes #554.
|
| |
| |
| |
| |
| | |
Use 1 MiB as payload size limit on the server side for both individual
downloads and batch uploads.
|
| |
| |
| |
| |
| | |
gRPC can handle 1 MiB payloads. Increase size limit from 64 KiB to speed
up uploads.`
|
| |
| |
| |
| |
| |
| |
| |
| | |
This adds directory objects to the local repository before downloading
files in the directory. However, artifact references are still stored
only after downloading the complete directory and thus, there won't be
dangling references. This will anyway be required for partial download
support.
|
| | |
|
| |
| |
| |
| |
| |
| | |
* Rename tree to dir_digest to make it clear this is a Digest object,
and not a Tree object.
* Add documentation
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Rename it to _commit_directory() because… it is what it does; and
also for symmetry with _fetch_directory().
* Rename digest to dir_digest to make it clear this is a digest for a
directory. A following commit will also reuse the same variable name
* Document method.
|
|/
|
|
|
| |
We want to check if some file is already cached here, not the parent
directory.
|
|\
| |
| |
| |
| | |
Backport to 1.2: Fix outside-of-project check when project path is not canonical.
See merge request BuildStream/buildstream!834
|
|/
|
|
|
|
|
|
|
| |
The issue happens on Silverblue where /home is a symlink to /var/home.
With this element-path is something like
/var/home/user/project/elements, when the project path is
/home/usr/project. Comparing canonical paths solves the issue.
Fixes #673
|
|
|
|
| |
The current one doesn't build due server being down.
|
|\
| |
| |
| |
| | |
CI: test building freedesktop-sdk overnight
See merge request BuildStream/buildstream!827
|
|/
|
|
| |
Closes #514.
|
| |
|
|\
| |
| |
| |
| | |
_frontend/app.py: Remove leftover blessings import
See merge request BuildStream/buildstream!821
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
source.py: Fix re-instantiation
See merge request BuildStream/buildstream!816
|
|/
|
|
|
|
|
|
|
|
| |
This fixes an issue where the re-instantiated Source used with
Source mirroring enabled is not completely initialized.
Failing to load the ref from the project.refs file for instance,
will result in a crash at `fetch` time.
This fixes issue #666
|
|\
| |
| |
| |
| | |
_artifactcache/casserver.py: Implement BatchReadBlobs
See merge request BuildStream/buildstream!814
|
| |
| |
| |
| | |
Fixes #632.
|
|/ |
|
|\
| |
| |
| |
| | |
Backport skipped reword (!765)
See merge request BuildStream/buildstream!810
|
| |
| |
| |
| |
| |
| |
| | |
Both pulling and pushing INFO messages are now status messages.
Calls to the messaging API through `self.context.message()` have now
been switched to `element.info`.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Pulled/Pushed messages will no longer be produced from within
element.py, instead they will be produced during CasCache push() and
pull() appropriately.
Message consistency has also been improved.
|
| |
| |
| |
| |
| | |
This removes the timed_activity for an element _push action. This is
unnecessary as the job is already being timed elsewhere.
|
| |
| |
| |
| |
| | |
Adds a test to ensure that BuildStream alerts the user of a skipped push
when the remote already has the artifact cached.
|
|/
|
|
|
|
|
|
|
|
| |
The SKIPPED message type is now used to indicate the end of a task which
was successful without having to perform the given task.
This overhauls the use of `Queue.done()` and therefore queues do not
need to provide a processed/skipped return value from `done()`. Instead
this is replaced with the action of raising a `SkipJob` exception from
within `Queue.process()`.
|
|\
| |
| |
| |
| | |
_frontend/status.py: Completely remove the blessings dependency from BuildStream
See merge request BuildStream/buildstream!809
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This actually improves reliability of the status bar because we
now disable it completely in the case that not all of the terminal
escape sequences are supported on the given terminal.
This replaces the few functions we were using, to move the cursor
up one line, move it to the beginning of the line, and to clear a
line, with low level functions provided by the curses module in
the standard library.
This change makes it easier for downstream distro package maintainers
to package BuildStream, particularly on Fedora.
Asides from changing _frontend/status.py, this commit includes the
following changes:
* _frontend/app.py: Use python isatty() function to determine if
we are connected to a tty, instead of relying
on blessings.
* setup.py: Remove the dependency on blessings.
|
|\
| |
| |
| |
| | |
Fix artifact config crash (1.2)
See merge request BuildStream/buildstream!805
|
| |
| |
| |
| |
| | |
Test that we get the expected error when configuring a client-cert
without client-key, or the inverse.
|
|/
|
|
|
|
|
|
|
|
| |
mal-specified
When configuring a push remote and specifying either the client-cert
or the client-key, then both must be specified. This ensures we
get an informative error instead of a stack trace and BUG.
Fixes issue #625
|
|\
| |
| |
| |
| | |
Fix override options 1.2
See merge request BuildStream/buildstream!803
|
| |
| |
| |
| | |
This is a regression test for issue #658
|
|/
|
|
|
|
|
|
|
| |
This ensures that option expressions are resolved in the project
level overrides before attempting to composite them on the instantiated
elements. Seems this is a regression from introducing the include
directive.
This fixes issue #658
|
|
|
|
|
|
| |
Somehow I missed this when originally forking the file from the click
library, now noticing that we should have followed what was written
in: https://github.com/pallets/click/blob/master/LICENSE
|
|\
| |
| |
| |
| | |
Backport of !678 (Add validation of configuration variables) to 1.2 branch.
See merge request BuildStream/buildstream!789
|
| | |
|
| |
| |
| |
| | |
Ensure that protected variables are not being redefined by the user.
|
| |
| |
| |
| |
| | |
And remove then from the defaults as they are dynamically set by
BuildStream.
|