-
Notifications
You must be signed in to change notification settings - Fork 1
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
Remove readconf.py #8
Comments
Nothing really.
I will either update One thing that definitely won't be supported for now is passing the path to the config file via the command line. That would obviously not be the Elektra way. I have some ideas on how to support multiple configurations, but I still need to find out what works best. Possibly the best idea is to just rely on the |
So we are actually not tied to INI. Maybe we can even use YAML (@sanssecours?)
The maintainer is relaxed about this anyway, see ElektraInitiative/libelektra#1416
Yes. |
If the yaml plugins support everything we need. It would certainly make writing the menus easier (assuming Elektra arrays are mapped to yaml arrays).
It seems not entirely unlikely, that someone is running multiple instances of LCDd on one machine (under different ports). Think of one machine with 2 LCDd instances each setup with a different LCD display and clients connecting to one of the LCDd instances to have them show up on separate LCDs. But that should be possible to setup with the |
I think YAML CPP should support most of what you need. I would currently not recommend any of the other YAML plugins.
Yes, the plugins map YAML sequences to Elektra’s array data type. |
@sanssecours Thank you for your answer! Do you think it is a good idea to start with yamlcpp now and then later migrate to yanlr (or whatever we found to be the best YAML plugin)? |
Since both of those plugins currently use exactly the same YAML mapping, I think migrating between them should – at least in theory – not be a problem at all. |
@kodebach What is the state of readconf.py? |
Somewhere between semi-broken and broken. I never updated it for the high-level API and even for the low-level API it is not fully correct. For now the best way is to manually rewrite the configuration for the Elektra version. For setting up As for drivers, some might require bigger changes than others. For instance the |
Ok, better we remove readconf.py then. |
What does that mean for the user?
Does LCDproc works with old config files?
The text was updated successfully, but these errors were encountered: