{"action":"created","issue":{"url":"https://api.github.com/repos/constabulary/gb/issues/140","labels_url":"https://api.github.com/repos/constabulary/gb/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/constabulary/gb/issues/140/comments","events_url":"https://api.github.com/repos/constabulary/gb/issues/140/events","html_url":"https://github.com/constabulary/gb/issues/140","id":80997735,"number":140,"title":"New gb plugin suggestion: gb clone","user":{"login":"jtolds","id":109603,"avatar_url":"https://avatars.githubusercontent.com/u/109603?v=3","gravatar_id":"","url":"https://api.github.com/users/jtolds","html_url":"https://github.com/jtolds","followers_url":"https://api.github.com/users/jtolds/followers","following_url":"https://api.github.com/users/jtolds/following{/other_user}","gists_url":"https://api.github.com/users/jtolds/gists{/gist_id}","starred_url":"https://api.github.com/users/jtolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtolds/subscriptions","organizations_url":"https://api.github.com/users/jtolds/orgs","repos_url":"https://api.github.com/users/jtolds/repos","events_url":"https://api.github.com/users/jtolds/events{/privacy}","received_events_url":"https://api.github.com/users/jtolds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-26T14:50:51Z","updated_at":"2015-05-27T00:21:37Z","closed_at":null,"body":"Hi! gb is rapidly getting so much awesomer! I <3 the new gb-vendor fetch. The addition of gb-vendor fetch makes gb that much closer to the dreams I was having for gb a week ago but forgot to say anything.\r\n\r\nSo I'm filing three tickets. Happy to send pull requests but want to discuss first. Ticket 2/3: One of the downsides of gb/go get right now is there's a bootstrapping problem where to get any project you have to make a workspace, then go get inside that workspace with GOPATH set (I always do this song and dance where I do cd $(mktemp -d); GOPATH=$(pwd) go get whatever), cause gb doesn't have a way to pull down an initial project.\r\n\r\nIt'd be so neat if I could say \"gb clone github.com/jtolds/mygbproject\" and get a folder with mygbproject checked out. Why is this different from just git clone you ask? Because you could also do gb clone github.com/jtolds/my-go-get-project, and it would automatically set up a project directory for you, with github.com/jtolds/my-go-get-project checked out inside the appropriate directory inside the src folder. \r\n\r\nThis way I could just use gb always, even for non-gb projects.\r\n"},"comment":{"url":"https://api.github.com/repos/constabulary/gb/issues/comments/105702788","html_url":"https://github.com/constabulary/gb/issues/140#issuecomment-105702788","issue_url":"https://api.github.com/repos/constabulary/gb/issues/140","id":105702788,"user":{"login":"jtolds","id":109603,"avatar_url":"https://avatars.githubusercontent.com/u/109603?v=3","gravatar_id":"","url":"https://api.github.com/users/jtolds","html_url":"https://github.com/jtolds","followers_url":"https://api.github.com/users/jtolds/followers","following_url":"https://api.github.com/users/jtolds/following{/other_user}","gists_url":"https://api.github.com/users/jtolds/gists{/gist_id}","starred_url":"https://api.github.com/users/jtolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtolds/subscriptions","organizations_url":"https://api.github.com/users/jtolds/orgs","repos_url":"https://api.github.com/users/jtolds/repos","events_url":"https://api.github.com/users/jtolds/events{/privacy}","received_events_url":"https://api.github.com/users/jtolds/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T00:21:37Z","updated_at":"2015-05-27T00:21:37Z","body":"Okay right, I agree gb repo users are supposed to check in everything. This is for interacting with projects that *aren't* gb projects.\r\n\r\nFor a concrete example it'd be nice to do be able to do gb clone github.com/coreos/etcd and get a full workspace checked out. gb clone would be very similar (this should be a really small feature to add) to `mkdir etcd; GOPATH=$(pwd)/etc go get github.com/coreos/etcd`, except etcd's deps are in vendor.\r\n\r\ngb clone for a gb project would be exactly identical to git clone."}}