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

dep init: doesn't recognise symlinked project #330

@klrkdekira

Description

@klrkdekira

I'm not sure if this is a bug, but fixing this will be a great quality of life improvement.

What version of Go are you using (go version)?
go version go1.8 darwin/amd64

What operating system and processor architecture are you using?
macOS Sierra 10.12.3 (darwin amd64)

What did you do?
GOPATH is set at ~/gopath

I was working on a project that accessed via a symlink as provided below.

Full GOPATH

~/gopath/src/github.com/klrkdekira/myproject

Symlinked path

$ pwd
~/myproject

What did you expect to see?
dep init works.

What did you see instead?
This.
screen shot 2017-03-14 at 14 57 46

After invoking cd -P it just works.
screen shot 2017-03-14 at 14 58 27

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions