Skip to content
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

Too long paths on Windows #1762

Open
mosteo opened this issue Sep 23, 2024 · 0 comments
Open

Too long paths on Windows #1762

mosteo opened this issue Sep 23, 2024 · 0 comments
Labels
type: enhancement Improvements to existing functionality
Milestone

Comments

@mosteo
Copy link
Member

mosteo commented Sep 23, 2024

See alire-project/alire-index#1227 (comment)

In summary: between the root location of the cache, the longish build hashes, and a crate containing long paths, we've hit (once for now) some kind of limit in Windows path lengths.

GitHub runners have long paths enabled, but git long paths are disabled because of collateral issues.

Things to study:

  • What's the situation if long paths on Windows itself are not enabled? Which is the most typical default? Are there reasons not to recommend enabling them?
  • Do git long paths work with Alire (in particular with our use of msys2)?
  • Do \\? prefixed paths help? Should we use them in our syncing?
  • Are tar/zip affected in some way, for such origins?
@mosteo mosteo added the type: enhancement Improvements to existing functionality label Sep 23, 2024
@mosteo mosteo added this to the 2.x milestone Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvements to existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant