-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
dev
link creation fails for network locations
#494
Comments
I think this is a bit too niche, I think one solution would be allowing the specification of a custom directory for the temporary operations, rather than the system temp folder? |
No, symlinks to system temp folder work fine, as those go
Only the final symlinking to
It correctly tries junction first, then symbolic, but it still won't work as those go Maybe ability to specify a different |
Ah I see, that should be fairly straightforward to add, probably |
Relevant to this, issue with # Invalid
❱ ln -s "<CBA_A3>/addons\network" .hemttout/dev/addons/network
❱ ll .hemttout/dev/addons/network
lrwxrwxrwx 1 jonpas jonpas 51 Nov 2 15:36 .hemttout/dev/addons/network -> '<CBA_A3>/addons\network'
# Valid
❱ ln -s "<CBA_A3>/addons/network" .hemttout/dev/addons/network
❱ ll .hemttout/dev/addons/network
lrwxrwxrwx 1 jonpas jonpas 51 Nov 2 15:36 .hemttout/dev/addons/network -> '<CBA_A3>/addons/network'/ |
#599 fixes above comment and also makes this issue irrelevant (for me) as I can now just However this is potentially still a problem for working off of actual network drives such as NAS shares or something. |
As expected, if you try to
$ hemtt dev
a mod on a network drive (UNC path), the link creation will fail, as creating symbolic links of any kind with source and target both being on a network drive, is not supported:The file or directory is not a reparse point.
Not sure how to solve or work-around this yet. One alternative which I have used so far for linking on network drives, is to just link on my host Linux system (where the drive is mapped from). This is obviously not ideal for switching branches, rebuilding etc.
If I run
$ hemtt dev
on Linux, it will create links and build successfully. If I then run the same command on Windows on that same network drive, it will just wipe theaddons/
folder as it's a different type of a link and will delete the link source as well.This might be very specific to me, but doing things on a network drive, eg. on your laptop with a shared network drive from your PC, is probably not that big of a use-case stretch.
This obviously wasn't the problem before with file-patching builds residing directly in root
addons/
folder.The text was updated successfully, but these errors were encountered: