by theaino · 7y ago · 0 comments
Uh, what?
Following symlinks is the default behavior for unix programs that requires extra effort to work around, why would it be "magic", or an antipattern?
It’s really simple: symlinks are symlinks and should be synced as symlinks. Now they are.
Just like how when you tar up a directory, the symlinks are stored as symlinks, not as the files they point to.
I fixed this by integrating all of personal software dev together into a singular build system that will run my sync script, which also manages the various package managers on my systems, once a day if it hasn't been run. Idempotency is my best friend.