Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What serialization formats could be used? #1

Open
supakeen opened this issue Feb 28, 2024 · 1 comment
Open

What serialization formats could be used? #1

supakeen opened this issue Feb 28, 2024 · 1 comment

Comments

@supakeen
Copy link

Hi, we've started a discussion about making image definitions declarative in the osbuild ecosystem. This is right up the alley of this project.

I'm familiar with kiwi using XML, I'm familiar with osbuild using JSON and I'm familiar with osbuild-composer using TOML. I know @Conan-Kudo has spoken at least semi-favorably about TOML.

Are there any other serialization formats we should/could consider?

I've previously looked into both HCL and UCL but, especially the latter, suffers from not-wide-availability and the former defines no mechanism for inclusions.

@Conan-Kudo
Copy link
Member

While kiwi's base format is XML (and provides a number of advantages on its own), we use the combination of anymarkup and xmltodict to be able to support other markup formats with kiwi (JSON, YAML, and even TOML) built on the XML schema.

It's an interesting model but I think is a very nice one for people who are fine with serialization formats with weaker guarantees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants