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
I suggest that the plugin uses a yaml parser that supports the full yaml 1.1 syntax.
The current yamlbeans parser is incomplete and causes confusion when it's not able to parse a valid yaml file, or when it isn't capable handling some yaml tokens (like http://yaml.org/type/merge.html) and it fails silently.
An example use-case:
I use python tooling to validate and query yaml files: yamllint (https://github.com/adrienverge/yamllint) and yq (https://github.com/kislyuk/yq)
Both of those tools are capable of working with valid yaml files that the yamlbeans parser fails to do.
It would make sense to use a yaml parser for Java that actually supports the full extent of the 1.1 syntax to ensure compatibility with other tooling: https://bitbucket.org/asomov/snakeyaml
The text was updated successfully, but these errors were encountered:
Are there plans to do this? being able to user anchors would save a lot of boilerplate that we have in our pipelines, which also makes them prone to inconsistencies.
I suggest that the plugin uses a yaml parser that supports the full yaml 1.1 syntax.
The current yamlbeans parser is incomplete and causes confusion when it's not able to parse a valid yaml file, or when it isn't capable handling some yaml tokens (like http://yaml.org/type/merge.html) and it fails silently.
An example use-case:
I use python tooling to validate and query yaml files: yamllint (https://github.com/adrienverge/yamllint) and yq (https://github.com/kislyuk/yq)
Both of those tools are capable of working with valid yaml files that the yamlbeans parser fails to do.
It would make sense to use a yaml parser for Java that actually supports the full extent of the 1.1 syntax to ensure compatibility with other tooling: https://bitbucket.org/asomov/snakeyaml
The text was updated successfully, but these errors were encountered: