1
0
Fork 0
forked from OpenNeo/impress
impress/lib
Matchu c751173c52 Fix public_data:commit's symlinking on some platforms
Huh, curious, I think what I'm seeing is: on my development machine,
`File.exist?` returns true for symlinks, but, on our production
machine, `File.exist?` returns false for symlinks.

I imagine this is a difference in the implementation of the underlying
system calls? Curious!

This new check should work more reliably across platforms. I considered
checking both `exists?` and `symlink?`, but decided that, in the
unexpected case that `latest.sql.gz` exists but is an actual file
instead of a symlink like we expect, it's probably best to avoid
overwriting it anyway, and a crash on the `symlink` attempt is a
reasonable way to do that.
2024-05-02 13:10:30 -07:00
..
rocketamf_extensions Move lib/rocketamf -> lib/rocketamf_extensions, to fix reload issues 2024-01-24 00:59:11 -08:00
tasks Fix public_data:commit's symlinking on some platforms 2024-05-02 13:10:30 -07:00
fragment_localization.rb Move some model mixins to lib/ 2023-12-05 14:55:31 -08:00
pretty_param.rb Move some model mixins to lib/ 2023-12-05 14:55:31 -08:00