From 868ff50c721164a9c24e076e163bed02145c4624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Wed, 26 Jun 2019 15:59:21 +0200 Subject: Fetch sources as needed for bst source checkout This removes the --fetch option of bst source checkout, always enabling fetch support. This is in line with fetching subprojects as needed. --- src/buildstream/_frontend/cli.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/buildstream/_frontend') diff --git a/src/buildstream/_frontend/cli.py b/src/buildstream/_frontend/cli.py index 53adb188c..bbb9240f4 100644 --- a/src/buildstream/_frontend/cli.py +++ b/src/buildstream/_frontend/cli.py @@ -751,8 +751,6 @@ def source_track(app, elements, deps, except_, cross_junctions): @click.option('--deps', '-d', default='none', type=click.Choice(['build', 'none', 'run', 'all']), help='The dependencies whose sources to checkout (default: none)') -@click.option('--fetch', 'fetch_', default=False, is_flag=True, - help='Fetch elements if they are not fetched') @click.option('--tar', 'tar', default=False, is_flag=True, help='Create a tarball from the element\'s sources instead of a ' 'file tree.') @@ -760,7 +758,7 @@ def source_track(app, elements, deps, except_, cross_junctions): @click.argument('element', required=False, type=click.Path(readable=False)) @click.argument('location', type=click.Path(), required=False) @click.pass_obj -def source_checkout(app, element, location, force, deps, fetch_, except_, +def source_checkout(app, element, location, force, deps, except_, tar, build_scripts): """Checkout sources of an element to the specified location @@ -786,7 +784,6 @@ def source_checkout(app, element, location, force, deps, fetch_, except_, location=location, force=force, deps=deps, - fetch=fetch_, except_targets=except_, tar=tar, include_build_scripts=build_scripts) -- cgit v1.2.1