-
Notifications
You must be signed in to change notification settings - Fork 1k
Cannot use dep ensure on Windows #805
Comments
@sas1024 Thanks for reporting this. It looks like we are not handling case-insensitive filesystems properly. I'm really interested in how we got two different cases for the same path. 🤔 I have a planned fix for this and some other path-related bugs. I'm just waiting to be sure if it fixes most of the bugs. |
@sas1024 does this reproduce consistently for you? |
@sdboyer i'm sorry for delay. |
i know we have at least some code that deals with case insensitivity in the volume name correctly, but apparently we don't have all the cases covered :( |
@sdboyer I believe you mean The comparison in I was planning to add a function to compare paths wrt case-sensitivity depending on the file system... but I'm not sure at the moment if that's the best solution. |
Yep, that should work fine. |
Any news, guys? It reproduced on dep v0.3.0-142-g6ca8a48. |
@sas1024 Just and Idea, a fix could be to change your |
@niondir I think that could fix @sas1024's, issue, but it does seem like it's something that would be discovered in Go 1.9: golang/go@78a11c2 |
@niondir in this case i've got this error: |
@ibrasho with this changes dep works excelent! |
What version of Go (
go version
) anddep
(git describe --tags
) are you using?go version go1.8.3 windows/amd64
dep v0.1.0-206-ge99676b
What
dep
command did you run?dep ensure -v
What did you expect to see?
Normal working of dep ensure :)
What did you see instead?
An error:
both d:\Documents\Projects\Go\src\github.com\sas1024\project and D:\Documents\Projects\Go\src\github.com\sas1024\project are in the same GOPATH d:\Documents\Projects\Go
It's very strange, that's hard drive letter case is differs in paths. There is normal letter and capital letter.
The text was updated successfully, but these errors were encountered: