-
Notifications
You must be signed in to change notification settings - Fork 2.4k
windows: don't make symlink fall back to copy. #29635
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingtriageThe issue needs to be prioritizedThe issue needs to be prioritizedwindows
Description
Steps to reproduce
I find it surprising that symlink falls back to a copy on Windows, and in some cases it is just bad. In particular here:
| symlink(new_root, tmp_symlink_name) |
The trick is to update views atomically, effectively
ln -s new_dir ._view_link
mv ._view_link view
Can symlink just remain a symlink instead of something hard to reason about?
Error message
No response
Information on your system
.
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have searched the issues of this repo and believe this is not a duplicate
- I have run the failing commands in debug mode and reported the output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageThe issue needs to be prioritizedThe issue needs to be prioritizedwindows
Type
Projects
Status
Done