-
Notifications
You must be signed in to change notification settings - Fork 248
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
yaml format for configuration #70
Comments
How much complexity will it add? If it's not an intrusive change, I think we're open to it. |
At first we need to check the file extension and adding a I think it's not a big thing to implement. Lines 74 to 87 in 6526149
For the encoding need only to add some yaml keys. These keys you still defined for json. for example... Lines 21 to 48 in 01dd92f
i can start implementing this feature... |
I'm closing this issue because it isn't feasible. Checkup relies on json.RawMessage to pass parts of the configuration without schema to it's plugins (storage, check and notifier). Yaml decoding doesn't have the concept of a rawMessage, or a standard library parser for it. Upstream issue: go-yaml/yaml#13 |
if the config can be written in yaml, it's possible to write comments or comment out some parts of the configuration.
do you accept a pull request for that?
The text was updated successfully, but these errors were encountered: