{"action":"created","issue":{"url":"https://api.github.com/repos/tools/godep/issues/258","labels_url":"https://api.github.com/repos/tools/godep/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/tools/godep/issues/258/comments","events_url":"https://api.github.com/repos/tools/godep/issues/258/events","html_url":"https://github.com/tools/godep/issues/258","id":99924442,"number":258,"title":"godep restore unrecognized path","user":{"login":"windweller","id":4699797,"avatar_url":"https://avatars.githubusercontent.com/u/4699797?v=3","gravatar_id":"","url":"https://api.github.com/users/windweller","html_url":"https://github.com/windweller","followers_url":"https://api.github.com/users/windweller/followers","following_url":"https://api.github.com/users/windweller/following{/other_user}","gists_url":"https://api.github.com/users/windweller/gists{/gist_id}","starred_url":"https://api.github.com/users/windweller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windweller/subscriptions","organizations_url":"https://api.github.com/users/windweller/orgs","repos_url":"https://api.github.com/users/windweller/repos","events_url":"https://api.github.com/users/windweller/events{/privacy}","received_events_url":"https://api.github.com/users/windweller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-09T19:58:46Z","updated_at":"2015-08-11T17:34:43Z","closed_at":null,"body":"Hi,\r\n    I'm developing two go projects side by side, and one project is dependent on the other, and must reflect the changes made immediately (so no uploading to github and pull down from there). Both the my projects (projA, projB) are in my GOPATH locally, so I can invoke something like:\r\n\r\n```go\r\nimport \"projA/comm\"\r\n```\r\n\r\nWithout any problem (at least not according to my IDE - intelliJ). Problem starts when I want to package it using godep and ship it to a remote server (actually even locally). I run `godep save` to generate JSON file and workspace directory. Then I run `godep restore` locally, and it tells me:\r\n\r\n```\r\ngodep: unrecognized import path \"projA/comm\"\r\n```\r\n\r\nWhen I ship it to the server, same error happens. As reason stated above, I really want to be able to have projB reflect projA's changes locally (by typing `godep save` or `godep update`). But what is this error and how can I get rid of it?\r\n\r\nP.S.: I use docker to ship code, and this is a part of my docker file:\r\n\r\n```dockerfile\r\n# Get godeps from main repo\r\nRUN go get github.com/tools/godep\r\n\r\nRUN godep go build\r\n\r\nRUN godep go install\r\n\r\nRUN godep restore\r\n\r\n# Install\r\nRUN go install nag_cron\r\n```"},"comment":{"url":"https://api.github.com/repos/tools/godep/issues/comments/129981689","html_url":"https://github.com/tools/godep/issues/258#issuecomment-129981689","issue_url":"https://api.github.com/repos/tools/godep/issues/258","id":129981689,"user":{"login":"freeformz","id":103,"avatar_url":"https://avatars.githubusercontent.com/u/103?v=3","gravatar_id":"","url":"https://api.github.com/users/freeformz","html_url":"https://github.com/freeformz","followers_url":"https://api.github.com/users/freeformz/followers","following_url":"https://api.github.com/users/freeformz/following{/other_user}","gists_url":"https://api.github.com/users/freeformz/gists{/gist_id}","starred_url":"https://api.github.com/users/freeformz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeformz/subscriptions","organizations_url":"https://api.github.com/users/freeformz/orgs","repos_url":"https://api.github.com/users/freeformz/repos","events_url":"https://api.github.com/users/freeformz/events{/privacy}","received_events_url":"https://api.github.com/users/freeformz/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T17:34:43Z","updated_at":"2015-08-11T17:34:43Z","body":"So while it's technically possible to do so in Go, atm godep (because of it's use of the go toolings vcs library) only (fully) supports packages in `host/user/pkg` format. But ...\r\n\r\nYou do not need to run `godep restore` if you wrap your `go` commands with `godep`. So `godep go install ./...`. Furthermore if you rewrite your deps (`godep save -r ./...`) you don't need to use godep on the server at all.\r\n\r\n"}}