diff options
author | Tristan van Berkom <tristan@codethink.co.uk> | 2020-09-04 18:15:09 +0900 |
---|---|---|
committer | Tristan van Berkom <tristan@codethink.co.uk> | 2020-09-18 12:38:49 +0900 |
commit | e135b78d04dd9688c36bcf97de66419e11c3ed46 (patch) | |
tree | 031342b65fd4829d5490f2342e9b6e3ed8ac6109 /NEWS | |
parent | 172c7404b00016cf7358af77b45b9d2a946af301 (diff) | |
download | buildstream-e135b78d04dd9688c36bcf97de66419e11c3ed46.tar.gz |
ScriptElement: Porting to new API
Instead of relying on Element.search(), use Element.configure_dependencies() to
configure the layout.
Summary of changes:
* scriptelement.py:
Change ScriptElement.layout_add() API to take an Element instead of an element name,
this is now not optional (one cannot specify a `None` element).
This is an API breaking change
* plugins/elements/script.py:
Implement Element.configure_dependencies() in order to call ScriptElement.layout_add().
This is a breaking YAML format change.
* tests/integration: Script integration tests updated to use the new YAML format
* tests/cachekey: Updated for `script` element changes
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions