Skip to content

too many files, too many folders #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SebCanet opened this issue Mar 5, 2019 · 4 comments
Closed

too many files, too many folders #162

SebCanet opened this issue Mar 5, 2019 · 4 comments
Labels
type: enhancement Proposed improvement

Comments

@SebCanet
Copy link

SebCanet commented Mar 5, 2019

Hi,
I use your great tool for my project, but on Windows we have a problem with too long filname if the user copy your soft in some folder with long name or subfolders.

Could it be possible, when you download a core, to add a 'compress' option? Like you have on Electron with this (strange) asar file, which inside are all node_modules files.

thanks.

@per1234 per1234 added the type: enhancement Proposed improvement label May 24, 2019
@mastrolinux
Copy link
Contributor

Please look into: https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#enable-long-paths-in-windows-10-version-1607-and-later

And with Git:
git config --system core.longpaths true

@SebCanet
Copy link
Author

SebCanet commented Sep 18, 2019

You cannot ask to a user to modify (and know how) his OS system !?
What about Win XP/7/8 users?
And even with other filesystem, the gcc compiler has too many files in too many folders, I cannot copy itquickly on USB key for my students.
Ths problem is still opened, many thanks.

@facchinm
Copy link
Member

@SebCanet paths handling on windows is always an issue; we tried to overcome some of these problems by reducing the archived core filename (arduino/arduino-builder@ab41198) and the commandline length (

if len(commandLine) > COMMANDLINE_LIMIT {
) but there's still a corner case here and there.

@SebCanet
Copy link
Author

Thanks!

per1234 pushed a commit that referenced this issue Nov 16, 2020
…arranging code to reestablish a good looking base) (#162)
per1234 added a commit that referenced this issue Aug 9, 2021
Make sketch filename matching rule case-sensitive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

4 participants