GitHub PullRequestEvent at 2014-04-15 13:36:47
Repository: phinx
Actor: robmorgan
Payload: {"action":"closed","number":222,"pull_request":{"url":"https://api.github.com/repos/robmorgan/phinx/pulls/222","id":14695377,"html_url":"https://github.com/robmorgan/phinx/pull/222","diff_url":"https://github.com/robmorgan/phinx/pull/222.diff","patch_url":"https://github.com/robmorgan/phinx/pull/222.patch","issue_url":"https://api.github.com/repos/robmorgan/phinx/issues/222","number":222,"state":"closed","title":"Create a new command","user":{"login":"rsdevigo","id":2513998,"avatar_url":"https://avatars.githubusercontent.com/u/2513998?","gravatar_id":"791d4c94508742d9cd3f36c19b24ee16","url":"https://api.github.com/users/rsdevigo","html_url":"https://github.com/rsdevigo","followers_url":"https://api.github.com/users/rsdevigo/followers","following_url":"https://api.github.com/users/rsdevigo/following{/other_user}","gists_url":"https://api.github.com/users/rsdevigo/gists{/gist_id}","starred_url":"https://api.github.com/users/rsdevigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsdevigo/subscriptions","organizations_url":"https://api.github.com/users/rsdevigo/orgs","repos_url":"https://api.github.com/users/rsdevigo/repos","events_url":"https://api.github.com/users/rsdevigo/events{/privacy}","received_events_url":"https://api.github.com/users/rsdevigo/received_events","type":"User","site_admin":false},"body":"This command works like phinx status, but with a difference, it print on the screen a json object like this:\r\n\r\n[\r\n{\"status\": \"up/down\", \"migration_id\": \"\", \"migration_name\" : \"\"},\r\n{\"status\": \"up/down\", \"migration_id\": \"\", \"migration_name\" : \"\"}\r\n]\r\n\r\nMotivation to do this: Sometime u execute phinx in a CI tool or in a Deploy script and with the default output it´s hard to get the list of migrations.","created_at":"2014-04-13T16:05:53Z","updated_at":"2014-04-15T13:36:47Z","closed_at":"2014-04-15T13:36:47Z","merged_at":"2014-04-15T13:36:47Z","merge_commit_sha":"a2e86371409ef772584cdc58319e9b2ebeaad81f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robmorgan/phinx/pulls/222/commits","review_comments_url":"https://api.github.com/repos/robmorgan/phinx/pulls/222/comments","review_comment_url":"https://api.github.com/repos/robmorgan/phinx/pulls/comments/{number}","comments_url":"https://api.github.com/repos/robmorgan/phinx/issues/222/comments","statuses_url":"https://api.github.com/repos/robmorgan/phinx/statuses/43a3b55b4cfe6d4f08acaa39ad6adec136b76d9a","head":{"label":"rsdevigo:feature/statusjson","ref":"feature/statusjson","sha":"43a3b55b4cfe6d4f08acaa39ad6adec136b76d9a","user":{"login":"rsdevigo","id":2513998,"avatar_url":"https://avatars.githubusercontent.com/u/2513998?","gravatar_id":"791d4c94508742d9cd3f36c19b24ee16","url":"https://api.github.com/users/rsdevigo","html_url":"https://github.com/rsdevigo","followers_url":"https://api.github.com/users/rsdevigo/followers","following_url":"https://api.github.com/users/rsdevigo/following{/other_user}","gists_url":"https://api.github.com/users/rsdevigo/gists{/gist_id}","starred_url":"https://api.github.com/users/rsdevigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsdevigo/subscriptions","organizations_url":"https://api.github.com/users/rsdevigo/orgs","repos_url":"https://api.github.com/users/rsdevigo/repos","events_url":"https://api.github.com/users/rsdevigo/events{/privacy}","received_events_url":"https://api.github.com/users/rsdevigo/received_events","type":"User","site_admin":false},"repo":{"id":18729457,"name":"phinx","full_name":"rsdevigo/phinx","owner":{"login":"rsdevigo","id":2513998,"avatar_url":"https://avatars.githubusercontent.com/u/2513998?","gravatar_id":"791d4c94508742d9cd3f36c19b24ee16","url":"https://api.github.com/users/rsdevigo","html_url":"https://github.com/rsdevigo","followers_url":"https://api.github.com/users/rsdevigo/followers","following_url":"https://api.github.com/users/rsdevigo/following{/other_user}","gists_url":"https://api.github.com/users/rsdevigo/gists{/gist_id}","starred_url":"https://api.github.com/users/rsdevigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsdevigo/subscriptions","organizations_url":"https://api.github.com/users/rsdevigo/orgs","repos_url":"https://api.github.com/users/rsdevigo/repos","events_url":"https://api.github.com/users/rsdevigo/events{/privacy}","received_events_url":"https://api.github.com/users/rsdevigo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rsdevigo/phinx","description":"PHP Database Migrations for Everyone","fork":true,"url":"https://api.github.com/repos/rsdevigo/phinx","forks_url":"https://api.github.com/repos/rsdevigo/phinx/forks","keys_url":"https://api.github.com/repos/rsdevigo/phinx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rsdevigo/phinx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rsdevigo/phinx/teams","hooks_url":"https://api.github.com/repos/rsdevigo/phinx/hooks","issue_events_url":"https://api.github.com/repos/rsdevigo/phinx/issues/events{/number}","events_url":"https://api.github.com/repos/rsdevigo/phinx/events","assignees_url":"https://api.github.com/repos/rsdevigo/phinx/assignees{/user}","branches_url":"https://api.github.com/repos/rsdevigo/phinx/branches{/branch}","tags_url":"https://api.github.com/repos/rsdevigo/phinx/tags","blobs_url":"https://api.github.com/repos/rsdevigo/phinx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rsdevigo/phinx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rsdevigo/phinx/git/refs{/sha}","trees_url":"https://api.github.com/repos/rsdevigo/phinx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rsdevigo/phinx/statuses/{sha}","languages_url":"https://api.github.com/repos/rsdevigo/phinx/languages","stargazers_url":"https://api.github.com/repos/rsdevigo/phinx/stargazers","contributors_url":"https://api.github.com/repos/rsdevigo/phinx/contributors","subscribers_url":"https://api.github.com/repos/rsdevigo/phinx/subscribers","subscription_url":"https://api.github.com/repos/rsdevigo/phinx/subscription","commits_url":"https://api.github.com/repos/rsdevigo/phinx/commits{/sha}","git_commits_url":"https://api.github.com/repos/rsdevigo/phinx/git/commits{/sha}","comments_url":"https://api.github.com/repos/rsdevigo/phinx/comments{/number}","issue_comment_url":"https://api.github.com/repos/rsdevigo/phinx/issues/comments/{number}","contents_url":"https://api.github.com/repos/rsdevigo/phinx/contents/{+path}","compare_url":"https://api.github.com/repos/rsdevigo/phinx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rsdevigo/phinx/merges","archive_url":"https://api.github.com/repos/rsdevigo/phinx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rsdevigo/phinx/downloads","issues_url":"https://api.github.com/repos/rsdevigo/phinx/issues{/number}","pulls_url":"https://api.github.com/repos/rsdevigo/phinx/pulls{/number}","milestones_url":"https://api.github.com/repos/rsdevigo/phinx/milestones{/number}","notifications_url":"https://api.github.com/repos/rsdevigo/phinx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rsdevigo/phinx/labels{/name}","releases_url":"https://api.github.com/repos/rsdevigo/phinx/releases{/id}","created_at":"2014-04-13T13:08:25Z","updated_at":"2014-04-15T13:36:47Z","pushed_at":"2014-04-14T22:07:37Z","git_url":"git://github.com/rsdevigo/phinx.git","ssh_url":"git@github.com:rsdevigo/phinx.git","clone_url":"https://github.com/rsdevigo/phinx.git","svn_url":"https://github.com/rsdevigo/phinx","homepage":"http://phinx.org","size":2116,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"0.3.x-dev","master_branch":"0.3.x-dev"}},"base":{"label":"robmorgan:0.3.x-dev","ref":"0.3.x-dev","sha":"948d06712d8e3df23b56a76f890f95e963bb7319","user":{"login":"robmorgan","id":178939,"avatar_url":"https://avatars.githubusercontent.com/u/178939?","gravatar_id":"d93a09864bb627e616a6d31ab7151d1a","url":"https://api.github.com/users/robmorgan","html_url":"https://github.com/robmorgan","followers_url":"https://api.github.com/users/robmorgan/followers","following_url":"https://api.github.com/users/robmorgan/following{/other_user}","gists_url":"https://api.github.com/users/robmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/robmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robmorgan/subscriptions","organizations_url":"https://api.github.com/users/robmorgan/orgs","repos_url":"https://api.github.com/users/robmorgan/repos","events_url":"https://api.github.com/users/robmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/robmorgan/received_events","type":"User","site_admin":false},"repo":{"id":3055234,"name":"phinx","full_name":"robmorgan/phinx","owner":{"login":"robmorgan","id":178939,"avatar_url":"https://avatars.githubusercontent.com/u/178939?","gravatar_id":"d93a09864bb627e616a6d31ab7151d1a","url":"https://api.github.com/users/robmorgan","html_url":"https://github.com/robmorgan","followers_url":"https://api.github.com/users/robmorgan/followers","following_url":"https://api.github.com/users/robmorgan/following{/other_user}","gists_url":"https://api.github.com/users/robmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/robmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robmorgan/subscriptions","organizations_url":"https://api.github.com/users/robmorgan/orgs","repos_url":"https://api.github.com/users/robmorgan/repos","events_url":"https://api.github.com/users/robmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/robmorgan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robmorgan/phinx","description":"PHP Database Migrations for Everyone","fork":false,"url":"https://api.github.com/repos/robmorgan/phinx","forks_url":"https://api.github.com/repos/robmorgan/phinx/forks","keys_url":"https://api.github.com/repos/robmorgan/phinx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robmorgan/phinx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robmorgan/phinx/teams","hooks_url":"https://api.github.com/repos/robmorgan/phinx/hooks","issue_events_url":"https://api.github.com/repos/robmorgan/phinx/issues/events{/number}","events_url":"https://api.github.com/repos/robmorgan/phinx/events","assignees_url":"https://api.github.com/repos/robmorgan/phinx/assignees{/user}","branches_url":"https://api.github.com/repos/robmorgan/phinx/branches{/branch}","tags_url":"https://api.github.com/repos/robmorgan/phinx/tags","blobs_url":"https://api.github.com/repos/robmorgan/phinx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robmorgan/phinx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robmorgan/phinx/git/refs{/sha}","trees_url":"https://api.github.com/repos/robmorgan/phinx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robmorgan/phinx/statuses/{sha}","languages_url":"https://api.github.com/repos/robmorgan/phinx/languages","stargazers_url":"https://api.github.com/repos/robmorgan/phinx/stargazers","contributors_url":"https://api.github.com/repos/robmorgan/phinx/contributors","subscribers_url":"https://api.github.com/repos/robmorgan/phinx/subscribers","subscription_url":"https://api.github.com/repos/robmorgan/phinx/subscription","commits_url":"https://api.github.com/repos/robmorgan/phinx/commits{/sha}","git_commits_url":"https://api.github.com/repos/robmorgan/phinx/git/commits{/sha}","comments_url":"https://api.github.com/repos/robmorgan/phinx/comments{/number}","issue_comment_url":"https://api.github.com/repos/robmorgan/phinx/issues/comments/{number}","contents_url":"https://api.github.com/repos/robmorgan/phinx/contents/{+path}","compare_url":"https://api.github.com/repos/robmorgan/phinx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robmorgan/phinx/merges","archive_url":"https://api.github.com/repos/robmorgan/phinx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robmorgan/phinx/downloads","issues_url":"https://api.github.com/repos/robmorgan/phinx/issues{/number}","pulls_url":"https://api.github.com/repos/robmorgan/phinx/pulls{/number}","milestones_url":"https://api.github.com/repos/robmorgan/phinx/milestones{/number}","notifications_url":"https://api.github.com/repos/robmorgan/phinx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robmorgan/phinx/labels{/name}","releases_url":"https://api.github.com/repos/robmorgan/phinx/releases{/id}","created_at":"2011-12-27T06:49:45Z","updated_at":"2014-04-15T13:36:47Z","pushed_at":"2014-04-15T13:36:47Z","git_url":"git://github.com/robmorgan/phinx.git","ssh_url":"git@github.com:robmorgan/phinx.git","clone_url":"https://github.com/robmorgan/phinx.git","svn_url":"https://github.com/robmorgan/phinx","homepage":"http://phinx.org","size":4127,"stargazers_count":485,"watchers_count":485,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":124,"mirror_url":null,"open_issues_count":82,"forks":124,"open_issues":82,"watchers":485,"default_branch":"0.3.x-dev","master_branch":"0.3.x-dev"}},"_links":{"self":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/222"},"html":{"href":"https://github.com/robmorgan/phinx/pull/222"},"issue":{"href":"https://api.github.com/repos/robmorgan/phinx/issues/222"},"comments":{"href":"https://api.github.com/repos/robmorgan/phinx/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/robmorgan/phinx/statuses/43a3b55b4cfe6d4f08acaa39ad6adec136b76d9a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"robmorgan","id":178939,"avatar_url":"https://avatars.githubusercontent.com/u/178939?","gravatar_id":"d93a09864bb627e616a6d31ab7151d1a","url":"https://api.github.com/users/robmorgan","html_url":"https://github.com/robmorgan","followers_url":"https://api.github.com/users/robmorgan/followers","following_url":"https://api.github.com/users/robmorgan/following{/other_user}","gists_url":"https://api.github.com/users/robmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/robmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robmorgan/subscriptions","organizations_url":"https://api.github.com/users/robmorgan/orgs","repos_url":"https://api.github.com/users/robmorgan/repos","events_url":"https://api.github.com/users/robmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/robmorgan/received_events","type":"User","site_admin":false},"comments":13,"review_comments":0,"commits":4,"additions":123,"deletions":4,"changed_files":3}}