pluto icon indicating copy to clipboard operation
pluto copied to clipboard

Shorten 'test/fat32/test_files/insanely_long/...' file length

Open b-ncMN opened this issue 3 years ago • 10 comments

It appears this file's name length is a bit too big,

this causes issue while checking out the x86_64-port branch on a windows installation, the filename itself is under 256 chars but adding the whole absolute path to it (C:...) makes it bigger, therefore git refuses to checkout the branch

b-ncMN avatar Apr 04 '21 18:04 b-ncMN

Hmm, I can checkout fine. Have you enabled long path names in Windows?

DrDeano avatar Apr 05 '21 11:04 DrDeano

Nope, I will check that out

b-ncMN avatar Apr 05 '21 12:04 b-ncMN

I have enabled that but it does not seem to resolve my issue

image

b-ncMN avatar Apr 05 '21 13:04 b-ncMN

Is this still an issue?

SamTebbs33 avatar May 01 '21 17:05 SamTebbs33

I have discussed with @DrDeano about it and it works on his windows installation, I see no reason why it would not work on mine, I will retry a bit later

b-ncMN avatar May 01 '21 17:05 b-ncMN

Just found this :) https://www.javaprogramto.com/2020/04/git-filename-too-long.html

SamTebbs33 avatar May 01 '21 18:05 SamTebbs33

I have recreated a new windows virtual machine today and have enabled long file paths in my registry + ran "git config --system core.longpaths true" but the issue still appears :/

b-ncMN avatar May 02 '21 15:05 b-ncMN

Hmm... What version of Windows are you running? I can give it a go in a VM too.

SamTebbs33 avatar May 03 '21 22:05 SamTebbs33

image

b-ncMN avatar May 04 '21 22:05 b-ncMN

I found that the OS used by GitHub Actions doesn't like the long filename either, so as a temporary workaround I've removed the file in #310 . Later on we can reintroduce it once we figure out what was going wrong on Windows and GitHub Actions.

SamTebbs33 avatar Mar 03 '22 12:03 SamTebbs33