mik
mik copied to clipboard
Reduce repetition of values in .ini files
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.
:thumbsup: Thanks @mjordan - good suggestion.
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?