{"action":"created","comment":{"url":"https://api.github.com/repos/pantheon-systems/cli/pulls/comments/36927531","id":36927531,"diff_hunk":"@@ -311,7 +311,7 @@ public function mass_update($args, $assoc_args) {\n       if( $updates->behind > 0 ) {\n         $data[$site->getName()] = array('site'=> $site->getName(), 'status' => \"Needs update\");\n         $noupdatedb = Input::optional($assoc_args, 'updatedb', false);\n-        $update = $noupdatedb ? false : true;\n+        $updatedb = $noupdatedb ? false : true;","path":"php/commands/sites.php","position":5,"original_position":5,"commit_id":"9b55ee2464039baa9e8538d10cbf61a411497fce","original_commit_id":"9b55ee2464039baa9e8538d10cbf61a411497fce","user":{"login":"TeslaDethray","id":868204,"avatar_url":"https://avatars.githubusercontent.com/u/868204?v=3","gravatar_id":"","url":"https://api.github.com/users/TeslaDethray","html_url":"https://github.com/TeslaDethray","followers_url":"https://api.github.com/users/TeslaDethray/followers","following_url":"https://api.github.com/users/TeslaDethray/following{/other_user}","gists_url":"https://api.github.com/users/TeslaDethray/gists{/gist_id}","starred_url":"https://api.github.com/users/TeslaDethray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeslaDethray/subscriptions","organizations_url":"https://api.github.com/users/TeslaDethray/orgs","repos_url":"https://api.github.com/users/TeslaDethray/repos","events_url":"https://api.github.com/users/TeslaDethray/events{/privacy}","received_events_url":"https://api.github.com/users/TeslaDethray/received_events","type":"User","site_admin":false},"body":"`$updatedb = !Input::optional($assoc_args, 'updatedb', false);`","created_at":"2015-08-12T23:37:01Z","updated_at":"2015-08-12T23:37:01Z","html_url":"https://github.com/pantheon-systems/cli/pull/377#discussion_r36927531","pull_request_url":"https://api.github.com/repos/pantheon-systems/cli/pulls/377","_links":{"self":{"href":"https://api.github.com/repos/pantheon-systems/cli/pulls/comments/36927531"},"html":{"href":"https://github.com/pantheon-systems/cli/pull/377#discussion_r36927531"},"pull_request":{"href":"https://api.github.com/repos/pantheon-systems/cli/pulls/377"}}},"pull_request":{"url":"https://api.github.com/repos/pantheon-systems/cli/pulls/377","id":42163932,"html_url":"https://github.com/pantheon-systems/cli/pull/377","diff_url":"https://github.com/pantheon-systems/cli/pull/377.diff","patch_url":"https://github.com/pantheon-systems/cli/pull/377.patch","issue_url":"https://api.github.com/repos/pantheon-systems/cli/issues/377","number":377,"state":"open","locked":false,"title":"Use workflows for `site upstream-updates`; add --updatedb flag","user":{"login":"bensheldon","id":47554,"avatar_url":"https://avatars.githubusercontent.com/u/47554?v=3","gravatar_id":"","url":"https://api.github.com/users/bensheldon","html_url":"https://github.com/bensheldon","followers_url":"https://api.github.com/users/bensheldon/followers","following_url":"https://api.github.com/users/bensheldon/following{/other_user}","gists_url":"https://api.github.com/users/bensheldon/gists{/gist_id}","starred_url":"https://api.github.com/users/bensheldon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensheldon/subscriptions","organizations_url":"https://api.github.com/users/bensheldon/orgs","repos_url":"https://api.github.com/users/bensheldon/repos","events_url":"https://api.github.com/users/bensheldon/events{/privacy}","received_events_url":"https://api.github.com/users/bensheldon/received_events","type":"User","site_admin":false},"body":"Addresses #188. Closes #261. ","created_at":"2015-08-11T18:53:42Z","updated_at":"2015-08-12T23:37:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84a46d309fc6fa21294924c2a3dc908c23c26b6f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pantheon-systems/cli/pulls/377/commits","review_comments_url":"https://api.github.com/repos/pantheon-systems/cli/pulls/377/comments","review_comment_url":"https://api.github.com/repos/pantheon-systems/cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pantheon-systems/cli/issues/377/comments","statuses_url":"https://api.github.com/repos/pantheon-systems/cli/statuses/9b55ee2464039baa9e8538d10cbf61a411497fce","head":{"label":"pantheon-systems:upstream_updates","ref":"upstream_updates","sha":"9b55ee2464039baa9e8538d10cbf61a411497fce","user":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"repo":{"id":17075662,"name":"cli","full_name":"pantheon-systems/cli","owner":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pantheon-systems/cli","description":"The Pantheon CLI — aka Terminus — a standalone utility for performing operations on the Pantheon Platform","fork":false,"url":"https://api.github.com/repos/pantheon-systems/cli","forks_url":"https://api.github.com/repos/pantheon-systems/cli/forks","keys_url":"https://api.github.com/repos/pantheon-systems/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pantheon-systems/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pantheon-systems/cli/teams","hooks_url":"https://api.github.com/repos/pantheon-systems/cli/hooks","issue_events_url":"https://api.github.com/repos/pantheon-systems/cli/issues/events{/number}","events_url":"https://api.github.com/repos/pantheon-systems/cli/events","assignees_url":"https://api.github.com/repos/pantheon-systems/cli/assignees{/user}","branches_url":"https://api.github.com/repos/pantheon-systems/cli/branches{/branch}","tags_url":"https://api.github.com/repos/pantheon-systems/cli/tags","blobs_url":"https://api.github.com/repos/pantheon-systems/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pantheon-systems/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pantheon-systems/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/pantheon-systems/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pantheon-systems/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/pantheon-systems/cli/languages","stargazers_url":"https://api.github.com/repos/pantheon-systems/cli/stargazers","contributors_url":"https://api.github.com/repos/pantheon-systems/cli/contributors","subscribers_url":"https://api.github.com/repos/pantheon-systems/cli/subscribers","subscription_url":"https://api.github.com/repos/pantheon-systems/cli/subscription","commits_url":"https://api.github.com/repos/pantheon-systems/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/pantheon-systems/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/pantheon-systems/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/pantheon-systems/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/pantheon-systems/cli/contents/{+path}","compare_url":"https://api.github.com/repos/pantheon-systems/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pantheon-systems/cli/merges","archive_url":"https://api.github.com/repos/pantheon-systems/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pantheon-systems/cli/downloads","issues_url":"https://api.github.com/repos/pantheon-systems/cli/issues{/number}","pulls_url":"https://api.github.com/repos/pantheon-systems/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/pantheon-systems/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/pantheon-systems/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pantheon-systems/cli/labels{/name}","releases_url":"https://api.github.com/repos/pantheon-systems/cli/releases{/id}","created_at":"2014-02-22T01:37:07Z","updated_at":"2015-08-04T09:46:17Z","pushed_at":"2015-08-12T22:03:54Z","git_url":"git://github.com/pantheon-systems/cli.git","ssh_url":"git@github.com:pantheon-systems/cli.git","clone_url":"https://github.com/pantheon-systems/cli.git","svn_url":"https://github.com/pantheon-systems/cli","homepage":"https://pantheon.io","size":4986,"stargazers_count":69,"watchers_count":69,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":79,"forks":44,"open_issues":79,"watchers":69,"default_branch":"master"}},"base":{"label":"pantheon-systems:master","ref":"master","sha":"b50956033cbe2ccd17c0a8a7b12545f98cc97c81","user":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"repo":{"id":17075662,"name":"cli","full_name":"pantheon-systems/cli","owner":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pantheon-systems/cli","description":"The Pantheon CLI — aka Terminus — a standalone utility for performing operations on the Pantheon Platform","fork":false,"url":"https://api.github.com/repos/pantheon-systems/cli","forks_url":"https://api.github.com/repos/pantheon-systems/cli/forks","keys_url":"https://api.github.com/repos/pantheon-systems/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pantheon-systems/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pantheon-systems/cli/teams","hooks_url":"https://api.github.com/repos/pantheon-systems/cli/hooks","issue_events_url":"https://api.github.com/repos/pantheon-systems/cli/issues/events{/number}","events_url":"https://api.github.com/repos/pantheon-systems/cli/events","assignees_url":"https://api.github.com/repos/pantheon-systems/cli/assignees{/user}","branches_url":"https://api.github.com/repos/pantheon-systems/cli/branches{/branch}","tags_url":"https://api.github.com/repos/pantheon-systems/cli/tags","blobs_url":"https://api.github.com/repos/pantheon-systems/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pantheon-systems/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pantheon-systems/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/pantheon-systems/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pantheon-systems/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/pantheon-systems/cli/languages","stargazers_url":"https://api.github.com/repos/pantheon-systems/cli/stargazers","contributors_url":"https://api.github.com/repos/pantheon-systems/cli/contributors","subscribers_url":"https://api.github.com/repos/pantheon-systems/cli/subscribers","subscription_url":"https://api.github.com/repos/pantheon-systems/cli/subscription","commits_url":"https://api.github.com/repos/pantheon-systems/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/pantheon-systems/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/pantheon-systems/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/pantheon-systems/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/pantheon-systems/cli/contents/{+path}","compare_url":"https://api.github.com/repos/pantheon-systems/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pantheon-systems/cli/merges","archive_url":"https://api.github.com/repos/pantheon-systems/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pantheon-systems/cli/downloads","issues_url":"https://api.github.com/repos/pantheon-systems/cli/issues{/number}","pulls_url":"https://api.github.com/repos/pantheon-systems/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/pantheon-systems/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/pantheon-systems/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pantheon-systems/cli/labels{/name}","releases_url":"https://api.github.com/repos/pantheon-systems/cli/releases{/id}","created_at":"2014-02-22T01:37:07Z","updated_at":"2015-08-04T09:46:17Z","pushed_at":"2015-08-12T22:03:54Z","git_url":"git://github.com/pantheon-systems/cli.git","ssh_url":"git@github.com:pantheon-systems/cli.git","clone_url":"https://github.com/pantheon-systems/cli.git","svn_url":"https://github.com/pantheon-systems/cli","homepage":"https://pantheon.io","size":4986,"stargazers_count":69,"watchers_count":69,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":79,"forks":44,"open_issues":79,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pantheon-systems/cli/pulls/377"},"html":{"href":"https://github.com/pantheon-systems/cli/pull/377"},"issue":{"href":"https://api.github.com/repos/pantheon-systems/cli/issues/377"},"comments":{"href":"https://api.github.com/repos/pantheon-systems/cli/issues/377/comments"},"review_comments":{"href":"https://api.github.com/repos/pantheon-systems/cli/pulls/377/comments"},"review_comment":{"href":"https://api.github.com/repos/pantheon-systems/cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pantheon-systems/cli/pulls/377/commits"},"statuses":{"href":"https://api.github.com/repos/pantheon-systems/cli/statuses/9b55ee2464039baa9e8538d10cbf61a411497fce"}}}}