Open asgibson opened 8 months ago
Hey, I've been pretty busy since sending you all the contributor form in January but have more time now to focus on this, and it looks like a good first issue for me to get started on perhaps. I assume that alongside updating default_config.ini
itself I would also have to update how the file is parsed?
Tangentially, does the .ini
data format have any standards? I was looking online and saw that it was used for a lot of Microsoft Windows configurations, but couldn't really find any references other than the python configparser docs. It does look very similar to TOML, has any consideration been given to porting the configuration over to TOML which seems to be much more used in modern-day python/configuration files?
The current section and key names in used by a configuration file are not consistent with each other or necessarily in line with how the values are used in production. Several updates should be performed to clarify usage.
Here are some ideas for the default_config.ini file:
The default_config.ini currently serves as the example that user .ini files should follow. If that usage continues it should include everything, even all optional sections/keys. It may perhaps be better to create a "not for actual use" example for documentation on how to create an OnAIR config file. That example config could either be in addition to or replace the default_config.ini as the template for user's config files.