-
Notifications
You must be signed in to change notification settings - Fork 123
[FLOSS H1] First impressions #4563
Comments
Yes, namespaces could be explained better. Technically, everything is there. Namespaces are separate hierarchies and a cascading lookup checks namespaces in a certain order. What I think is missing is the relation to the resolver. When you ask Elektra for a key like (*) In future other links like databases could be used instead of files, but it's easier to explain with files. If the backend doesn't use files, replace "file" with an appropriate term for the storage unit, e.g. database table. Some namespaces also have special properties,
AFAIK there is no mechanism to do this right now. |
@0x6178656c Thank you, very valuable input!
Yes, I agree (more) examples are very welcome. We can keep the issue open for this (or you create a new one) if you want to work on it (later when it becomes more clear what the namespaces are). I would appreciate it.
Are these configuration files on the same computer (nodes) or on different ones?
What doesn't exist at the moment:
|
I think you missed this part of the question:
The application(s) not knowing about Elektra makes things significantly more complicated.
I wouldn't say that. Handling conflicts between files and doing merging can always be hard. The notification and recording system deals with some of that, but not all of it. |
It still is possible via https://www.libelektra.org/bindings/intercept_fs
👍
With Elektra it is much easier, as the merging is done on key/values. And we have a 3-way merge: |
After playing around with Elektra a bit I think I understand some of the key features.
Clear
Resources
The main resource which helped me understand Elektra was reading the first four of the tutorials.
Unclear
Significance of namespaces
Although I had glimpses of understanding their significance, I still feel that I am missing some concrete examples which highlight the power of the namespace feature.
Syncing of configuration files
One configuration use case I would be interested in, but could not find any documentation on is keeping configuration files in sync.
Say there are two programs, Program A and Program B, with configuration files
config_a.ini
andconfig_b.ini
and that the configuration of some values need to be the same for both programs (e.g. IP addresses, port numbers) .Is there a way in Elektra to keep those two programs' configuration in sync? Note that I am crucially thinking of the case where Program A and Program B both know nothing about Elektra.
The text was updated successfully, but these errors were encountered: