summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-07-22 09:41:04 +0200
committerJürg Billeter <j@bitron.ch>2019-08-08 14:38:17 +0200
commit89d5ccc8973766f24356ebc5b5f6ae58e62b0f8f (patch)
tree202ea721a4ae49d52b166052a46460097da252f1
parent0ac027e9c4fece51ca3d5f4deada70cb3fcd06fd (diff)
downloadbuildstream-89d5ccc8973766f24356ebc5b5f6ae58e62b0f8f.tar.gz
cli.py: Require artifact file contents to be present for `bst show`
With blob-based expiry in buildbox-casd, the presence of the artifact proto will no longer be sufficient.
-rw-r--r--src/buildstream/_frontend/cli.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/buildstream/_frontend/cli.py b/src/buildstream/_frontend/cli.py
index 276f81a6a..81ee4ad83 100644
--- a/src/buildstream/_frontend/cli.py
+++ b/src/buildstream/_frontend/cli.py
@@ -496,9 +496,6 @@ def show(app, elements, deps, except_, order, format_):
$'---------- %{name} ----------\\n%{vars}'
"""
with app.initialized():
- # Do not require artifact directory trees or file contents to be present for `bst show`
- app.context.set_artifact_directories_optional()
-
if not elements:
elements = app.project.get_default_targets()