data icon indicating copy to clipboard operation
data copied to clipboard

Can't clone repo on Windows due to colon in filename.

Open asweigart opened this issue 1 year ago • 1 comments

When I try to clone the repo, I get this error message:

error: invalid path 'pycon-fr-2023/videos/Accessibilite-numerique:-faire-sa-part-quand-on-est-developpeureuse-backend.json'

The colon in the filename is causing this to fail on Windows, which doesn't allow colons in filenames. There are also several other files in this same directory that contain : ? * | < > " characters that are invalid on Windows.

asweigart avatar Jun 06 '23 23:06 asweigart

Thanks for reporting this. I think the changes I've just merged in #1130 should restore your ability to clone. I'm also filing another issue here to make sure that we check these filenames in CI to prevent future issues of the same variety.

jonafato avatar Jun 07 '23 00:06 jonafato