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

implement yaml schema for settings file validation #8

Open
alexg9010 opened this issue Mar 22, 2024 · 1 comment
Open

implement yaml schema for settings file validation #8

alexg9010 opened this issue Mar 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@alexg9010
Copy link
Member

Let's implement yaml schema for each of our settings files. Validation could be built into the pipelines. Maybe we could provide a simple website to upload the file and flag problems during verification.

Ideas and Tools:

@alexg9010 alexg9010 added the enhancement New feature or request label Mar 22, 2024
@rekado
Copy link
Member

rekado commented Mar 22, 2024

This may be a good opportunity to revisit the yaml decision.
We did that because we hoped users would find it less confusing, but in practice we ended up with lots of problem reports that are down to syntax.

I suggest revisiting this decision and evaluating toml or plain old JSON. JSON would be the most straight-forward because yaml is a superset of JSON (if you squint). Meaning: we can use JSON already with no changes to the pipelines.

JSON has fewer moving parts, much less ambiguity, so ... as you can tell I'd jump at the opportunity to bury yaml and move on to greener pastures.

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

No branches or pull requests

2 participants