-
Notifications
You must be signed in to change notification settings - Fork 32
feat: parse config files as yaml #1926
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you clarify my questions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
This is backwards compatible. No changes to existing json files are needed (although yaml features like comments can be added if desired).
|
Looks good to me. |
|
This would also enable us to provide commented sample config files, making admin docs more usable and probably easier to maintain. |
Description
Use yaml to parse all JSON files (fix #1120)
This change is backwards compatible. No changes to existing json files are needed (although yaml features like comments can be added if desired). YAML features like comments can be added in the existing JSON files without changing the filename. If you want editor support for yaml it might be desirable to change the config file suffixes to
.yaml; this is not done by default but is supported through environmental variables (FUNCTIONAL_ACCOUNT_FILEand similar).Motivation
Use of yaml for the jobConfig.yaml file has been convenient. This PR extends that out to other JSON config files.
Fixes
Tests included
Documentation
official documentation info