mik icon indicating copy to clipboard operation
mik copied to clipboard

Reduce repetition of values in .ini files

Open mjordan opened this issue 9 years ago • 2 comments

MIK .ini files contain a number of duplicate values, for example "alias", "ws_url", and "temp_directory". We should add a "[GENERAL]" section and include those values there. Although I can't think of a use case at the moment, we may want to allow for overriding values at the .ini file section level.

mjordan avatar Dec 17 '15 16:12 mjordan

:thumbsup: Thanks @mjordan - good suggestion.

MarcusBarnes avatar Dec 17 '15 19:12 MarcusBarnes

I wonder if we can add logic to the abstract classes for fetchers, filegetters, metadataparsers, and writers to check for the existence of the common .ini settings and if they are present, populate the existing .ini values using them. At least we'd only need to touch 4 files instead of every instance class.

Inheritance FTW?

mjordan avatar Apr 05 '17 13:04 mjordan