summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins/elements
diff options
context:
space:
mode:
authorBenjamin Schubert <bschubert15@bloomberg.net>2019-11-25 17:22:52 +0000
committerBenjamin Schubert <bschubert15@bloomberg.net>2019-11-25 18:34:43 +0000
commita9286616a31304ae4a75f598bec3430c1a06426d (patch)
treed66aff9bc1693b581ba174e9dca735df66d960a3 /src/buildstream/plugins/elements
parente516e1c065b5129630fd62c2115be1ea8bd7d658 (diff)
downloadbuildstream-a9286616a31304ae4a75f598bec3430c1a06426d.tar.gz
_stream.py: Remove dead code and comments about tracking
We don't have many of the `--track` options anymore, so we can remove handling for them in parts of the code that don't need it.
Diffstat (limited to 'src/buildstream/plugins/elements')
-rw-r--r--src/buildstream/plugins/elements/junction.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/buildstream/plugins/elements/junction.py b/src/buildstream/plugins/elements/junction.py
index 42b9ef08e..f0fcdcdfd 100644
--- a/src/buildstream/plugins/elements/junction.py
+++ b/src/buildstream/plugins/elements/junction.py
@@ -96,18 +96,9 @@ depend on a junction element itself.
.. note::
- BuildStream does not implicitly track junction elements. This means
- that if we were to invoke: `bst build --track-all ELEMENT` on an element
- which uses a junction element, the ref of the junction element
- will not automatically be updated if a more recent version exists.
-
- Therefore, if you require the most up-to-date version of a subproject,
- you must explicitly track the junction element by invoking:
- `bst source track JUNCTION_ELEMENT`.
-
- Furthermore, elements within the subproject are also not tracked by default.
- For this, we must specify the `--track-cross-junctions` option. This option
- must be preceeded by `--track ELEMENT` or `--track-all`.
+ Elements within the subproject are not tracked by default when running
+ `bst source track`. You must specify `--cross-junctions` to the track
+ command to explicitly do it.
Sources