summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2019-01-09 12:36:02 +0000
committerJames Ennis <james.ennis@codethink.com>2019-01-22 12:32:43 +0000
commitfbd159390e97a26f85bb7e8d6284b14bb77083ff (patch)
tree78eb6130d68ceedca256fc6f71f6c19d645abe64 /contrib
parent9eefe8634a95f181593f4f4b3b18564dd0fa0693 (diff)
downloadbuildstream-fbd159390e97a26f85bb7e8d6284b14bb77083ff.tar.gz
Mark 'old' checkout command as obsolete
This commit marks 'bst checkout' as a 'hidden' command. If used, the user will be prompted to use the new 'bst artifact checkout' command. All tests which used 'bst checkout' have been modified to use the new artifact sub-command. This partially solves #822.
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/bst-docker-import2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bst-docker-import b/contrib/bst-docker-import
index 2a853a077..3b6e326c0 100755
--- a/contrib/bst-docker-import
+++ b/contrib/bst-docker-import
@@ -90,7 +90,7 @@ element="$1"
checkout_tar="bst-checkout-$(basename "$element")-$RANDOM.tar"
echo "INFO: Checking out $element ..." >&2
-$bst_cmd checkout --tar "$element" "$checkout_tar" || die "Failed to checkout $element"
+$bst_cmd artifact checkout "$element" --tar "$checkout_tar" || die "Failed to checkout $element"
echo "INFO: Successfully checked out $element" >&2
echo "INFO: Importing Docker image ..." >&2