mik icon indicating copy to clipboard operation
mik copied to clipboard

Reduce repetition in .ini files

Open bondjimbond opened this issue 6 years ago • 1 comments

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?

bondjimbond avatar Aug 07 '18 18:08 bondjimbond

Similar to issue https://github.com/MarcusBarnes/mik/issues/107.

MarcusBarnes avatar Aug 07 '18 18:08 MarcusBarnes