Sebastian Huber commented on a discussion: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1122#note_146467


With respect to the question, what specifically was the reason for following 
dockers usage of YAML and not what the YAML project does?

The use of build specification items originates in the Doorstop project, which 
uses this code to dump data in YAML format 
(https://github.com/doorstop-dev/doorstop/blob/develop/doorstop/core/base.py#L302):

```python
return yaml.dump(data, default_flow_style=False, allow_unicode=True)
```

This is what the specitems uses 
(https://github.com/specthings/specitems/blob/main/src/specitems/items.py#L667):

```python
def _yaml_save_data(path: str, data: dict) -> None:
    with open(path, "w", encoding="utf-8") as out:
        out.write(yaml.dump(data, default_flow_style=False,
                            allow_unicode=True))
```

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1122#note_146467
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to