RTEMS | spec/build: reformat all yaml files (!1122)
Amar Takhar (@amar)
gitlab at rtems.org
Fri Mar 20 03:39:18 UTC 2026
Amar Takhar commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1122#note_146484
All that needs to be recognised here is that doorstop and RTEMS do not follow the official YAML format. This is a custom format created by the `kubernetes` (sorry i've been saying docker!) project. I would like for us to use the official YAML format.
Our yamlfmt as I said above has a custom entry to allow for this non-default behaviour:
* `indentless_arrays: true`
This makes it non standard. In fact we were forced to use `yamlfmt` because it was one of the very few that even allow non indented arrays.
* https://github.com/prettier/prettier/issues/12385#issuecomment-1147958026
Good example is that prettier does not support this. For projects that use prettier it's a different format.
We should use one and the common way to use YAML is indented arrays.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1122#note_146484
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260320/004cd66e/attachment.htm>
More information about the bugs
mailing list