{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/202329243","pull_request_review_id":137010286,"id":202329243,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjMyOTI0Mw==","diff_hunk":"@@ -0,0 +1,27 @@\n+class Migrate < Formula\n+  desc \"Database migrations CLI tool\"\n+  homepage \"https://github.com/golang-migrate/migrate\"\n+  url \"https://github.com/golang-migrate/migrate.git\",\n+      :tag => \"v3.3.0\",\n+      :revision => \"bcd996f3df28363f43e2d0935484c4559537a3eb\"\n+\n+  depends_on \"dep\" => :build\n+  depends_on \"go\" => :build\n+\n+  def install\n+    ENV[\"GOPATH\"] = buildpath\n+    (buildpath/\"src/github.com/golang-migrate/migrate\").install buildpath.children\n+\n+    # Build and install cli as \"migrate\"\n+    cd \"src/github.com/golang-migrate/migrate\" do\n+      system \"dep\", \"ensure\", \"-vendor-only\"\n+      system \"make\", \"build-cli\"","path":"Formula/migrate.rb","position":18,"original_position":18,"commit_id":"1cea022ab891c8ba42ec0fdd80e72e4173e4af5b","original_commit_id":"1cea022ab891c8ba42ec0fdd80e72e4173e4af5b","user":{"login":"ahxxm","id":1286225,"node_id":"MDQ6VXNlcjEyODYyMjU=","avatar_url":"https://avatars3.githubusercontent.com/u/1286225?v=4","gravatar_id":"","url":"https://api.github.com/users/ahxxm","html_url":"https://github.com/ahxxm","followers_url":"https://api.github.com/users/ahxxm/followers","following_url":"https://api.github.com/users/ahxxm/following{/other_user}","gists_url":"https://api.github.com/users/ahxxm/gists{/gist_id}","starred_url":"https://api.github.com/users/ahxxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahxxm/subscriptions","organizations_url":"https://api.github.com/users/ahxxm/orgs","repos_url":"https://api.github.com/users/ahxxm/repos","events_url":"https://api.github.com/users/ahxxm/events{/privacy}","received_events_url":"https://api.github.com/users/ahxxm/received_events","type":"User","site_admin":false},"body":"makefile provides v3.3.0(read from git tags), but does not provide single target build, i think it's acceptable trade some build time for simplicity","created_at":"2018-07-13T12:09:33Z","updated_at":"2018-07-13T12:09:33Z","html_url":"https://github.com/Homebrew/homebrew-core/pull/30032#discussion_r202329243","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/30032","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/202329243"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/30032#discussion_r202329243"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/30032"}},"in_reply_to_id":202328931},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/30032","id":201206487,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMjA2NDg3","html_url":"https://github.com/Homebrew/homebrew-core/pull/30032","diff_url":"https://github.com/Homebrew/homebrew-core/pull/30032.diff","patch_url":"https://github.com/Homebrew/homebrew-core/pull/30032.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/30032","number":30032,"state":"open","locked":false,"title":"migrate 3.3.0 (new formula)","user":{"login":"ahxxm","id":1286225,"node_id":"MDQ6VXNlcjEyODYyMjU=","avatar_url":"https://avatars3.githubusercontent.com/u/1286225?v=4","gravatar_id":"","url":"https://api.github.com/users/ahxxm","html_url":"https://github.com/ahxxm","followers_url":"https://api.github.com/users/ahxxm/followers","following_url":"https://api.github.com/users/ahxxm/following{/other_user}","gists_url":"https://api.github.com/users/ahxxm/gists{/gist_id}","starred_url":"https://api.github.com/users/ahxxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahxxm/subscriptions","organizations_url":"https://api.github.com/users/ahxxm/orgs","repos_url":"https://api.github.com/users/ahxxm/repos","events_url":"https://api.github.com/users/ahxxm/events{/privacy}","received_events_url":"https://api.github.com/users/ahxxm/received_events","type":"User","site_admin":false},"body":"golang-migrate/migrate is a database migrations library, this formulae builds cli tool `migrate` inside it.\r\n\r\nthe error `* GitHub fork (not canonical repository)` is due to repo's transfer and upgrade, it can not be resolved by me...","created_at":"2018-07-13T07:15:58Z","updated_at":"2018-07-13T12:09:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e70a65147f6164e15dc9dbab21e9e3229a2137e9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":351929703,"node_id":"MDU6TGFiZWwzNTE5Mjk3MDM=","url":"https://api.github.com/repos/Homebrew/homebrew-core/labels/go","name":"go","color":"bfe5bf","default":false},{"id":351932951,"node_id":"MDU6TGFiZWwzNTE5MzI5NTE=","url":"https://api.github.com/repos/Homebrew/homebrew-core/labels/new%20formula","name":"new formula","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/30032/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/30032/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/30032/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/1cea022ab891c8ba42ec0fdd80e72e4173e4af5b","head":{"label":"ahxxm:master","ref":"master","sha":"1cea022ab891c8ba42ec0fdd80e72e4173e4af5b","user":{"login":"ahxxm","id":1286225,"node_id":"MDQ6VXNlcjEyODYyMjU=","avatar_url":"https://avatars3.githubusercontent.com/u/1286225?v=4","gravatar_id":"","url":"https://api.github.com/users/ahxxm","html_url":"https://github.com/ahxxm","followers_url":"https://api.github.com/users/ahxxm/followers","following_url":"https://api.github.com/users/ahxxm/following{/other_user}","gists_url":"https://api.github.com/users/ahxxm/gists{/gist_id}","starred_url":"https://api.github.com/users/ahxxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahxxm/subscriptions","organizations_url":"https://api.github.com/users/ahxxm/orgs","repos_url":"https://api.github.com/users/ahxxm/repos","events_url":"https://api.github.com/users/ahxxm/events{/privacy}","received_events_url":"https://api.github.com/users/ahxxm/received_events","type":"User","site_admin":false},"repo":{"id":140807756,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA4MDc3NTY=","name":"homebrew-core","full_name":"ahxxm/homebrew-core","owner":{"login":"ahxxm","id":1286225,"node_id":"MDQ6VXNlcjEyODYyMjU=","avatar_url":"https://avatars3.githubusercontent.com/u/1286225?v=4","gravatar_id":"","url":"https://api.github.com/users/ahxxm","html_url":"https://github.com/ahxxm","followers_url":"https://api.github.com/users/ahxxm/followers","following_url":"https://api.github.com/users/ahxxm/following{/other_user}","gists_url":"https://api.github.com/users/ahxxm/gists{/gist_id}","starred_url":"https://api.github.com/users/ahxxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahxxm/subscriptions","organizations_url":"https://api.github.com/users/ahxxm/orgs","repos_url":"https://api.github.com/users/ahxxm/repos","events_url":"https://api.github.com/users/ahxxm/events{/privacy}","received_events_url":"https://api.github.com/users/ahxxm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahxxm/homebrew-core","description":"🍻 Default formulae for the missing package manager for macOS","fork":true,"url":"https://api.github.com/repos/ahxxm/homebrew-core","forks_url":"https://api.github.com/repos/ahxxm/homebrew-core/forks","keys_url":"https://api.github.com/repos/ahxxm/homebrew-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahxxm/homebrew-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahxxm/homebrew-core/teams","hooks_url":"https://api.github.com/repos/ahxxm/homebrew-core/hooks","issue_events_url":"https://api.github.com/repos/ahxxm/homebrew-core/issues/events{/number}","events_url":"https://api.github.com/repos/ahxxm/homebrew-core/events","assignees_url":"https://api.github.com/repos/ahxxm/homebrew-core/assignees{/user}","branches_url":"https://api.github.com/repos/ahxxm/homebrew-core/branches{/branch}","tags_url":"https://api.github.com/repos/ahxxm/homebrew-core/tags","blobs_url":"https://api.github.com/repos/ahxxm/homebrew-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahxxm/homebrew-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahxxm/homebrew-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahxxm/homebrew-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahxxm/homebrew-core/statuses/{sha}","languages_url":"https://api.github.com/repos/ahxxm/homebrew-core/languages","stargazers_url":"https://api.github.com/repos/ahxxm/homebrew-core/stargazers","contributors_url":"https://api.github.com/repos/ahxxm/homebrew-core/contributors","subscribers_url":"https://api.github.com/repos/ahxxm/homebrew-core/subscribers","subscription_url":"https://api.github.com/repos/ahxxm/homebrew-core/subscription","commits_url":"https://api.github.com/repos/ahxxm/homebrew-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahxxm/homebrew-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahxxm/homebrew-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahxxm/homebrew-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahxxm/homebrew-core/contents/{+path}","compare_url":"https://api.github.com/repos/ahxxm/homebrew-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahxxm/homebrew-core/merges","archive_url":"https://api.github.com/repos/ahxxm/homebrew-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahxxm/homebrew-core/downloads","issues_url":"https://api.github.com/repos/ahxxm/homebrew-core/issues{/number}","pulls_url":"https://api.github.com/repos/ahxxm/homebrew-core/pulls{/number}","milestones_url":"https://api.github.com/repos/ahxxm/homebrew-core/milestones{/number}","notifications_url":"https://api.github.com/repos/ahxxm/homebrew-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahxxm/homebrew-core/labels{/name}","releases_url":"https://api.github.com/repos/ahxxm/homebrew-core/releases{/id}","deployments_url":"https://api.github.com/repos/ahxxm/homebrew-core/deployments","created_at":"2018-07-13T06:41:10Z","updated_at":"2018-07-13T12:03:20Z","pushed_at":"2018-07-13T12:03:17Z","git_url":"git://github.com/ahxxm/homebrew-core.git","ssh_url":"git@github.com:ahxxm/homebrew-core.git","clone_url":"https://github.com/ahxxm/homebrew-core.git","svn_url":"https://github.com/ahxxm/homebrew-core","homepage":"https://brew.sh","size":189190,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"a5284b2f0171692029bef7b7632f2f87712816c8","user":{"login":"Homebrew","id":1503512,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDM1MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1503512?v=4","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":52855516,"node_id":"MDEwOlJlcG9zaXRvcnk1Mjg1NTUxNg==","name":"homebrew-core","full_name":"Homebrew/homebrew-core","owner":{"login":"Homebrew","id":1503512,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDM1MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1503512?v=4","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-core","description":"🍻 Default formulae for the missing package manager for macOS","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew-core","forks_url":"https://api.github.com/repos/Homebrew/homebrew-core/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew-core/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew-core/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew-core/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew-core/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew-core/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew-core/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew-core/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew-core/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew-core/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew-core/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew-core/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew-core/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew-core/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew-core/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew-core/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/homebrew-core/deployments","created_at":"2016-03-01T06:58:36Z","updated_at":"2018-07-13T08:42:05Z","pushed_at":"2018-07-13T12:03:21Z","git_url":"git://github.com/Homebrew/homebrew-core.git","ssh_url":"git@github.com:Homebrew/homebrew-core.git","clone_url":"https://github.com/Homebrew/homebrew-core.git","svn_url":"https://github.com/Homebrew/homebrew-core","homepage":"https://brew.sh","size":189196,"stargazers_count":3920,"watchers_count":3920,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4593,"mirror_url":null,"archived":false,"open_issues_count":95,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":4593,"open_issues":95,"watchers":3920,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/30032"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/30032"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/30032"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/30032/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/30032/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/30032/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/1cea022ab891c8ba42ec0fdd80e72e4173e4af5b"}},"author_association":"NONE"}}
{"actor":{"display_login":"ahxxm"}}