summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2018-12-06 16:18:04 +0000
committerChandan Singh <csingh43@bloomberg.net>2019-02-26 03:05:03 +0530
commit88ace418b0e9d1608b58c78e206d203af8fc6eeb (patch)
tree325fb511046353e29b63d4e151ab304823da5f7f /NEWS
parenta3f68c3d7e0796f1a5c9a5615bf902c805847cd5 (diff)
downloadbuildstream-88ace418b0e9d1608b58c78e206d203af8fc6eeb.tar.gz
loader: Allow dependencies to use ":" to refer to junctioned elements
This will allow cross-junction dependencies to be listed as strings on a single line. As part of this, some logic around initializing `Dependency()` objects have been moved out of `_extract_depends_from_node()` method into the constructor of `Dependency()` class, to keep all related code in one place. * _loader/types.py: While initializing `Dependency` objects, attempt to split filenames, only if no `junction` was specified explicitly. If a `junction` was specified, then filenames with `:` in their names will result in an error. * _loader/loadelement.py: Refactor logic to initialize `Dependency()` objects to move it to the `Dependency()` constructor. * tests/frontend/buildcheckout.py: Add tests to ensure the above. * _versions.py: Bump BST_FORMAT_VERSION. Fixes #809.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions