mik
mik copied to clipboard
Reduce repetition in .ini files
In many .ini files there are places where the same data needs to be repeated in different sections. For example, in the CdmCompound toolchain, you need to put the CDM webservices URL in FETCHER, METADATA_PARSER, and FILE_GETTER.
Similarly, you need to put the alias in four sections: FETCHER, METADATA_PARSER, FILE_GETTER, and WRITER.
If you work from a template, it's pretty easy to screw this up by forgetting to change it in one place. Could these variables not be set in a single spot in the ini file, and references repeatedly by the different pieces?
Similar to issue https://github.com/MarcusBarnes/mik/issues/107.