logoalt Hacker News

exactoday at 6:29 AM6 repliesview on HN

Sorry, there is zero chance I will ever deploy new code by changing a symlink to point to the new directory.


Replies

sholladaytoday at 6:44 AM

Why? What do you prefer to do instead?

show 1 reply
iberatortoday at 6:49 AM

why? it works and its super clever. Simple command instead some shit written in JS with docker trash

show 1 reply
gonzustoday at 10:47 AM

Then you are locking yourself out of a pretty much ironclad (and extremely cost-effective) way of managing such things.

bandramitoday at 7:29 AM

Works pretty well for Nix

show 2 replies
slopusilatoday at 7:17 AM

that's how some phone OSes update the system (by having 2 read only fs)

that's how Chrome updates itself, but without the symlink part

show 2 replies
alpbtoday at 7:03 AM

Nobody's saying you should deploy code with this, but symlinks are a very common filesystem locking method.