{"action":"created","comment":{"url":"https://api.github.com/repos/manala/manala/pulls/comments/80233142","id":80233142,"diff_hunk":"@@ -0,0 +1,63 @@\n+<?php\n+\n+/*\n+ * This file is part of the Manala package.\n+ *\n+ * (c) Manala <contact@manala.io>\n+ *\n+ * For the full copyright and license information, please refer to the LICENSE\n+ * file that was distributed with this source code.\n+ */\n+\n+namespace Manala\\Command;\n+\n+use Manala\\Config\\Requirement\\Requirement;\n+use Manala\\Config\\Requirement\\RequirementChecker;\n+use Manala\\Config\\Requirement\\RequirementViolationList;\n+use Symfony\\Component\\Console\\Command\\Command;\n+use Symfony\\Component\\Console\\Input\\InputInterface;\n+use Symfony\\Component\\Console\\Output\\OutputInterface;\n+\n+/**\n+ * Checks if the host's environment meets Manala's requirements (Vagrant, Ansible, etc.).\n+ *\n+ * @author Robin Chalas <robin.chalas@gmail.com>\n+ */\n+class CheckRequirements extends Command\n+{\n+    /**\n+     * {@inheritdoc}\n+     */\n+    protected function configure()\n+    {\n+        $this\n+            ->setName('check_requirements')","path":"src/Command/CheckRequirements.php","position":34,"original_position":34,"commit_id":"4e281e2d2a71c7a1593674198cea9ee3943c229b","original_commit_id":"4e281e2d2a71c7a1593674198cea9ee3943c229b","user":{"login":"ogizanagi","id":2211145,"avatar_url":"https://avatars.githubusercontent.com/u/2211145?v=3","gravatar_id":"","url":"https://api.github.com/users/ogizanagi","html_url":"https://github.com/ogizanagi","followers_url":"https://api.github.com/users/ogizanagi/followers","following_url":"https://api.github.com/users/ogizanagi/following{/other_user}","gists_url":"https://api.github.com/users/ogizanagi/gists{/gist_id}","starred_url":"https://api.github.com/users/ogizanagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogizanagi/subscriptions","organizations_url":"https://api.github.com/users/ogizanagi/orgs","repos_url":"https://api.github.com/users/ogizanagi/repos","events_url":"https://api.github.com/users/ogizanagi/events{/privacy}","received_events_url":"https://api.github.com/users/ogizanagi/received_events","type":"User","site_admin":false},"body":"I'll suggest `requirements:check` instead (as the `security:check` command provided by the `sensiolabs/security-checker`)","created_at":"2016-09-23T12:18:28Z","updated_at":"2016-09-23T12:25:54Z","html_url":"https://github.com/manala/manala/pull/19#discussion_r80233142","pull_request_url":"https://api.github.com/repos/manala/manala/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/manala/manala/pulls/comments/80233142"},"html":{"href":"https://github.com/manala/manala/pull/19#discussion_r80233142"},"pull_request":{"href":"https://api.github.com/repos/manala/manala/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/manala/manala/pulls/19","id":86483721,"html_url":"https://github.com/manala/manala/pull/19","diff_url":"https://github.com/manala/manala/pull/19.diff","patch_url":"https://github.com/manala/manala/pull/19.patch","issue_url":"https://api.github.com/repos/manala/manala/issues/19","number":19,"state":"open","locked":false,"title":"[WIP] Add Requirement checks command","user":{"login":"xavier-rdo","id":1587796,"avatar_url":"https://avatars.githubusercontent.com/u/1587796?v=3","gravatar_id":"","url":"https://api.github.com/users/xavier-rdo","html_url":"https://github.com/xavier-rdo","followers_url":"https://api.github.com/users/xavier-rdo/followers","following_url":"https://api.github.com/users/xavier-rdo/following{/other_user}","gists_url":"https://api.github.com/users/xavier-rdo/gists{/gist_id}","starred_url":"https://api.github.com/users/xavier-rdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavier-rdo/subscriptions","organizations_url":"https://api.github.com/users/xavier-rdo/orgs","repos_url":"https://api.github.com/users/xavier-rdo/repos","events_url":"https://api.github.com/users/xavier-rdo/events{/privacy}","received_events_url":"https://api.github.com/users/xavier-rdo/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-23T09:49:30Z","updated_at":"2016-09-23T12:25:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"553fdf7956909d612d1fd332de23154e43a8dddb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/manala/manala/pulls/19/commits","review_comments_url":"https://api.github.com/repos/manala/manala/pulls/19/comments","review_comment_url":"https://api.github.com/repos/manala/manala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/manala/manala/issues/19/comments","statuses_url":"https://api.github.com/repos/manala/manala/statuses/4e281e2d2a71c7a1593674198cea9ee3943c229b","head":{"label":"manala:feature/17-host-requirements","ref":"feature/17-host-requirements","sha":"4e281e2d2a71c7a1593674198cea9ee3943c229b","user":{"login":"manala","id":17640904,"avatar_url":"https://avatars.githubusercontent.com/u/17640904?v=3","gravatar_id":"","url":"https://api.github.com/users/manala","html_url":"https://github.com/manala","followers_url":"https://api.github.com/users/manala/followers","following_url":"https://api.github.com/users/manala/following{/other_user}","gists_url":"https://api.github.com/users/manala/gists{/gist_id}","starred_url":"https://api.github.com/users/manala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manala/subscriptions","organizations_url":"https://api.github.com/users/manala/orgs","repos_url":"https://api.github.com/users/manala/repos","events_url":"https://api.github.com/users/manala/events{/privacy}","received_events_url":"https://api.github.com/users/manala/received_events","type":"Organization","site_admin":false},"repo":{"id":62733701,"name":"manala","full_name":"manala/manala","owner":{"login":"manala","id":17640904,"avatar_url":"https://avatars.githubusercontent.com/u/17640904?v=3","gravatar_id":"","url":"https://api.github.com/users/manala","html_url":"https://github.com/manala","followers_url":"https://api.github.com/users/manala/followers","following_url":"https://api.github.com/users/manala/following{/other_user}","gists_url":"https://api.github.com/users/manala/gists{/gist_id}","starred_url":"https://api.github.com/users/manala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manala/subscriptions","organizations_url":"https://api.github.com/users/manala/orgs","repos_url":"https://api.github.com/users/manala/repos","events_url":"https://api.github.com/users/manala/events{/privacy}","received_events_url":"https://api.github.com/users/manala/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/manala/manala","description":"Entry point of Manala' ansible roles providing vagrants stacks on the fly","fork":false,"url":"https://api.github.com/repos/manala/manala","forks_url":"https://api.github.com/repos/manala/manala/forks","keys_url":"https://api.github.com/repos/manala/manala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/manala/manala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/manala/manala/teams","hooks_url":"https://api.github.com/repos/manala/manala/hooks","issue_events_url":"https://api.github.com/repos/manala/manala/issues/events{/number}","events_url":"https://api.github.com/repos/manala/manala/events","assignees_url":"https://api.github.com/repos/manala/manala/assignees{/user}","branches_url":"https://api.github.com/repos/manala/manala/branches{/branch}","tags_url":"https://api.github.com/repos/manala/manala/tags","blobs_url":"https://api.github.com/repos/manala/manala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/manala/manala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/manala/manala/git/refs{/sha}","trees_url":"https://api.github.com/repos/manala/manala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/manala/manala/statuses/{sha}","languages_url":"https://api.github.com/repos/manala/manala/languages","stargazers_url":"https://api.github.com/repos/manala/manala/stargazers","contributors_url":"https://api.github.com/repos/manala/manala/contributors","subscribers_url":"https://api.github.com/repos/manala/manala/subscribers","subscription_url":"https://api.github.com/repos/manala/manala/subscription","commits_url":"https://api.github.com/repos/manala/manala/commits{/sha}","git_commits_url":"https://api.github.com/repos/manala/manala/git/commits{/sha}","comments_url":"https://api.github.com/repos/manala/manala/comments{/number}","issue_comment_url":"https://api.github.com/repos/manala/manala/issues/comments{/number}","contents_url":"https://api.github.com/repos/manala/manala/contents/{+path}","compare_url":"https://api.github.com/repos/manala/manala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/manala/manala/merges","archive_url":"https://api.github.com/repos/manala/manala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/manala/manala/downloads","issues_url":"https://api.github.com/repos/manala/manala/issues{/number}","pulls_url":"https://api.github.com/repos/manala/manala/pulls{/number}","milestones_url":"https://api.github.com/repos/manala/manala/milestones{/number}","notifications_url":"https://api.github.com/repos/manala/manala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/manala/manala/labels{/name}","releases_url":"https://api.github.com/repos/manala/manala/releases{/id}","deployments_url":"https://api.github.com/repos/manala/manala/deployments","created_at":"2016-07-06T15:49:26Z","updated_at":"2016-09-21T18:30:18Z","pushed_at":"2016-09-23T12:12:07Z","git_url":"git://github.com/manala/manala.git","ssh_url":"git@github.com:manala/manala.git","clone_url":"https://github.com/manala/manala.git","svn_url":"https://github.com/manala/manala","homepage":"http://www.manala.io","size":92,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"manala:master","ref":"master","sha":"3952310facdda3eb817e07651228c9f79ed09afd","user":{"login":"manala","id":17640904,"avatar_url":"https://avatars.githubusercontent.com/u/17640904?v=3","gravatar_id":"","url":"https://api.github.com/users/manala","html_url":"https://github.com/manala","followers_url":"https://api.github.com/users/manala/followers","following_url":"https://api.github.com/users/manala/following{/other_user}","gists_url":"https://api.github.com/users/manala/gists{/gist_id}","starred_url":"https://api.github.com/users/manala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manala/subscriptions","organizations_url":"https://api.github.com/users/manala/orgs","repos_url":"https://api.github.com/users/manala/repos","events_url":"https://api.github.com/users/manala/events{/privacy}","received_events_url":"https://api.github.com/users/manala/received_events","type":"Organization","site_admin":false},"repo":{"id":62733701,"name":"manala","full_name":"manala/manala","owner":{"login":"manala","id":17640904,"avatar_url":"https://avatars.githubusercontent.com/u/17640904?v=3","gravatar_id":"","url":"https://api.github.com/users/manala","html_url":"https://github.com/manala","followers_url":"https://api.github.com/users/manala/followers","following_url":"https://api.github.com/users/manala/following{/other_user}","gists_url":"https://api.github.com/users/manala/gists{/gist_id}","starred_url":"https://api.github.com/users/manala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manala/subscriptions","organizations_url":"https://api.github.com/users/manala/orgs","repos_url":"https://api.github.com/users/manala/repos","events_url":"https://api.github.com/users/manala/events{/privacy}","received_events_url":"https://api.github.com/users/manala/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/manala/manala","description":"Entry point of Manala' ansible roles providing vagrants stacks on the fly","fork":false,"url":"https://api.github.com/repos/manala/manala","forks_url":"https://api.github.com/repos/manala/manala/forks","keys_url":"https://api.github.com/repos/manala/manala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/manala/manala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/manala/manala/teams","hooks_url":"https://api.github.com/repos/manala/manala/hooks","issue_events_url":"https://api.github.com/repos/manala/manala/issues/events{/number}","events_url":"https://api.github.com/repos/manala/manala/events","assignees_url":"https://api.github.com/repos/manala/manala/assignees{/user}","branches_url":"https://api.github.com/repos/manala/manala/branches{/branch}","tags_url":"https://api.github.com/repos/manala/manala/tags","blobs_url":"https://api.github.com/repos/manala/manala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/manala/manala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/manala/manala/git/refs{/sha}","trees_url":"https://api.github.com/repos/manala/manala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/manala/manala/statuses/{sha}","languages_url":"https://api.github.com/repos/manala/manala/languages","stargazers_url":"https://api.github.com/repos/manala/manala/stargazers","contributors_url":"https://api.github.com/repos/manala/manala/contributors","subscribers_url":"https://api.github.com/repos/manala/manala/subscribers","subscription_url":"https://api.github.com/repos/manala/manala/subscription","commits_url":"https://api.github.com/repos/manala/manala/commits{/sha}","git_commits_url":"https://api.github.com/repos/manala/manala/git/commits{/sha}","comments_url":"https://api.github.com/repos/manala/manala/comments{/number}","issue_comment_url":"https://api.github.com/repos/manala/manala/issues/comments{/number}","contents_url":"https://api.github.com/repos/manala/manala/contents/{+path}","compare_url":"https://api.github.com/repos/manala/manala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/manala/manala/merges","archive_url":"https://api.github.com/repos/manala/manala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/manala/manala/downloads","issues_url":"https://api.github.com/repos/manala/manala/issues{/number}","pulls_url":"https://api.github.com/repos/manala/manala/pulls{/number}","milestones_url":"https://api.github.com/repos/manala/manala/milestones{/number}","notifications_url":"https://api.github.com/repos/manala/manala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/manala/manala/labels{/name}","releases_url":"https://api.github.com/repos/manala/manala/releases{/id}","deployments_url":"https://api.github.com/repos/manala/manala/deployments","created_at":"2016-07-06T15:49:26Z","updated_at":"2016-09-21T18:30:18Z","pushed_at":"2016-09-23T12:12:07Z","git_url":"git://github.com/manala/manala.git","ssh_url":"git@github.com:manala/manala.git","clone_url":"https://github.com/manala/manala.git","svn_url":"https://github.com/manala/manala","homepage":"http://www.manala.io","size":92,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/manala/manala/pulls/19"},"html":{"href":"https://github.com/manala/manala/pull/19"},"issue":{"href":"https://api.github.com/repos/manala/manala/issues/19"},"comments":{"href":"https://api.github.com/repos/manala/manala/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/manala/manala/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/manala/manala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/manala/manala/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/manala/manala/statuses/4e281e2d2a71c7a1593674198cea9ee3943c229b"}}}}
{"actor":{"display_login":"ogizanagi"}}