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

Feature Request: Parse Configuration from File #1921

Open
jpfr opened this issue Jul 13, 2018 · 0 comments
Open

Feature Request: Parse Configuration from File #1921

jpfr opened this issue Jul 13, 2018 · 0 comments
Labels
help wanted Type: Enhancement Describes a feature request or addition of new functionality

Comments

@jpfr
Copy link
Member

jpfr commented Jul 13, 2018

Changing the configuration currently requires rebuilding from source.
This is not ideal for wide-spread deployment.

It would be great to have a configuration file format for clients and servers.
Then we could have another config "factory" that takes a file as the input.

For example based on the TOML format for configuration files:
https://github.com/toml-lang/toml

There exists an implementation in C99 (MIT) that does the heavy lifting for parsing.
The config values can then be extracted as hostname = toml_raw_in(server, "host"); or similar.
https://github.com/cktan/tomlc99

@jpfr jpfr added Type: Enhancement Describes a feature request or addition of new functionality good first issue help wanted labels Jul 13, 2018
@Pro Pro added this to the 0.3 milestone Jul 19, 2019
@Pro Pro removed 0.4 labels Jul 19, 2019
@jpfr jpfr removed this from the 0.3 milestone Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Type: Enhancement Describes a feature request or addition of new functionality
Projects
None yet
Development

No branches or pull requests

2 participants