diff options
author | Jürg Billeter <j@bitron.ch> | 2019-06-26 15:59:21 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-06-27 10:46:27 +0200 |
commit | 868ff50c721164a9c24e076e163bed02145c4624 (patch) | |
tree | 3cf24ec870b0d6a14a909c3c816415253c475935 /src/buildstream/_frontend | |
parent | af033797ccaaf27d6e30748416dbdd2284249006 (diff) | |
download | buildstream-868ff50c721164a9c24e076e163bed02145c4624.tar.gz |
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.
Diffstat (limited to 'src/buildstream/_frontend')
-rw-r--r-- | src/buildstream/_frontend/cli.py | 5 |
1 files changed, 1 insertions, 4 deletions
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) |