{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/28640420","id":28640420,"diff_hunk":"@@ -14,36 +16,21 @@ class DockerSwarm < Formula\n \n   depends_on \"go\" => :build\n \n-  go_resource \"github.com/tools/godep\" do\n-    url \"https://github.com/tools/godep.git\", :revision => \"58d90f262c13357d3203e67a33c6f7a9382f9223\"\n-  end\n-\n-  go_resource \"github.com/kr/fs\" do\n-    url \"https://github.com/kr/fs.git\", :revision => \"2788f0dbd16903de03cb8186e5c7d97b69ad387b\"\n-  end\n-\n-  go_resource \"golang.org/x/tools\" do\n-    url \"https://github.com/golang/tools.git\", :revision => \"473fd854f8276c0b22f17fb458aa8f1a0e2cf5f5\"\n-  end\n+  def install\n+    mkdir_p buildpath/\"src/github.com/docker\"\n+    ln_s buildpath, buildpath/\"src/github.com/docker/swarm\"\n \n-  go_resource \"github.com/docker/swarm\" do\n-    url \"https://github.com/docker/swarm.git\", :revision => \"2acbea1149842e2b577c752b6c3eee17e0a0489e\"\n-  end\n+    ENV[\"GOPATH\"] = \"#{buildpath}/Godeps/_workspace:#{buildpath}\"\n \n-  def install\n-    ENV[\"GOPATH\"] = buildpath\n     Language::Go.stage_deps resources, buildpath/\"src\"","path":"Library/Formula/docker-swarm.rb","position":39,"original_position":39,"commit_id":"26d7e05855aa3bd12bcb17e81bcd9ab59e390ee1","original_commit_id":"26d7e05855aa3bd12bcb17e81bcd9ab59e390ee1","user":{"login":"jacknagel","id":568243,"avatar_url":"https://avatars.githubusercontent.com/u/568243?v=3","gravatar_id":"","url":"https://api.github.com/users/jacknagel","html_url":"https://github.com/jacknagel","followers_url":"https://api.github.com/users/jacknagel/followers","following_url":"https://api.github.com/users/jacknagel/following{/other_user}","gists_url":"https://api.github.com/users/jacknagel/gists{/gist_id}","starred_url":"https://api.github.com/users/jacknagel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacknagel/subscriptions","organizations_url":"https://api.github.com/users/jacknagel/orgs","repos_url":"https://api.github.com/users/jacknagel/repos","events_url":"https://api.github.com/users/jacknagel/events{/privacy}","received_events_url":"https://api.github.com/users/jacknagel/received_events","type":"User","site_admin":false},"body":"Same comment as in #38737 applies here.","created_at":"2015-04-18T02:10:44Z","updated_at":"2015-04-18T02:10:44Z","html_url":"https://github.com/Homebrew/homebrew/pull/38736#discussion_r28640420","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/38736","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/28640420"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/38736#discussion_r28640420"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/38736"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/38736","id":33517868,"html_url":"https://github.com/Homebrew/homebrew/pull/38736","diff_url":"https://github.com/Homebrew/homebrew/pull/38736.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/38736.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38736","number":38736,"state":"open","locked":false,"title":"Update docker-swarm to 0.2.0","user":{"login":"voxxit","id":12201,"avatar_url":"https://avatars.githubusercontent.com/u/12201?v=3","gravatar_id":"","url":"https://api.github.com/users/voxxit","html_url":"https://github.com/voxxit","followers_url":"https://api.github.com/users/voxxit/followers","following_url":"https://api.github.com/users/voxxit/following{/other_user}","gists_url":"https://api.github.com/users/voxxit/gists{/gist_id}","starred_url":"https://api.github.com/users/voxxit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxxit/subscriptions","organizations_url":"https://api.github.com/users/voxxit/orgs","repos_url":"https://api.github.com/users/voxxit/repos","events_url":"https://api.github.com/users/voxxit/events{/privacy}","received_events_url":"https://api.github.com/users/voxxit/received_events","type":"User","site_admin":false},"body":"NOTE: I removed the `go_resource` blocks which seemed erroneous since `go build` already takes care of those requirements simply by prepending the `Godeps/_workspace` to the GOPATH.\r\n\r\nSee: https://github.com/docker/swarm/blob/master/Dockerfile","created_at":"2015-04-17T06:35:01Z","updated_at":"2015-04-18T02:10:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ceea98a5f4d78fa8577e5bac2368aff21c851118","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/38736/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/38736/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38736/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/26d7e05855aa3bd12bcb17e81bcd9ab59e390ee1","head":{"label":"voxxit:voxxit-docker-swarm-0.2.0","ref":"voxxit-docker-swarm-0.2.0","sha":"26d7e05855aa3bd12bcb17e81bcd9ab59e390ee1","user":{"login":"voxxit","id":12201,"avatar_url":"https://avatars.githubusercontent.com/u/12201?v=3","gravatar_id":"","url":"https://api.github.com/users/voxxit","html_url":"https://github.com/voxxit","followers_url":"https://api.github.com/users/voxxit/followers","following_url":"https://api.github.com/users/voxxit/following{/other_user}","gists_url":"https://api.github.com/users/voxxit/gists{/gist_id}","starred_url":"https://api.github.com/users/voxxit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxxit/subscriptions","organizations_url":"https://api.github.com/users/voxxit/orgs","repos_url":"https://api.github.com/users/voxxit/repos","events_url":"https://api.github.com/users/voxxit/events{/privacy}","received_events_url":"https://api.github.com/users/voxxit/received_events","type":"User","site_admin":false},"repo":{"id":34096578,"name":"homebrew","full_name":"voxxit/homebrew","owner":{"login":"voxxit","id":12201,"avatar_url":"https://avatars.githubusercontent.com/u/12201?v=3","gravatar_id":"","url":"https://api.github.com/users/voxxit","html_url":"https://github.com/voxxit","followers_url":"https://api.github.com/users/voxxit/followers","following_url":"https://api.github.com/users/voxxit/following{/other_user}","gists_url":"https://api.github.com/users/voxxit/gists{/gist_id}","starred_url":"https://api.github.com/users/voxxit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxxit/subscriptions","organizations_url":"https://api.github.com/users/voxxit/orgs","repos_url":"https://api.github.com/users/voxxit/repos","events_url":"https://api.github.com/users/voxxit/events{/privacy}","received_events_url":"https://api.github.com/users/voxxit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/voxxit/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/voxxit/homebrew","forks_url":"https://api.github.com/repos/voxxit/homebrew/forks","keys_url":"https://api.github.com/repos/voxxit/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voxxit/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voxxit/homebrew/teams","hooks_url":"https://api.github.com/repos/voxxit/homebrew/hooks","issue_events_url":"https://api.github.com/repos/voxxit/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/voxxit/homebrew/events","assignees_url":"https://api.github.com/repos/voxxit/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/voxxit/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/voxxit/homebrew/tags","blobs_url":"https://api.github.com/repos/voxxit/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voxxit/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voxxit/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/voxxit/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voxxit/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/voxxit/homebrew/languages","stargazers_url":"https://api.github.com/repos/voxxit/homebrew/stargazers","contributors_url":"https://api.github.com/repos/voxxit/homebrew/contributors","subscribers_url":"https://api.github.com/repos/voxxit/homebrew/subscribers","subscription_url":"https://api.github.com/repos/voxxit/homebrew/subscription","commits_url":"https://api.github.com/repos/voxxit/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/voxxit/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/voxxit/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/voxxit/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/voxxit/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/voxxit/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voxxit/homebrew/merges","archive_url":"https://api.github.com/repos/voxxit/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voxxit/homebrew/downloads","issues_url":"https://api.github.com/repos/voxxit/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/voxxit/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/voxxit/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/voxxit/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voxxit/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/voxxit/homebrew/releases{/id}","created_at":"2015-04-17T04:32:21Z","updated_at":"2015-04-17T04:32:36Z","pushed_at":"2015-04-17T06:47:31Z","git_url":"git://github.com/voxxit/homebrew.git","ssh_url":"git@github.com:voxxit/homebrew.git","clone_url":"https://github.com/voxxit/homebrew.git","svn_url":"https://github.com/voxxit/homebrew","homepage":"http://brew.sh","size":36564,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"03a74b44ebe763991a955062408a796aa1fd982c","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":"The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-04-18T02:08:19Z","pushed_at":"2015-04-18T02:08:19Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1501056,"stargazers_count":22496,"watchers_count":22496,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":11296,"mirror_url":null,"open_issues_count":407,"forks":11296,"open_issues":407,"watchers":22496,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/38736"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/38736"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/38736"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/38736/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/38736/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/38736/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/26d7e05855aa3bd12bcb17e81bcd9ab59e390ee1"}}}}