Plugin and devfile registry will fail to build if any line ends in tab character #15507
Labels
area/devfile-registry
area/plugin-registry
kind/bug
Outline of a bug - must adhere to the bug report template.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
severity/P2
Has a minor but important impact to the usage or development of the system.
Describe the bug
Due to an open issue with
PyYAML
(which is the main dependency ofyq
), any yaml files in registries that end in tab characters will cause builds to fail.Expected behavior
The yaml reference parser does not have an issue with trailing tabs, so this appears to be a
PyYAML
issue, but it's probably good practice to avoid trailing whitespace in meta.yamls anyways. It would be great to have a linter of some sort check for e.g. 1) file ends in newline and 2) no trailing whitespace on PRs.Additional context
See #15483 for our initial encounter with the issue.
The text was updated successfully, but these errors were encountered: