Is there a way to stop ASF from overwriting my config files? #2339
-
Hi! After just updating ASF from V5.0.7.0 to V5.1.1.1, I noticed this warning given by ASF:
Then, I opened my So, for example, I had I keep all my config files with all ASF's options, even when they have the default value. And that's important to me, because I when I want to try a new value for an option, I don't have to fiddle with the ASF Wiki. So my main question actually is: How is this new behavior better than the old one, where ASF simply wouldn't touch my config files unless I explicitly requested it to? Because for me, this new behavior implies I'm not the actual "owner" of the file, since at any time ASF could decide to overwrite it. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I just learned about The new one actually is: Will this option be supported by ASF forever or is it just a temporary thing? The Thanks again. |
Beta Was this translation helpful? Give feedback.
-
And that's not doing what you intend, because if I add some new property, rename or remove existing one, then you'll have your config desynchronized with the original. I'm more than sure that by now you have several invalid props in your config.
I do not expect to remove that option, it serves a valid functionality.
There is no any
Configs are for ASF initialization, not for the desynchronized, outdated documentation that user copy-pasted 2 years ago for self-documentation, which is no longer correct anyway. ASF recommends keeping configs clean since first versions based on JSON, so more than 5 years ago, and latest ASF has a mechanism to simply do it automatically in case user didn't do that himself. I don't see any advantage in having outdated and default props, modifying ASF configs through ASF-ui is much easier to do than manually, you'll always have up-to-date model and documentation, and the internal structure for configs and databases is up to ASF indeed, and not for the user - the user can keep his own whatever-he-wants outside of ASF config in whatever-he-wants format. Of course you can manually provide the config, since the format is open and I'm not making it impossible, I'm just saying that ASF cleans it up and doesn't change in any way what the config really does. If it's absolutely unacceptable for you, even taking all of the above into account, you have the cmd-line argument you can use, which you found out about yourself. |
Beta Was this translation helpful? Give feedback.
And that's not doing what you intend, because if I add some new property, rename or remove existing one, then you'll have your config desynchronized with the original. I'm more than sure that by now you have several invalid props in your config.
I do not expect to remove that option, it serves a valid functionality.