projectatomic / nulecule

[UNMAINTAINED] Specification describing a container-based application
209 stars 46 forks source link

Our examples should be using yml not json. #188

Closed cdrage closed 8 years ago

cdrage commented 8 years ago

Within the /spec folder I believe we should be using yaml examples rather than json as it's the go-to format when we do our blog-posting as well as our implementation.

Thoughts?

goern commented 8 years ago

aint that just empty files?

cdrage commented 8 years ago

@goern nah, just most example (nulecule-library, etc.) use .yaml files instead for defining graph, Nulecule, etc. Shouldn't we reflect the spec to be the same?

yaml looks much cleaner imo

goern commented 8 years ago

ah :) actually the Nulecule Specification defines that the formats that could be used are JSON or YAML. What is the rational to remove one of these and reduce freedom of choice?

cdrage commented 8 years ago

For cleaner reading and ease of introduction :) We're not removing it, we'll just convert them to yaml.

edit: we already tell the user they can use ini, yaml or json for Nulecule / graphs / etc.

goern commented 8 years ago

I would like to keep both, as I personally dont like YAML ;)

other opinion?

vpavlin commented 8 years ago

I like YAML:P But I still see the benefit of presenting user with both versions.