{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-installer/pulls/comments/46760815","id":46760815,"diff_hunk":"@@ -0,0 +1,66 @@\n+<?php\n+\n+/*\n+ * This file is part of the Symfony Installer package.\n+ *\n+ * (c) Fabien Potencier <fabien@symfony.com>\n+ *\n+ * For the full copyright and license information, please view the LICENSE\n+ * file that was distributed with this source code.\n+ */\n+\n+namespace Symfony\\Installer;\n+\n+use Symfony\\Component\\Console\\Input\\InputInterface;\n+use Symfony\\Component\\Console\\Output\\OutputInterface;\n+use Symfony\\Component\\Console\\Application as ConsoleApplication;\n+\n+/**\n+ * This is main Symfony Installer console application class.\n+ */\n+class Application extends ConsoleApplication\n+{\n+    const VERSIONS_URL = 'http://get.sensiolabs.org/symfony.version';","path":"src/Symfony/Installer/Application.php","position":null,"original_position":23,"commit_id":"39568917faca434617dab6f967a4bbc1f297d46f","original_commit_id":"5b505301eeacd9addf4906b4822aaa9f6d89bf0f","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"body":"mostly because the last time we worked on the SelfUpdateCommand, SSL was not yet available","created_at":"2015-12-05T17:30:10Z","updated_at":"2015-12-05T17:30:10Z","html_url":"https://github.com/symfony/symfony-installer/pull/221#discussion_r46760815","pull_request_url":"https://api.github.com/repos/symfony/symfony-installer/pulls/221","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-installer/pulls/comments/46760815"},"html":{"href":"https://github.com/symfony/symfony-installer/pull/221#discussion_r46760815"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-installer/pulls/221"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-installer/pulls/221","id":52755737,"html_url":"https://github.com/symfony/symfony-installer/pull/221","diff_url":"https://github.com/symfony/symfony-installer/pull/221.diff","patch_url":"https://github.com/symfony/symfony-installer/pull/221.patch","issue_url":"https://api.github.com/repos/symfony/symfony-installer/issues/221","number":221,"state":"open","locked":false,"title":"Checking that symfony installer is up-to-date","user":{"login":"jzawadzki","id":1220891,"avatar_url":"https://avatars.githubusercontent.com/u/1220891?v=3","gravatar_id":"","url":"https://api.github.com/users/jzawadzki","html_url":"https://github.com/jzawadzki","followers_url":"https://api.github.com/users/jzawadzki/followers","following_url":"https://api.github.com/users/jzawadzki/following{/other_user}","gists_url":"https://api.github.com/users/jzawadzki/gists{/gist_id}","starred_url":"https://api.github.com/users/jzawadzki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzawadzki/subscriptions","organizations_url":"https://api.github.com/users/jzawadzki/orgs","repos_url":"https://api.github.com/users/jzawadzki/repos","events_url":"https://api.github.com/users/jzawadzki/events{/privacy}","received_events_url":"https://api.github.com/users/jzawadzki/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nregarding our discussion in #220 and #136 I'm sending first draft of checking if installer is up-to-date.\r\nI have based my solution of how and when composer is checking it.\r\nPlease comment and tell if this solution is ok and what should I change to make it better!\r\n\r\nThanks,\r\nJZ","created_at":"2015-12-05T14:16:20Z","updated_at":"2015-12-05T17:30:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5efea978292a99256c143eb052380764bf146806","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-installer/pulls/221/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-installer/pulls/221/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony-installer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony-installer/issues/221/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-installer/statuses/39568917faca434617dab6f967a4bbc1f297d46f","head":{"label":"jzawadzki:version-check","ref":"version-check","sha":"39568917faca434617dab6f967a4bbc1f297d46f","user":{"login":"jzawadzki","id":1220891,"avatar_url":"https://avatars.githubusercontent.com/u/1220891?v=3","gravatar_id":"","url":"https://api.github.com/users/jzawadzki","html_url":"https://github.com/jzawadzki","followers_url":"https://api.github.com/users/jzawadzki/followers","following_url":"https://api.github.com/users/jzawadzki/following{/other_user}","gists_url":"https://api.github.com/users/jzawadzki/gists{/gist_id}","starred_url":"https://api.github.com/users/jzawadzki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzawadzki/subscriptions","organizations_url":"https://api.github.com/users/jzawadzki/orgs","repos_url":"https://api.github.com/users/jzawadzki/repos","events_url":"https://api.github.com/users/jzawadzki/events{/privacy}","received_events_url":"https://api.github.com/users/jzawadzki/received_events","type":"User","site_admin":false},"repo":{"id":25325349,"name":"symfony-installer","full_name":"jzawadzki/symfony-installer","owner":{"login":"jzawadzki","id":1220891,"avatar_url":"https://avatars.githubusercontent.com/u/1220891?v=3","gravatar_id":"","url":"https://api.github.com/users/jzawadzki","html_url":"https://github.com/jzawadzki","followers_url":"https://api.github.com/users/jzawadzki/followers","following_url":"https://api.github.com/users/jzawadzki/following{/other_user}","gists_url":"https://api.github.com/users/jzawadzki/gists{/gist_id}","starred_url":"https://api.github.com/users/jzawadzki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzawadzki/subscriptions","organizations_url":"https://api.github.com/users/jzawadzki/orgs","repos_url":"https://api.github.com/users/jzawadzki/repos","events_url":"https://api.github.com/users/jzawadzki/events{/privacy}","received_events_url":"https://api.github.com/users/jzawadzki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jzawadzki/symfony-installer","description":"The Symfony Installer","fork":true,"url":"https://api.github.com/repos/jzawadzki/symfony-installer","forks_url":"https://api.github.com/repos/jzawadzki/symfony-installer/forks","keys_url":"https://api.github.com/repos/jzawadzki/symfony-installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jzawadzki/symfony-installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jzawadzki/symfony-installer/teams","hooks_url":"https://api.github.com/repos/jzawadzki/symfony-installer/hooks","issue_events_url":"https://api.github.com/repos/jzawadzki/symfony-installer/issues/events{/number}","events_url":"https://api.github.com/repos/jzawadzki/symfony-installer/events","assignees_url":"https://api.github.com/repos/jzawadzki/symfony-installer/assignees{/user}","branches_url":"https://api.github.com/repos/jzawadzki/symfony-installer/branches{/branch}","tags_url":"https://api.github.com/repos/jzawadzki/symfony-installer/tags","blobs_url":"https://api.github.com/repos/jzawadzki/symfony-installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jzawadzki/symfony-installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jzawadzki/symfony-installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jzawadzki/symfony-installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jzawadzki/symfony-installer/statuses/{sha}","languages_url":"https://api.github.com/repos/jzawadzki/symfony-installer/languages","stargazers_url":"https://api.github.com/repos/jzawadzki/symfony-installer/stargazers","contributors_url":"https://api.github.com/repos/jzawadzki/symfony-installer/contributors","subscribers_url":"https://api.github.com/repos/jzawadzki/symfony-installer/subscribers","subscription_url":"https://api.github.com/repos/jzawadzki/symfony-installer/subscription","commits_url":"https://api.github.com/repos/jzawadzki/symfony-installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jzawadzki/symfony-installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jzawadzki/symfony-installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jzawadzki/symfony-installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jzawadzki/symfony-installer/contents/{+path}","compare_url":"https://api.github.com/repos/jzawadzki/symfony-installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jzawadzki/symfony-installer/merges","archive_url":"https://api.github.com/repos/jzawadzki/symfony-installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jzawadzki/symfony-installer/downloads","issues_url":"https://api.github.com/repos/jzawadzki/symfony-installer/issues{/number}","pulls_url":"https://api.github.com/repos/jzawadzki/symfony-installer/pulls{/number}","milestones_url":"https://api.github.com/repos/jzawadzki/symfony-installer/milestones{/number}","notifications_url":"https://api.github.com/repos/jzawadzki/symfony-installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jzawadzki/symfony-installer/labels{/name}","releases_url":"https://api.github.com/repos/jzawadzki/symfony-installer/releases{/id}","created_at":"2014-10-16T22:37:47Z","updated_at":"2014-12-11T10:48:35Z","pushed_at":"2015-12-05T14:30:16Z","git_url":"git://github.com/jzawadzki/symfony-installer.git","ssh_url":"git@github.com:jzawadzki/symfony-installer.git","clone_url":"https://github.com/jzawadzki/symfony-installer.git","svn_url":"https://github.com/jzawadzki/symfony-installer","homepage":null,"size":242,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"symfony:master","ref":"master","sha":"91e8814fb919f678c29e243cda6b5695981d5abb","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":25295409,"name":"symfony-installer","full_name":"symfony/symfony-installer","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony-installer","description":"The Symfony Installer","fork":false,"url":"https://api.github.com/repos/symfony/symfony-installer","forks_url":"https://api.github.com/repos/symfony/symfony-installer/forks","keys_url":"https://api.github.com/repos/symfony/symfony-installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony-installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony-installer/teams","hooks_url":"https://api.github.com/repos/symfony/symfony-installer/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony-installer/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony-installer/events","assignees_url":"https://api.github.com/repos/symfony/symfony-installer/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony-installer/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony-installer/tags","blobs_url":"https://api.github.com/repos/symfony/symfony-installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony-installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony-installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony-installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony-installer/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony-installer/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony-installer/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony-installer/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony-installer/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony-installer/subscription","commits_url":"https://api.github.com/repos/symfony/symfony-installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony-installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony-installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony-installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony-installer/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony-installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony-installer/merges","archive_url":"https://api.github.com/repos/symfony/symfony-installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony-installer/downloads","issues_url":"https://api.github.com/repos/symfony/symfony-installer/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony-installer/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony-installer/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony-installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony-installer/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony-installer/releases{/id}","created_at":"2014-10-16T09:32:36Z","updated_at":"2015-12-05T09:29:40Z","pushed_at":"2015-12-05T14:30:16Z","git_url":"git://github.com/symfony/symfony-installer.git","ssh_url":"git@github.com:symfony/symfony-installer.git","clone_url":"https://github.com/symfony/symfony-installer.git","svn_url":"https://github.com/symfony/symfony-installer","homepage":null,"size":541,"stargazers_count":239,"watchers_count":239,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":23,"forks":67,"open_issues":23,"watchers":239,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-installer/pulls/221"},"html":{"href":"https://github.com/symfony/symfony-installer/pull/221"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-installer/issues/221"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-installer/issues/221/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-installer/pulls/221/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony-installer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony-installer/pulls/221/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-installer/statuses/39568917faca434617dab6f967a4bbc1f297d46f"}}}}