From fbd159390e97a26f85bb7e8d6284b14bb77083ff Mon Sep 17 00:00:00 2001 From: James Ennis Date: Wed, 9 Jan 2019 12:36:02 +0000 Subject: 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. --- contrib/bst-docker-import | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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 -- cgit v1.2.1