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

included configs allow yaml #721

Open
yosefy opened this issue Nov 22, 2023 · 7 comments
Open

included configs allow yaml #721

yosefy opened this issue Nov 22, 2023 · 7 comments

Comments

@yosefy
Copy link

yosefy commented Nov 22, 2023

for now i see that i can't include yaml conf as in logs it try to parse it as json
is it possible to include yaml too?

thanks

@MNeill73
Copy link

MNeill73 commented Nov 22, 2023 via email

@yosefy
Copy link
Author

yosefy commented Nov 26, 2023

yes but main script is yaml, but included can be only json
so it is exactly the state now MNeill73

@bugy
Copy link
Owner

bugy commented Nov 27, 2023

Good point @yosefy, I guess we missed this scenario, when added support for yaml files.

@bugy
Copy link
Owner

bugy commented Nov 27, 2023

@MNeill73 thanks for sharing the feedback. As @yosefy said, yaml files are already supported, so allowing them in include seems logical.
The thing is, that many script server users (admins) are not very technical, and even learning json format is a struggle for some of them. So if they already know yaml, I think it's better to make script server a bit more user friendly for them. Though you have a good concern

@yosefy
Copy link
Author

yosefy commented Nov 27, 2023

thanks bugy

also, can we just may be allow yaml in main config too?

not urgent at all but to be consistent

also it is pain, that there are no comments in json :)

@bugy
Copy link
Owner

bugy commented Nov 27, 2023

@yosefy what do you mean "in main config" ?

also it is pain, that there are no comments in json :)

I think you can use comments in script server json. #415

@yosefy
Copy link
Author

yosefy commented Nov 27, 2023 via email

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

No branches or pull requests

3 participants