| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
The "no_prune" argument in Stream.artifact_delete() has
been made an optional keyword argument. This is consistent
with all other Stream methods.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Add a getter for Element's __artifact (Artifact object).
This is required by ArtifactElement. The ArtifactElement should
have access to its Artifact.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
We also need to store the project name of dependencies in
the proto in order to reconstruct the graph.
This also means that we must include the project name of the
dependencies in the cache key, otherwise the proto and the
cache keys may fall out of sync.
|
| |
|
|
|
|
|
| |
We store the build dependency names in the artifact proto. This
should be reflected in the cache key dict.
|
|
|
|
|
|
| |
Only our tests/cachekey tests should test explicit cache keys.
Tests outside of here should determine cache keys using
the appropriate methods.
|
|\
| |
| |
| |
| | |
Move qmake plugin to bst-plugins-experimental
See merge request BuildStream/buildstream!1545
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Ensure push fails when trying to push an unbuilt element
Closes #1095
See merge request BuildStream/buildstream!1524
|
| |
| |
| |
| | |
A test for this has also been added to tests/frontend/push.py
|
|/ |
|
|\
| |
| |
| |
| | |
Move modulebuild plugin to bst-plugins-experimental
See merge request BuildStream/buildstream!1539
|
|/
|
|
| |
Continuing moving plugins over to bst-plugins-experimental.
|
|\
| |
| |
| |
| |
| |
| | |
Cache failed builds caused by missing-command
Closes #1101
See merge request BuildStream/buildstream!1543
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
| |
| |
| |
| |
| |
| |
| |
| | |
So that, should a sandbox be missing a command such as `sh`, we cache
failures to build, ensure that each sandbox which checks for the command
raises SandboxCommandError instead of SandboxError.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|/
|
|
|
|
|
|
|
| |
In order to properly support caching failures to build when a sandbox
is missing a command, we need to permit SandboxCommandError to take a
reason parameter. We default that to that which it previously forced
in order to reduce the need to add a reason code to every raise.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| |
| |
| | |
Don't reset a failed (but cached) workspaced Element
Closes #1096
See merge request BuildStream/buildstream!1536
|
|/
|
|
|
|
|
|
|
|
|
| |
A workspaced element can fail to build, if this happens, we
cache the result as a failure. This patch ensures that we
do not reset the cache data if a workspace has failed to build.
An integration test has also been added which ensures that we
are able to get the log of a failed workspace build.
Closes #1096
|
|\
| |
| |
| |
| |
| |
| | |
Report error when job process unexpectedly dies
Closes #1089
See merge request BuildStream/buildstream!1531
|
|/ |
|
|\
| |
| |
| |
| | |
Move makemaker plugin to bst-plugins-experimental
See merge request BuildStream/buildstream!1538
|
|/
|
|
| |
Continuing moving plugins to bst-plugins-experimental.
|
|\
| |
| |
| |
| | |
Move make plugin to bst-plugins-experimental
See merge request BuildStream/buildstream!1535
|
|/ |
|
|\
| |
| |
| |
| | |
Fix artifact log
See merge request BuildStream/buildstream!1533
|
| |
| |
| |
| |
| |
| |
| |
| | |
This command now fetches the absolute paths of the log files in
the local CAS cache and opens a pager for each path.
The test has also been updated to ensure that a log file is
actually obtained.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
_frontend/app.py: Fixup node._assert_symbol_name() positional args
Closes #1100
See merge request BuildStream/buildstream!1534
|
|/
|
|
|
| |
bst init was failing due to project_name_proc() incorrectly
passing args to the method, remove erroneous None.
|
|\
| |
| |
| |
| | |
Move meson element to bst-plugins-experimental
See merge request BuildStream/buildstream!1532
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Reject elements which have duplicated dependencies
Closes #1077
See merge request BuildStream/buildstream!1528
|
| |
| |
| |
| | |
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When loading an element, if it has duplicated dependencies of any kind
then we reject the element with a LoadError(DUPLICATE_DEPENDENCY). This
means that an element `foo.bst` can only appear once in any given dependency
kind, allowing it to be both `runtime` and `build`, but not either of those
twice, nor either plus `all`, nor `all` twice.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|/
|
|
| |
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| | |
Message rework
See merge request BuildStream/buildstream!1500
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding the element full name and display key into all element related
messages removes the need to look up the plugintable via a plugin
unique_id just to retrieve the same values for logging and widget
frontend display. Relying on plugintable state is also incompatible
if the frontend will be running in a different process, as it will
exist in multiple states.
The element full name is now displayed instead of the unique_id,
such as in the debugging widget. It is also displayed in place of
'name' (i.e including any junction prepend) to be more informative.
|
| |
| |
| |
| |
| |
| | |
Once project & type are resolved, the full_name can be computed
and cached for efficiency. The accessor for getting the private
member should also be moved to the correct section.
|