summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2018-02-11 15:50:00 +0000
committerJürg Billeter <j@bitron.ch>2018-02-13 04:56:49 +0000
commit7002d25a21a36bee19eb2b6f5ab134118683e10b (patch)
tree700069d4d21ded220215e2b4f265dce600dd35ce
parentecef1319bcd0e10b6ff17019cc298e2d3e5ce880 (diff)
downloadbuildstream-7002d25a21a36bee19eb2b6f5ab134118683e10b.tar.gz
doc: consistent source staging dir doc
All source plugins respond to the 'directory' key, so add the doc for it to those that didn't have it.
-rw-r--r--buildstream/plugins/sources/bzr.py3
-rw-r--r--buildstream/plugins/sources/tar.py3
-rw-r--r--buildstream/plugins/sources/zip.py3
3 files changed, 9 insertions, 0 deletions
diff --git a/buildstream/plugins/sources/bzr.py b/buildstream/plugins/sources/bzr.py
index b3427f835..6bccbfecf 100644
--- a/buildstream/plugins/sources/bzr.py
+++ b/buildstream/plugins/sources/bzr.py
@@ -26,6 +26,9 @@
# Specify the bzr source kind
kind: bzr
+ # Optionally specify a relative staging directory
+ # directory: path/to/stage
+
# Specify the bzr url. Bazaar URLs come in many forms, see
# `bzr help urlspec` for more information. Using an alias defined
# in your project configuration is encouraged.
diff --git a/buildstream/plugins/sources/tar.py b/buildstream/plugins/sources/tar.py
index c5f8a7d31..284554fe1 100644
--- a/buildstream/plugins/sources/tar.py
+++ b/buildstream/plugins/sources/tar.py
@@ -26,6 +26,9 @@
# Specify the tar source kind
kind: tar
+ # Optionally specify a relative staging directory
+ # directory: path/to/stage
+
# Specify the tar url. Using an alias defined in your project
# configuration is encouraged. 'bst track' will update the
# sha256sum in 'ref' to the downloaded file's sha256sum.
diff --git a/buildstream/plugins/sources/zip.py b/buildstream/plugins/sources/zip.py
index b39923df5..dd7fcd0ad 100644
--- a/buildstream/plugins/sources/zip.py
+++ b/buildstream/plugins/sources/zip.py
@@ -27,6 +27,9 @@
# Specify the zip source kind
kind: zip
+ # Optionally specify a relative staging directory
+ # directory: path/to/stage
+
# Specify the zip url. Using an alias defined in your project
# configuration is encouraged. 'bst track' will update the
# sha256sum in 'ref' to the downloaded file's sha256sum.