summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoscalix <agustin.benito@codethink.co.uk>2018-05-24 21:11:27 +0200
committertoscalix <agustin.benito@codethink.co.uk>2018-05-24 21:11:27 +0200
commita4cd9d7cc929d3c5c23c7fd596210fcbafc0778a (patch)
treeca0d8a635e602e030453eab2822f5611612cf4dc
parent9b261f560d888463a14a0118cbb7f4aaacf11d4b (diff)
parenta06778aa10be8076ecb9c78bbeda3b03a751fa94 (diff)
downloadbuildstream-a4cd9d7cc929d3c5c23c7fd596210fcbafc0778a.tar.gz
Merge branch 'master' of https://gitlab.com/BuildStream/buildstream
bst_task.md : default template also as option. This is the default template. It is neccessary to include it in this directory to have it as option which is required in special cases. This fix issue https://gitlab.com/BuildStream/nosoftware/alignment/issues/12
-rw-r--r--buildstream/plugins/elements/junction.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/buildstream/plugins/elements/junction.py b/buildstream/plugins/elements/junction.py
index df7faf3c5..81fd57445 100644
--- a/buildstream/plugins/elements/junction.py
+++ b/buildstream/plugins/elements/junction.py
@@ -70,6 +70,22 @@ However, junction elements do not produce any artifacts, which means that
they cannot be built or staged. It also means that another element cannot
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 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`.
+
+
Sources
-------
``bst show`` does not implicitly fetch junction sources if they haven't been