Live data from Hacker News

Make systemd better for Podman with Quadlet

redhat.com

11–20 of 88 posts

Re: Make systemd better for Podman with Quadlet

#11
post #9

Odd choice using systemd syntax willingly when all other industry tools use YAML, IMO

For this, systemd syntax is a lot better than yaml IMO. In fact, I'd prefer if the tools you mentioned used something else besides yaml.

> In fact, I'd prefer if the tools you mentioned used something else besides yaml.

Unfortunately, there norway way that's going happen.

Re: Make systemd better for Podman with Quadlet

#13

Odd choice using systemd syntax willingly when all other industry tools use YAML, IMO

RedHat basically sponsored the development of Systemd (among other things) so their full-throated support isn't surprising

also, fwiw, YAML is a data serialization format, not a configuration format. people who use YAML and pretend it's a config file format are either lazy, incompetent, or both.

Re: Make systemd better for Podman with Quadlet

#15
post #9

Odd choice using systemd syntax willingly when all other industry tools use YAML, IMO

For this, systemd syntax is a lot better than yaml IMO. In fact, I'd prefer if the tools you mentioned used something else besides yaml.

> In fact, I'd prefer if the tools you mentioned used something else besides yaml.

To be fair, most of the popular DevOps tools can work with JSON instead of YAML just fine. And JSON can be easily generated from almost anywhere. I don't think you can work with systemd syntax as easily.

Re: Make systemd better for Podman with Quadlet

#16

Odd choice using systemd syntax willingly when all other industry tools use YAML, IMO

Odd to call it "systemd syntax" when it predates the invention of systemd by a few decades: https://en.wikipedia.org/wiki/INI_file

That's what it's called: https://www.freedesktop.org/software/systemd/man/systemd.syn...

Yes, it's inspired by INI files.

Re: Make systemd better for Podman with Quadlet

#18
post #9

Earlier quoted context omitted.

For this, systemd syntax is a lot better than yaml IMO. In fact, I'd prefer if the tools you mentioned used something else besides yaml.

> In fact, I'd prefer if the tools you mentioned used something else besides yaml. To be fair, most of the popular DevOps tools can work with JSON instead of YAML just fine. And JSON can be easily generated from almost anywhere. I don't think you can work with systemd syntax as easily.

Out of curiosity, do you know any tools that can't use JSON but can use YAML? JSON is supposed to be valid YAML.

Re: Make systemd better for Podman with Quadlet

#19

Odd choice using systemd syntax willingly when all other industry tools use YAML, IMO

RedHat basically sponsored the development of Systemd (among other things) so their full-throated support isn't surprising also, fwiw, YAML is a data serialization format, not a configuration format. people who use YAML and pretend it's a config file format are either lazy, incompetent, or both.

The industry disagrees with your hot take. Configurations will almost always be serialized into some kind of struct, YAML/JSON/TOML/etc work well for this. The neat part is you can use other tools to do the templating to YAML more intelligently, instead of having each tool DIY their own config templating setup.

Re: Make systemd better for Podman with Quadlet

#20

Odd choice using systemd syntax willingly when all other industry tools use YAML, IMO

RedHat basically sponsored the development of Systemd (among other things) so their full-throated support isn't surprising also, fwiw, YAML is a data serialization format, not a configuration format. people who use YAML and pretend it's a config file format are either lazy, incompetent, or both.

Possibly they are deliberately abusive towards their users.
Post reply on HN