
06.11.2019 16:43, Bernhard M. Wiedemann пишет:
On 06/11/2019 14.07, Josef Reidinger wrote:
What is exactly difference in data format that prevent merging? For it is not much difference if
file1: A => 1, B => 2 file2: A => 3 file3: C => 4
result: A => 3, B => 2, C => 4
depends on format. So I still do not see how merging and configuration format is related together.
yaml and json support nested structures and there can be
A: B: 1
and A: C: 2
How is it different from [A] B=1 [A] C=2 in .ini file?
and merging them could either give A: C: 2
Can you explain how merging can give that result?
or
A: B: 1 C: 2
and if the merge produce the latter, it is not clear how to unset values
Neither is it possible to unset keys with .ini files. You can only set them to empty value and treat empty value as unset value (that is what systemd does) but then you can do it with any serialization format.
- most likely you have to explicitly include them again and set them again.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org