summaryrefslogtreecommitdiff
path: root/buildstream/_frontend
diff options
context:
space:
mode:
authorPhil Dawson <phil.dawson@codethink.co.uk>2018-11-19 09:33:17 +0000
committerPhil Dawson <phil.dawson@codethink.co.uk>2018-12-12 14:43:40 +0000
commit85c61894d8871f6096fbd164280eb529981b40c6 (patch)
treecdbf5f7a621478d6043834939ce47c6aee7c8d9f /buildstream/_frontend
parentc2efeba064f30c9bdbb4e370b1911dc50a78ff9b (diff)
downloadbuildstream-85c61894d8871f6096fbd164280eb529981b40c6.tar.gz
Remove source bundle command
This is part of the work towards #672
Diffstat (limited to 'buildstream/_frontend')
-rw-r--r--buildstream/_frontend/cli.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/buildstream/_frontend/cli.py b/buildstream/_frontend/cli.py
index 46d598837..f2f87e721 100644
--- a/buildstream/_frontend/cli.py
+++ b/buildstream/_frontend/cli.py
@@ -915,34 +915,3 @@ def workspace_list(app):
with app.initialized():
app.stream.workspace_list()
-
-
-##################################################################
-# Source Bundle Command #
-##################################################################
-@cli.command(name="source-bundle", short_help="Produce a build bundle to be manually executed")
-@click.option('--except', 'except_', multiple=True,
- type=click.Path(readable=False),
- help="Elements to except from the tarball")
-@click.option('--compression', default='gz',
- type=click.Choice(['none', 'gz', 'bz2', 'xz']),
- help="Compress the tar file using the given algorithm.")
-@click.option('--track', 'track_', default=False, is_flag=True,
- help="Track new source references before bundling")
-@click.option('--force', '-f', default=False, is_flag=True,
- help="Overwrite an existing tarball")
-@click.option('--directory', default=os.getcwd(),
- help="The directory to write the tarball to")
-@click.argument('element',
- type=click.Path(readable=False))
-@click.pass_obj
-def source_bundle(app, element, force, directory,
- track_, compression, except_):
- """Produce a source bundle to be manually executed
- """
- with app.initialized():
- app.stream.source_bundle(element, directory,
- track_first=track_,
- force=force,
- compression=compression,
- except_targets=except_)