Re:Ask HN: Why do people need more than git to manage dotfiles?
by xk3 on Saturday April 20, 2024 @10:29PM
(#40102746)
Interesting! Before I read your comment I was not aware that dotfile management is actually a new/niche use of GNU Stow and its original purpose to co-locate/distribute software packages and their data.
Re:Ask HN: Why do people need more than git to manage dotfiles?
by __d on Sunday April 21, 2024 @03:30AM
(#40103841)
I should mention that one of my colleagues wrote a pure-C version of stow (available at https://www.gnusto.com/), to avoid the dependency on PERL, which made out bootstrap process for a new platform a bit easier.
In the 90's, I worked at a place that had DEC Alphas with OSF/1, Sun UltraSPARCs with Solaris, x86 Linux boxes, and a few random SGI, HP, *BSD boxes and so on. The commercial Unix variants come with a fairly limited set of programs. So that we had a useful environment, no matter what machine was being used, we had a large tree of FOSS NFS-mounted onto each box.
That tree used a shared source tree, build trees for each machine-os platform, and then we stowed the built stuff.
Stow was mostly useful when uninstalling (because not everything had a reliable `make uninstall` option), or to quickly switch between active versions.
I don't think I'd attempt to put that whole thing into git today: stow is the right tool for the job.