ElektraInitiative / libelektra

Elektra serves as a universal and secure framework to access configuration settings in a global, hierarchical key database.
https://www.libelektra.org
BSD 3-Clause "New" or "Revised" License
208 stars 123 forks source link

kconfig: round-tripping of config with common prefix fails #3315

Closed markus2330 closed 2 years ago

markus2330 commented 4 years ago

Seems to be specific to changes of plasma-desktop-appletsrc

After first kdb set:

diff --git a/share/config/plasma-desktop-appletsrc b/share/config/plasma-desktop-appletsrc
index 607d0675..3b7e7bf1 100644
--- a/share/config/plasma-desktop-appletsrc
+++ b/share/config/plasma-desktop-appletsrc
@@ -19,7 +19,10 @@ JB-policytool-jdk8=
 PTBatcherGUI=
 R=
 SuperColliderIDE=
-Thunar=
+
+[AppletGlobals][plasma_applet_launcher][Thunar]
+
+[AppletGlobals][plasma_applet_launcher]
 Thunar-bulk-rename=
 WorldOfGoo=
 a7xpg=
@@ -52,7 +55,10 @@ designer-qt4=
 dia=
 diffpdf=
 ding=
-display-im6=
+
+[AppletGlobals][plasma_applet_launcher][display-im6]
+
+[AppletGlobals][plasma_applet_launcher]
 display-im6.q16=
 dosbox=
 drracket=
@@ -68,7 +74,10 @@ extremetuxracer=
 faustworks=
 firefox-esr=
 flare=
-freeciv-gtk=
+
+[AppletGlobals][plasma_applet_launcher][freeciv-gtk]
+
+[AppletGlobals][plasma_applet_launcher]
 freeciv-gtk3=
 freeciv-qt=
 freeciv-sdl=

After second kdb set:

diff --git a/share/config/plasma-desktop-appletsrc b/share/config/plasma-desktop-appletsrc
index 607d0675..e79fb57a 100644
--- a/share/config/plasma-desktop-appletsrc
+++ b/share/config/plasma-desktop-appletsrc
@@ -19,7 +19,6 @@ JB-policytool-jdk8=
 PTBatcherGUI=
 R=
 SuperColliderIDE=
-Thunar=
 Thunar-bulk-rename=
 WorldOfGoo=
 a7xpg=
@@ -52,7 +51,6 @@ designer-qt4=
 dia=
 diffpdf=
 ding=
-display-im6=
 display-im6.q16=
 dosbox=
 drracket=
@@ -68,7 +66,6 @@ extremetuxracer=
 faustworks=
 firefox-esr=
 flare=
-freeciv-gtk=
 freeciv-gtk3=
 freeciv-qt=
 freeciv-sdl=
markus2330 commented 4 years ago

It also appears in amarok-appletsrc:

diff --git a/share/config/amarok-appletsrc b/share/config/amarok-appletsrc
index 31e3d3fc..ca7c6c29 100644
--- a/share/config/amarok-appletsrc
+++ b/share/config/amarok-appletsrc
@@ -1,6 +1,9 @@
 [Containments][1]
 ActionPluginsSource=Global
-activity=
+
+[Containments][1][activity]
+
+[Containments][1]
 activityId=
 desktop=-1
 formfactor=0
stale[bot] commented 3 years ago

I mark this issue stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping the issue by writing a message here or create a new issue with the remainder of this issue. Thank you for your contributions :sparkling_heart:

stale[bot] commented 2 years ago

I mark this issue stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping the issue by writing a message here or create a new issue with the remainder of this issue. Thank you for your contributions :sparkling_heart:

stale[bot] commented 2 years ago

I closed this issue now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue. Thank you for your contributions :sparkling_heart: