git clone fails on windows due to ':' in filenames
Closed this issue · 1 comments
Describe the bug
When you try to clone aws-cdk-examples on a Windows machine, you get "unable to create file" errors because Windows does not allow ':' in filenames.
Expected Behavior
No "unable to create file" errors.
Current Behavior
git clone https://github.com/aws-samples/aws-cdk-examples.git
Cloning into 'aws-cdk-examples'...
remote: Enumerating objects: 7996, done.
remote: Counting objects: 100% (292/292), done.
remote: Compressing objects: 100% (225/225), done.
remote: Total 7996 (delta 93), reused 190 (delta 36), pack-reused 7704
Receiving objects: 100% (7996/7996), 114.47 MiB | 13.47 MiB/s, done.
Resolving deltas: 100% (3947/3947), done.
error: unable to create file python/athena-s3-glue/log-samples/products/date=2024-01-19/2024-01-19T13:40:09.json: Invalid argument
error: unable to create file python/athena-s3-glue/log-samples/products/date=2024-01-19/2024-01-19T13:45:09.json: Invalid argument
error: unable to create file python/athena-s3-glue/log-samples/products/date=2024-01-19/2024-01-19T13:51:09.json: Invalid argument
error: unable to create file python/athena-s3-glue/log-samples/products/date=2024-01-20/2024-01-20T13:51:09.json: Invalid argument
error: unable to create file python/athena-s3-glue/log-samples/users/date=2024-01-20/2024-01-20T08:13:33.json: Invalid argument
error: unable to create file python/athena-s3-glue/log-samples/users/date=2024-01-22/2024-01-22T08:13:33.json: Invalid argument
error: unable to create file python/athena-s3-glue/log-samples/users/date=2024-01-22/2024-01-22T09:13:33.json: Invalid argument
Reproduction Steps
Run this command on a windows computer:
git clone https://github.com/aws-samples/aws-cdk-examples.git
Possible Solution
Rename the files
Additional Information/Context
No response
CDK CLI Version
N/A
Framework Version
No response
Node.js Version
N/A
OS
Windows
Language
Python
Language Version
No response
⚠️ COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.