blog
blog copied to clipboard
Duplicate file name with different cases
Cloning the repository on MacOS, or other case insensitive OS, lead to a colission of two css files:
- 'Resources/Public/Css/Datatables.min.css'
- 'Resources/Public/Css/datatables.min.css'
Not sure wether the uppercase Datatables.min.css is a leftover or still needed. It's the older file. https://github.com/TYPO3GmbH/blog/tree/master/Resources/Public/Css
Log from console:
$ git clone https://github.com/TYPO3GmbH/blog.git
Cloning into 'blog'...
remote: Enumerating objects: 10430, done.
remote: Counting objects: 100% (1698/1698), done.
remote: Compressing objects: 100% (226/226), done.
remote: Total 10430 (delta 1552), reused 1477 (delta 1472), pack-reused 8732 (from 2)
Receiving objects: 100% (10430/10430), 4.74 MiB | 207.00 KiB/s, done.
Resolving deltas: 100% (6243/6243), done.
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:
'Resources/Public/Css/Datatables.min.css'
'Resources/Public/Css/datatables.min.css'
A similar issue with the same root cause when trying to composer require version 13 or above on a cases insensitive FS:
Failed to extract t3g/blog: (1) /usr/bin/unzip -qq /app/vendor/composer/tmp-3e30a375b495a1bdf3d9d1dc0c864945.zip -d /app/vendor/composer/d395a600
replace /app/vendor/composer/d395a600/TYPO3GmbH-blog-27248e3/Resources/Public/Css/datatables.min.css? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(EOF or read error, treating as "[N]one" ...)
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
@bnf tagging you since you added the lowercased variant in https://github.com/TYPO3GmbH/blog/commit/85c4716b43a14b96a5653e221f0895728efb1e72. Do you have some idea how this could be resolved?