envdir
envdir copied to clipboard
A Python port of daemontools' envdir.
If a lookup happens inside a loop, this can severely affect the performance of the loop, compared to if the lookup was happening on environment variable.
And only if its not there should it read from file. That way I can do DB=somedb python app.py and my DB setting will supersede whats stored in envs/prod/DB, which...
I was standing in my envdir when my psql session decided to do a coredump, creating a .core file in the envdir. This later resulted in the rather nondescript error...
Envdir should omit loading hidden files (e.g. `.MY_VARIABLE.swp`) into the environment. Although DJB forgot to cover this case, there are 2 reasons for this: - A practical one: `envdir` currently...