You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The + and - here could be used on all keywords that could be used as a dict key, like depends_components, depends_filepatterns, disable, enable, ...
The way that how items defined in the + and - matching with the original ones must be flexible. For example, in each if-clause defined under the enable key, we support three keywords: if, temp, reason. if should be the match key here.
For example,
.base: &baseenable:
- if: IDF_VERSION == "5.2.0"
- if: IDF_VERSION == "5.3.0"foo:
<<: *baseenable+:
- if: IDF_VERSION == "5.2.0"temp: true # <-- This line should not be added, since the `if` is the matching key, and the `if` statement is the same.
- if: IDF_VERSION == "5.4.0"reason: bar
The vanilla yaml does not support reuse arrays, the merge only happens with different keys.
Support
+
and-
as postfixes to reuse arrays.Will be interpreted into
The
+
and-
here could be used on all keywords that could be used as a dict key, likedepends_components
,depends_filepatterns
,disable
,enable
, ...The way that how items defined in the
+
and-
matching with the original ones must be flexible. For example, in each if-clause defined under theenable
key, we support three keywords:if
,temp
,reason
.if
should be the match key here.For example,
Will be interpreted into
Create a subpackage
idf_build_apps.yaml
for this new yaml parser. This could be reused elsewhere.The text was updated successfully, but these errors were encountered: