revel/cmd

go get github.com/revel/cmd/revel fails with undefined in revel/cmd/harness?

Closed this issue · 4 comments

Running go get github.com/revel/cmd/revel

results in the following errors:

No change to our repo. We use the heroku buildpack with dokku. Never had problems until today. What's going on? Sometimes happens on our local machine sometimes does not. Always happens on our vm which is ubuntu 14.04. go version 1.5.1 revel 0.13

# github.com/revel/cmd/harness
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:94: undefined: revel.HTTPAddr
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:97: undefined: revel.HTTPSsl
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:118: undefined: revel.HTTPSsl
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:174: undefined: revel.HTTPAddr
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:174: undefined: revel.HTTPPort
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:178: undefined: revel.HTTPSsl
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:181: undefined: revel.HTTPSslCert
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:182: undefined: revel.HTTPSslKey
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:224: undefined: revel.HTTPSsl
../.go_workspace/src/github.com/revel/cmd/harness/reflect.go:431: undefined: revel.RevelImportPath
../.go_workspace/src/github.com/revel/cmd/harness/reflect.go:431: too many errors

Not reproducable

For your info it is because you upgraded revel at the time and we were using the heroku build pack as part of our build process. We couldn't choose the revel version with the heroku buildpack and the heroku build pack used the latest revel, but our code was using a revel from a version before.

Ahh that makes sense, thanks for the update

BTW, I just merged in this change revel/meta#11 which will update your GOPATH to specific version of revel using the godeps (dependency files) in https://github.com/revel/meta/