How do I handle "Backwards incompatibilty" in addon settings?

Is there a recommended way to recognize and flush outdated settings?

I am modifying an addon and will be changing 1 setting (deprecating some values, adding others) and adding at least 2 additional settings.

I do not want to leave a decaying trail of orphaned settings each time features are changed. So during testing, the new features are not being added to the settings. I am hand-tweaking hard-coded options. (As an example, the 1st option is a boolean verbose_suggestions feature.)

And how do I flush old settings from the category’s (in this case, the Gramplets_dashboardview_gramplets.ini) settings file. Or flush the window positioning from the [interface] chunk of the gramps.ini settings?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.