-
Notifications
You must be signed in to change notification settings - Fork 1k
dep init failing for repositories with sub-directories #651
Comments
hi, welcome, thanks for the issue report! I'd guess the problem there is the symlink - ping @ibrasho 😄 |
note that i can't replicate the bug locally, though - what OS are you running this on? |
This seems to work with latest @sdboyer We should add a command or flag to print the current version of |
(@serussell also noted the version of dep used at the top - from an hour ago) |
oh 😞 .. We'll have to wait until we are able to version then.
|
I'm also getting this error on ensures, sometimes:
It is an odd error, isn't it? It doesn't make any sense to me. Are both of you on OSX? Incidentally, go version go1.8 linux/amd64. |
I managed to reproduce this on archlinux. I'll try to debug to see what's causing the issue. @sdboyer it seems like Any ideas on how to tackle this? |
@ibrasho my oh my, that's fun. I don't have handy access to an Arch instance (or time to tinker and set one up, sadly), but judging solely from the error above, it would appear that calls to
|
Reproduced this on macOS after some tinkering. This bug only occurs when
Anyhow, I found a solution and submitted a PR. |
@serussell Could you update |
Fixed! Thanks! Awesome analysis & turn-around. You guys rock. |
dep master 83e2b6f
Steps to reproduce:
mkdir $GOPATH/src/foo
cd $GOPATH/src/foo
dep init
Expected output:
$? == 0
Actual output:
More Info
I believe it is because of the import of a subdirectory; I haven't encountered this error when importing a 3-segment path.
The text was updated successfully, but these errors were encountered: