openvmm icon indicating copy to clipboard operation
openvmm copied to clipboard

Detect if you're in WSL and your repo root is across the /mnt/c/ boundary

Open chris-oo opened this issue 1 year ago • 4 comments

People keep doing this even though we highlight it in the guide, we should have xtask bail out or something to tell the user you really don't want to do this.

chris-oo avatar Jun 25 '24 22:06 chris-oo

@liam0215, did we end up writing some code to detect this as part of that hvliteup work you hacked on a while back, or did we never get to the point where this would matter?

daprilik avatar Jun 25 '24 23:06 daprilik

There's also some functionality in WSL pop a notification about this. I could add cargo to the list of binaries that trigger this warning if you think it would be useful?

benhillis avatar Oct 07 '24 20:10 benhillis

Irrespective of whether we do something in WSL or not - rectifying this issue should be a lot easier nowadays, since everything is flowey based.

We can update the git_checkout node's Local backend to double-check if you're on WSL, and ensure you aren't accessing something via /mnt.

daprilik avatar Oct 07 '24 20:10 daprilik

There's also some functionality in WSL pop a notification about this. I could add cargo to the list of binaries that trigger this warning if you think it would be useful?

I've implemented this in WSL, but agree we should still do something here.

benhillis avatar Oct 14 '24 19:10 benhillis