Page 1 of 1

Separate configuration file for constantly changing properties

Posted: 14 Feb 2022 23:33
by sukkola
Hi all,
I see that XYplorer.ini contains all(most) the configurations available to the XYplorer program.
I am a person who puts their portable applications under version control. ie.. all my exe, and their configuration are git versioned.
I do this so that I can keep my muliple PCs in sync via git push and git pull. This is working out great for most programs.
But in the case of XYplorer the XYplorer.ini file keeps changing. The changes are something which I do not consider as "configurations".
example sections in the INI file are
[mruOpenedItems]
[mruBrowse]

As you can see these configurations are for tracking the history of the navigated folders and these would be different from one PC to another.

My suggestion/wish is that the configurations which keep changing constantly(that the user has not explicitly set) should be saved in a different INI file.

Re: Separate configuration file for constantly changing properties

Posted: 15 Feb 2022 23:52
by eil
This idea has a point, even in safety aspect, +1 from me.

Re: Separate configuration file for constantly changing properties

Posted: 16 Feb 2022 10:53
by Horst
A good idea.
In Total commander I can redirect any section of the Ini-File to another file.

Re: Separate configuration file for constantly changing properties

Posted: 17 Feb 2022 09:29
by highend
+1

Re: Separate configuration file for constantly changing properties

Posted: 19 Feb 2022 06:39
by jupe
+1

This would also help with people uploading their ini's, because a lot of privacy info would be external.

Re: Separate configuration file for constantly changing properties

Posted: 02 Sep 2022 16:39
by admin
I agree. Additionally those "self-changing settings" often happen to be the ones that you want to keep private (path and file names); another reason to keep the apart from the configuration proper.

I only have to find the time to do it... :whistle:

Re: Separate configuration file for constantly changing properties

Posted: 11 Sep 2022 20:11
by nerdweed
And while you would be at it, can you also consider this

XYplorer.ini -> Factory Defaults
overrides.ini -> User overrides

This way it would be easy to identify which settings have been changed from factory defaults.

Re: Separate configuration file for constantly changing properties

Posted: 11 Sep 2022 20:17
by eil
nerdweed wrote: 11 Sep 2022 20:11 This way it would be easy to identify which settings have been changed from factory defaults.
You already can do it, by specifying a separate INI, which XY will handle as default, leaving the initial one as etalon for comparison untouched. The idea here has another purpose.