{"action":"created","comment":{"url":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/comments/41086428","id":41086428,"diff_hunk":"@@ -0,0 +1,68 @@\n+<?php\n+\n+namespace REBELinBLUE\\Deployer\\Console\\Commands;\n+\n+use Illuminate\\Console\\Command;\n+\n+class UpdateApp extends InstallApp\n+{\n+    /**\n+     * The name and signature of the console command.\n+     *\n+     * @var string\n+     */\n+    protected $signature = 'app:update';\n+\n+    /**\n+     * The console command description.\n+     *\n+     * @var string\n+     */\n+    protected $description = 'Executes any updates needed for the application.';\n+\n+    /**\n+     * Create a new command instance.\n+     *\n+     * @return void\n+     */\n+    public function __construct()\n+    {\n+        parent::__construct();\n+    }\n+\n+    /**\n+     * Execute the console command.\n+     *\n+     * @return mixed\n+     */\n+    public function handle()\n+    {\n+        if (!$this->verifyInstalled()) {\n+            return;\n+        }\n+\n+        // Check for no running deployments\n+        // Take offline\n+        // Check for differences in config?\n+        // Make sure composer install has been run?\n+        // Migrate\n+        // Clear cache\n+        // Optimize\n+        // Take live\n+    }\n+\n+    private function verifyInstalled()","path":"app/Console/Commands/UpdateApp.php","position":54,"original_position":54,"commit_id":"6375160d0dea81c778ea89c0cd9bb6454359695f","original_commit_id":"6375160d0dea81c778ea89c0cd9bb6454359695f","user":{"login":"Deployer-CIBot","id":12595686,"avatar_url":"https://avatars.githubusercontent.com/u/12595686?v=3","gravatar_id":"","url":"https://api.github.com/users/Deployer-CIBot","html_url":"https://github.com/Deployer-CIBot","followers_url":"https://api.github.com/users/Deployer-CIBot/followers","following_url":"https://api.github.com/users/Deployer-CIBot/following{/other_user}","gists_url":"https://api.github.com/users/Deployer-CIBot/gists{/gist_id}","starred_url":"https://api.github.com/users/Deployer-CIBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deployer-CIBot/subscriptions","organizations_url":"https://api.github.com/users/Deployer-CIBot/orgs","repos_url":"https://api.github.com/users/Deployer-CIBot/repos","events_url":"https://api.github.com/users/Deployer-CIBot/events{/privacy}","received_events_url":"https://api.github.com/users/Deployer-CIBot/received_events","type":"User","site_admin":false},"body":"Method UpdateApp::verifyInstalled does not have a Docblock comment.","created_at":"2015-10-03T11:59:45Z","updated_at":"2015-10-03T11:59:45Z","html_url":"https://github.com/REBELinBLUE/deployer/pull/109#discussion_r41086428","pull_request_url":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/comments/41086428"},"html":{"href":"https://github.com/REBELinBLUE/deployer/pull/109#discussion_r41086428"},"pull_request":{"href":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/109","id":46702551,"html_url":"https://github.com/REBELinBLUE/deployer/pull/109","diff_url":"https://github.com/REBELinBLUE/deployer/pull/109.diff","patch_url":"https://github.com/REBELinBLUE/deployer/pull/109.patch","issue_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/109","number":109,"state":"open","locked":false,"title":"[WIP] Creating an installer","user":{"login":"REBELinBLUE","id":2143908,"avatar_url":"https://avatars.githubusercontent.com/u/2143908?v=3","gravatar_id":"","url":"https://api.github.com/users/REBELinBLUE","html_url":"https://github.com/REBELinBLUE","followers_url":"https://api.github.com/users/REBELinBLUE/followers","following_url":"https://api.github.com/users/REBELinBLUE/following{/other_user}","gists_url":"https://api.github.com/users/REBELinBLUE/gists{/gist_id}","starred_url":"https://api.github.com/users/REBELinBLUE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/REBELinBLUE/subscriptions","organizations_url":"https://api.github.com/users/REBELinBLUE/orgs","repos_url":"https://api.github.com/users/REBELinBLUE/repos","events_url":"https://api.github.com/users/REBELinBLUE/events{/privacy}","received_events_url":"https://api.github.com/users/REBELinBLUE/received_events","type":"User","site_admin":false},"body":"This creates an installer to allow setup to be done with `php artisan app:install`","created_at":"2015-10-03T09:07:49Z","updated_at":"2015-10-03T11:59:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04a4154a814784b73f337f52fc376fd4a2fbf755","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/109/commits","review_comments_url":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/109/comments","review_comment_url":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/109/comments","statuses_url":"https://api.github.com/repos/REBELinBLUE/deployer/statuses/6375160d0dea81c778ea89c0cd9bb6454359695f","head":{"label":"REBELinBLUE:installer","ref":"installer","sha":"6375160d0dea81c778ea89c0cd9bb6454359695f","user":{"login":"REBELinBLUE","id":2143908,"avatar_url":"https://avatars.githubusercontent.com/u/2143908?v=3","gravatar_id":"","url":"https://api.github.com/users/REBELinBLUE","html_url":"https://github.com/REBELinBLUE","followers_url":"https://api.github.com/users/REBELinBLUE/followers","following_url":"https://api.github.com/users/REBELinBLUE/following{/other_user}","gists_url":"https://api.github.com/users/REBELinBLUE/gists{/gist_id}","starred_url":"https://api.github.com/users/REBELinBLUE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/REBELinBLUE/subscriptions","organizations_url":"https://api.github.com/users/REBELinBLUE/orgs","repos_url":"https://api.github.com/users/REBELinBLUE/repos","events_url":"https://api.github.com/users/REBELinBLUE/events{/privacy}","received_events_url":"https://api.github.com/users/REBELinBLUE/received_events","type":"User","site_admin":false},"repo":{"id":33559148,"name":"deployer","full_name":"REBELinBLUE/deployer","owner":{"login":"REBELinBLUE","id":2143908,"avatar_url":"https://avatars.githubusercontent.com/u/2143908?v=3","gravatar_id":"","url":"https://api.github.com/users/REBELinBLUE","html_url":"https://github.com/REBELinBLUE","followers_url":"https://api.github.com/users/REBELinBLUE/followers","following_url":"https://api.github.com/users/REBELinBLUE/following{/other_user}","gists_url":"https://api.github.com/users/REBELinBLUE/gists{/gist_id}","starred_url":"https://api.github.com/users/REBELinBLUE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/REBELinBLUE/subscriptions","organizations_url":"https://api.github.com/users/REBELinBLUE/orgs","repos_url":"https://api.github.com/users/REBELinBLUE/repos","events_url":"https://api.github.com/users/REBELinBLUE/events{/privacy}","received_events_url":"https://api.github.com/users/REBELinBLUE/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/REBELinBLUE/deployer","description":"PHP application deployer","fork":false,"url":"https://api.github.com/repos/REBELinBLUE/deployer","forks_url":"https://api.github.com/repos/REBELinBLUE/deployer/forks","keys_url":"https://api.github.com/repos/REBELinBLUE/deployer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/REBELinBLUE/deployer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/REBELinBLUE/deployer/teams","hooks_url":"https://api.github.com/repos/REBELinBLUE/deployer/hooks","issue_events_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/events{/number}","events_url":"https://api.github.com/repos/REBELinBLUE/deployer/events","assignees_url":"https://api.github.com/repos/REBELinBLUE/deployer/assignees{/user}","branches_url":"https://api.github.com/repos/REBELinBLUE/deployer/branches{/branch}","tags_url":"https://api.github.com/repos/REBELinBLUE/deployer/tags","blobs_url":"https://api.github.com/repos/REBELinBLUE/deployer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/REBELinBLUE/deployer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/REBELinBLUE/deployer/git/refs{/sha}","trees_url":"https://api.github.com/repos/REBELinBLUE/deployer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/REBELinBLUE/deployer/statuses/{sha}","languages_url":"https://api.github.com/repos/REBELinBLUE/deployer/languages","stargazers_url":"https://api.github.com/repos/REBELinBLUE/deployer/stargazers","contributors_url":"https://api.github.com/repos/REBELinBLUE/deployer/contributors","subscribers_url":"https://api.github.com/repos/REBELinBLUE/deployer/subscribers","subscription_url":"https://api.github.com/repos/REBELinBLUE/deployer/subscription","commits_url":"https://api.github.com/repos/REBELinBLUE/deployer/commits{/sha}","git_commits_url":"https://api.github.com/repos/REBELinBLUE/deployer/git/commits{/sha}","comments_url":"https://api.github.com/repos/REBELinBLUE/deployer/comments{/number}","issue_comment_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/comments{/number}","contents_url":"https://api.github.com/repos/REBELinBLUE/deployer/contents/{+path}","compare_url":"https://api.github.com/repos/REBELinBLUE/deployer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/REBELinBLUE/deployer/merges","archive_url":"https://api.github.com/repos/REBELinBLUE/deployer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/REBELinBLUE/deployer/downloads","issues_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues{/number}","pulls_url":"https://api.github.com/repos/REBELinBLUE/deployer/pulls{/number}","milestones_url":"https://api.github.com/repos/REBELinBLUE/deployer/milestones{/number}","notifications_url":"https://api.github.com/repos/REBELinBLUE/deployer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/REBELinBLUE/deployer/labels{/name}","releases_url":"https://api.github.com/repos/REBELinBLUE/deployer/releases{/id}","created_at":"2015-04-07T17:55:16Z","updated_at":"2015-10-03T10:51:41Z","pushed_at":"2015-10-03T11:54:41Z","git_url":"git://github.com/REBELinBLUE/deployer.git","ssh_url":"git@github.com:REBELinBLUE/deployer.git","clone_url":"https://github.com/REBELinBLUE/deployer.git","svn_url":"https://github.com/REBELinBLUE/deployer","homepage":"http://deployer.rebelinblue.com","size":11422,"stargazers_count":26,"watchers_count":26,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":26,"forks":9,"open_issues":26,"watchers":26,"default_branch":"master"}},"base":{"label":"REBELinBLUE:master","ref":"master","sha":"00744a8fb44764dbcf8b1ca248dad0d1477f5c54","user":{"login":"REBELinBLUE","id":2143908,"avatar_url":"https://avatars.githubusercontent.com/u/2143908?v=3","gravatar_id":"","url":"https://api.github.com/users/REBELinBLUE","html_url":"https://github.com/REBELinBLUE","followers_url":"https://api.github.com/users/REBELinBLUE/followers","following_url":"https://api.github.com/users/REBELinBLUE/following{/other_user}","gists_url":"https://api.github.com/users/REBELinBLUE/gists{/gist_id}","starred_url":"https://api.github.com/users/REBELinBLUE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/REBELinBLUE/subscriptions","organizations_url":"https://api.github.com/users/REBELinBLUE/orgs","repos_url":"https://api.github.com/users/REBELinBLUE/repos","events_url":"https://api.github.com/users/REBELinBLUE/events{/privacy}","received_events_url":"https://api.github.com/users/REBELinBLUE/received_events","type":"User","site_admin":false},"repo":{"id":33559148,"name":"deployer","full_name":"REBELinBLUE/deployer","owner":{"login":"REBELinBLUE","id":2143908,"avatar_url":"https://avatars.githubusercontent.com/u/2143908?v=3","gravatar_id":"","url":"https://api.github.com/users/REBELinBLUE","html_url":"https://github.com/REBELinBLUE","followers_url":"https://api.github.com/users/REBELinBLUE/followers","following_url":"https://api.github.com/users/REBELinBLUE/following{/other_user}","gists_url":"https://api.github.com/users/REBELinBLUE/gists{/gist_id}","starred_url":"https://api.github.com/users/REBELinBLUE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/REBELinBLUE/subscriptions","organizations_url":"https://api.github.com/users/REBELinBLUE/orgs","repos_url":"https://api.github.com/users/REBELinBLUE/repos","events_url":"https://api.github.com/users/REBELinBLUE/events{/privacy}","received_events_url":"https://api.github.com/users/REBELinBLUE/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/REBELinBLUE/deployer","description":"PHP application deployer","fork":false,"url":"https://api.github.com/repos/REBELinBLUE/deployer","forks_url":"https://api.github.com/repos/REBELinBLUE/deployer/forks","keys_url":"https://api.github.com/repos/REBELinBLUE/deployer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/REBELinBLUE/deployer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/REBELinBLUE/deployer/teams","hooks_url":"https://api.github.com/repos/REBELinBLUE/deployer/hooks","issue_events_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/events{/number}","events_url":"https://api.github.com/repos/REBELinBLUE/deployer/events","assignees_url":"https://api.github.com/repos/REBELinBLUE/deployer/assignees{/user}","branches_url":"https://api.github.com/repos/REBELinBLUE/deployer/branches{/branch}","tags_url":"https://api.github.com/repos/REBELinBLUE/deployer/tags","blobs_url":"https://api.github.com/repos/REBELinBLUE/deployer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/REBELinBLUE/deployer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/REBELinBLUE/deployer/git/refs{/sha}","trees_url":"https://api.github.com/repos/REBELinBLUE/deployer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/REBELinBLUE/deployer/statuses/{sha}","languages_url":"https://api.github.com/repos/REBELinBLUE/deployer/languages","stargazers_url":"https://api.github.com/repos/REBELinBLUE/deployer/stargazers","contributors_url":"https://api.github.com/repos/REBELinBLUE/deployer/contributors","subscribers_url":"https://api.github.com/repos/REBELinBLUE/deployer/subscribers","subscription_url":"https://api.github.com/repos/REBELinBLUE/deployer/subscription","commits_url":"https://api.github.com/repos/REBELinBLUE/deployer/commits{/sha}","git_commits_url":"https://api.github.com/repos/REBELinBLUE/deployer/git/commits{/sha}","comments_url":"https://api.github.com/repos/REBELinBLUE/deployer/comments{/number}","issue_comment_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues/comments{/number}","contents_url":"https://api.github.com/repos/REBELinBLUE/deployer/contents/{+path}","compare_url":"https://api.github.com/repos/REBELinBLUE/deployer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/REBELinBLUE/deployer/merges","archive_url":"https://api.github.com/repos/REBELinBLUE/deployer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/REBELinBLUE/deployer/downloads","issues_url":"https://api.github.com/repos/REBELinBLUE/deployer/issues{/number}","pulls_url":"https://api.github.com/repos/REBELinBLUE/deployer/pulls{/number}","milestones_url":"https://api.github.com/repos/REBELinBLUE/deployer/milestones{/number}","notifications_url":"https://api.github.com/repos/REBELinBLUE/deployer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/REBELinBLUE/deployer/labels{/name}","releases_url":"https://api.github.com/repos/REBELinBLUE/deployer/releases{/id}","created_at":"2015-04-07T17:55:16Z","updated_at":"2015-10-03T10:51:41Z","pushed_at":"2015-10-03T11:54:41Z","git_url":"git://github.com/REBELinBLUE/deployer.git","ssh_url":"git@github.com:REBELinBLUE/deployer.git","clone_url":"https://github.com/REBELinBLUE/deployer.git","svn_url":"https://github.com/REBELinBLUE/deployer","homepage":"http://deployer.rebelinblue.com","size":11422,"stargazers_count":26,"watchers_count":26,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":26,"forks":9,"open_issues":26,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/109"},"html":{"href":"https://github.com/REBELinBLUE/deployer/pull/109"},"issue":{"href":"https://api.github.com/repos/REBELinBLUE/deployer/issues/109"},"comments":{"href":"https://api.github.com/repos/REBELinBLUE/deployer/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/REBELinBLUE/deployer/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/REBELinBLUE/deployer/statuses/6375160d0dea81c778ea89c0cd9bb6454359695f"}}}}