turbulent / substance

Local Docker-powered development environments
Apache License 2.0
18 stars 8 forks source link

Capitalized File Names #17

Open psaunders opened 6 years ago

psaunders commented 6 years ago

This issue causes me problems a handful of times: https://github.com/EugenMayer/docker-sync/issues/221

It happens rarely enough that I forget about it and waste half an hour. Comes up a lot reorganising files to follow PSR4 autoloading specs.

Solutions?

The immediate fix is to totally change the filename, wait a few seconds (edit some content) then change it back with the capitalization correct.

bbeausej commented 6 years ago

Yes, I ran into this a few times too. Checking for discrepancies might be difficult since we would have to read the unison archive files to follow the synchronizer state and basically check the capitalization.

Worth more research.

S0yKaf commented 6 years ago

is this a mac only issue? reading EugenMayer/docker-sync#221, it seems it's due to HFS+ being trash.

EugenMayer: Sorry but this is unfixable, that is exactly what @rodrigoaguilera supposed. Its like the same issue with git under OSX

You can fix it by using case sensitive HFS partition, but be sure that you do not do this for the root partition..or you will have hard times.

seems like this is more a problem with unison rather than substance. might be worth opening an issue if there isn't one up already.