apparently building complex configuration management in Bash is "cursed"

and a pile of curses is witchcraft

so I guess I'm a devops witch then

anyway today's cursed activity is extending my Bash configuration management system, Babashka, to support a variable file, that can be used in various build thingies.

since right now I'm using a bad hack to find absolute paths, which is clearly Not Ideal.

The real question is, do I use a .ini parser, or, just have something that sources a file, or what.

I guess we'll find out.


@aurynn I source files in my bash configuration scripts because it requires no external dependencies. And that was the purpose of me using bash configuration scripts.

My variables are stored in a bash associative array, and I use a sed-based basic template system to populate my configuration files.

Sign in to participate in the conversation
La Quadrature du Net - Mastodon - Media Fédéré est un serveur Mastodon francophone, géré par La Quadrature du Net.