1 comment

[ 2.4 ms ] story [ 10.5 ms ] thread
Conform and distillery have been the saving grace of deploying reproducible builds.

The disjointedness of how configuration worked between dev and prod though bugged me to the point that I try to only use libraries that don’t solely rely on config.exs for config and take configuration as an argument. I generally write functions around their functions to pull from ENV variables.

It’s a bit of ceremony but it feels better.

There are still a lot of libraries that pull configuration “magically” from Application in the middle of a function and don’t expose a way other than config.exs to change them though. This makes me sad.

Edit: I forgot to say thanks for all the awesome work bitwalker!