aws / aws-nitro-enclaves-cli

Tooling for Nitro Enclave Management
Apache License 2.0
127 stars 82 forks source link

SOURCES and sources in the root dir conflict on case-insensitive filesystems like HFS/APFS. #231

Open spkane opened 3 years ago

spkane commented 3 years ago

On a macOS 11.2:

❯ git clone git@github.com:aws/aws-nitro-enclaves-cli.git
Cloning into 'aws-nitro-enclaves-cli'...
remote: Enumerating objects: 25, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 2772 (delta 4), reused 15 (delta 2), pack-reused 2747
Receiving objects: 100% (2772/2772), 49.28 MiB | 24.71 MiB/s, done.
Resolving deltas: 100% (1887/1887), 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:

  'SOURCES'
  'sources'

I would recommend renaming one of these (or moving one into a subdir) unless it is critical that they be setup this way.

jalaziz commented 10 months ago

Running into this too. Makes it very hard to contribute to this repo on macOS machines.

spkane commented 10 months ago

This duplication is a very weird decision and should be easy enough to fix, but I am guessing that it requires changes outside the repo to the CI/CD system used to build the RPMs for this project.

Maybe someone like @clupuishere can comment on how hard this would be to change so that it was possible to check this out on macOS.