{"action":"created","issue":{"url":"https://api.github.com/repos/tools/godep/issues/50","labels_url":"https://api.github.com/repos/tools/godep/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/tools/godep/issues/50/comments","events_url":"https://api.github.com/repos/tools/godep/issues/50/events","html_url":"https://github.com/tools/godep/issues/50","id":26567595,"number":50,"title":"Non-vendored operation: restore should install into godep path, not $GOPATH","user":{"login":"antifuchs","id":11864,"avatar_url":"https://avatars.githubusercontent.com/u/11864?v=3","gravatar_id":"","url":"https://api.github.com/users/antifuchs","html_url":"https://github.com/antifuchs","followers_url":"https://api.github.com/users/antifuchs/followers","following_url":"https://api.github.com/users/antifuchs/following{/other_user}","gists_url":"https://api.github.com/users/antifuchs/gists{/gist_id}","starred_url":"https://api.github.com/users/antifuchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antifuchs/subscriptions","organizations_url":"https://api.github.com/users/antifuchs/orgs","repos_url":"https://api.github.com/users/antifuchs/repos","events_url":"https://api.github.com/users/antifuchs/events{/privacy}","received_events_url":"https://api.github.com/users/antifuchs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tools/godep/labels/feature","name":"feature","color":"84b6eb"},{"url":"https://api.github.com/repos/tools/godep/labels/needs%20more%20feedback","name":"needs more feedback","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-01-30T00:59:23Z","updated_at":"2015-06-17T18:59:39Z","closed_at":null,"body":"For people who don't want to check in godep sources, it would be really convenient if `godep restore` had an option (or config setting) to install into the godep workspace. Currently, we run:\r\n\r\n```\r\nGOPATH=$(godep path) godep restore\r\n```\r\n\r\nto fetch the sources listed in the godep spec we check in. This (along with the next issue, which I'm gonna file shortly) would pretty much bring godep up to feature parity with bundler for us (no qualitative comparison intended :wink:)."},"comment":{"url":"https://api.github.com/repos/tools/godep/issues/comments/112914181","html_url":"https://github.com/tools/godep/issues/50#issuecomment-112914181","issue_url":"https://api.github.com/repos/tools/godep/issues/50","id":112914181,"user":{"login":"kr","id":4178,"avatar_url":"https://avatars.githubusercontent.com/u/4178?v=3","gravatar_id":"","url":"https://api.github.com/users/kr","html_url":"https://github.com/kr","followers_url":"https://api.github.com/users/kr/followers","following_url":"https://api.github.com/users/kr/following{/other_user}","gists_url":"https://api.github.com/users/kr/gists{/gist_id}","starred_url":"https://api.github.com/users/kr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kr/subscriptions","organizations_url":"https://api.github.com/users/kr/orgs","repos_url":"https://api.github.com/users/kr/repos","events_url":"https://api.github.com/users/kr/events{/privacy}","received_events_url":"https://api.github.com/users/kr/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T18:59:39Z","updated_at":"2015-06-17T18:59:39Z","body":"Restore is sometimes necessary when updating dependencies or saving new dependencies. Those other commands would have to be more careful if we want them to work without access to the full dependency set in $GOPATH.\r\n\r\nThis would be helped with better documentation for 'godep restore'. Restore is the opposite of save: save takes packages from GOPATH and puts the corresponding list of commit IDs in Godeps; restore takes a list of commit IDs from Godeps and puts the corresponding packages in GOPATH."}}