You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The maap.maap.MAAP expects to find a maap.cfg file in one of the following locations:
current directory
user's home directory
location specified by MAAP_CONF environment variable
Unfortunately, it uses only the first one it finds, making it impossible to simply override a subset of configuration values (not even a single override). This prevents setting up a maap.cfg file with defaults, and then simply providing an additional maap.cfg file containing only overrides.
Since ConfigParser is used, "merging" is already supported, so the code changes required should be minimal.
Further, implementation of this should be accompanied by clear documentation on supported file locations, as well as the order of precedence, such that it is clear as to which location has lowest precedence (and thus may be used for "default"), and which other locations have increasing precedence.
The text was updated successfully, but these errors were encountered:
The
maap.maap.MAAP
expects to find amaap.cfg
file in one of the following locations:MAAP_CONF
environment variableUnfortunately, it uses only the first one it finds, making it impossible to simply override a subset of configuration values (not even a single override). This prevents setting up a
maap.cfg
file with defaults, and then simply providing an additionalmaap.cfg
file containing only overrides.Since
ConfigParser
is used, "merging" is already supported, so the code changes required should be minimal.Further, implementation of this should be accompanied by clear documentation on supported file locations, as well as the order of precedence, such that it is clear as to which location has lowest precedence (and thus may be used for "default"), and which other locations have increasing precedence.
The text was updated successfully, but these errors were encountered: