Add the ability to filter which properties get imported when we do an
include. We add a new YAML form for this:
include:
- name: other.yaml
property-blocklist:
- prop-to-block
or
include:
- name: other.yaml
property-allowlist:
- prop-to-allow
These lists can intermix simple file names with maps, like:
include:
- foo.yaml
- name: bar.yaml
property-allowlist:
- prop-to-allow
And you can filter from child bindings like this:
include:
- name: bar.yaml
child-binding:
property-allowlist:
- child-prop-to-allow
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
|
||
|---|---|---|
| .. | ||
| allow-and-blocklist-child.yaml | ||
| allow-and-blocklist.yaml | ||
| allow-not-list.yaml | ||
| allowlist.yaml | ||
| block-not-list.yaml | ||
| blocklist.yaml | ||
| empty-allowlist.yaml | ||
| empty-blocklist.yaml | ||
| filter-child-bindings.yaml | ||
| include-2.yaml | ||
| include-invalid-keys.yaml | ||
| include-invalid-type.yaml | ||
| include-no-list.yaml | ||
| include-no-name.yaml | ||
| include.yaml | ||
| intermixed.yaml | ||
| README.rst | ||
This directory contains bindings used to test the 'include:' feature.