Every once in a while, you’ll encounter a repository that ships its own hooks and think “I should do that for all my repos too!”, except you never quite get around to it, because there are dozens of repositories in play, some of them are low-traffic while others have esoteric linter configurations. But what about […]
Mise-en-place: a better asdf-vm
In a previous post, I recommended asdf-vm as a general tool manager. Since then, asdf has undergone a rewrite from bash to go, and broken its plugin ecosystem as a consequence. Enter mise-en-place, a competing tool manager that mostly just works for most tools without plugins, and has gone the extra step of providing binary […]
Context-specific K8s cluster and namespace
In the last post, I shared my context-specific direnv+asdf config for managing interpreters and tools. Since writing that, I attempted to add kubernetes contexts to the mix, and found only dubious advice from other folks advocating wrapper scripts and other oddities. It’s poorly documented and somewhat counterintuitive, but kubectl supports multiple configuration files in the […]
Context-specific tool management with direnv
I’ve tried juggling virtualenvs by hand. Who has the time to manually activate and deactivate when jumping between projects? I’ve tried language-specific version managers. Sometimes they work. Sometimes you have to wait double-digit seconds for re-shimming. I’ve tried using tool-specific wrappers like tfenv. The cognitive burden increases exponentially with each one added to the pile. […]