golang / dep

Go dependency management tool experiment (deprecated)

Home Page:https://golang.github.io/dep/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"unexpected error while defensively cleaning up", (Similar as #2164)

guanw opened this issue · comments

commented

What version of dep are you using (dep version)?

v0.5.0-15-g22125cfa from cd $GOPATH/src/github.com/golang/dep && git describe --tags

image

What dep command did you run?

dep ensure -v -update google.golang.org/grpc in root of github.com/jaegertracing/jaeger project with the following in Gopkg.toml

[[constraint]]
  name = "google.golang.org/grpc"
  version = "^1.20.1"

What did you expect to see?

grpc-go updated to latest release

What did you see instead?

image

I looked at other similar github issues and it seems like not an issue once .gitmodule is set for submodules but somehow it's not working in my case. (We have the following .gitmodule)

[submodule "idl"]
	path = idl
	url = https://github.com/jaegertracing/jaeger-idl.git
[submodule "jaeger-ui"]
	path = jaeger-ui
	url = https://github.com/jaegertracing/jaeger-ui.git

commented

Curious are there any suggested ways to fix this issue?

commented

In case anyone is interested, in my company developers are recommending git submodule foreach --recursive 'git clean -x -d -f -f' to temporarily resolve this.