Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

resolve project root is linked to another path within a GOPATH #743

Closed
ofpiyush opened this issue Jun 11, 2017 · 2 comments
Closed

resolve project root is linked to another path within a GOPATH #743

ofpiyush opened this issue Jun 11, 2017 · 2 comments

Comments

@ofpiyush
Copy link

ofpiyush commented Jun 11, 2017

What version of Go (go version) and dep (git describe --tags) are you using?

go version go1.8.3 linux/amd64

dep v0.1.0-103-gba5773d

What dep command did you run?

dep ensure -v

What did you expect to see?

A successful ensure

What did you see instead?

resolve project root: '/workspace/gopath/src/github.com/private/repository' is linked to another path within a GOPATH (/workspace/gopath)

More context

I am trying to set up my cloud builder to use dep ensure.

This line symlinks the /workspace directory with /workspace/gopath/$PROJECT_ROOT. More info

Also relevant: #247 (comment)
Edit: Also relevant: #641

@ofpiyush
Copy link
Author

@sdboyer @brianstarke I have another case for symlinks at least within the same GOPATH.
I fork project at github.com/cool-people/project to github.com/wannabe-cool/project
I want it to exist at ${GOPATH}/src/github.com/wannabe-cool/project in my file system. So I symlink it.

Now I can't use dep :-/

@ofpiyush
Copy link
Author

Closing as merging #641 will close it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants