moban
moban copied to clipboard
Layered variables
Currently all variables are merged immediately.
Each set of data should be kept in separate dictionaries and layered on top of each other, so that dict read of the top level merges the values at runtime (and has an lru cache).
Then it is possible to read each config , and combined them in different groups as needed for https://github.com/moremoban/moban/issues/126
i.e. two targets should be able to use the same config files and combined them in different merge-order.
This also allows disabling env-vars for some targets, but keeping them for others.