{"action":"created","comment":{"url":"https://api.github.com/repos/coala-analyzer/coala/pulls/comments/72037966","id":72037966,"diff_hunk":"@@ -33,11 +31,11 @@ def install_command(self):\n         \"\"\"\n         Creates the installation command for the instance of the class.\n \n-        :param return: A string with the installation command.\n+        :param return: A list with the installation command parameters.\n         \"\"\"\n-        result = \"{} install {}\".format(self.MANAGER, self.package)\n-        if self.version:\n-            result += \"=={}\".format(self.version)\n+        result = [sys.executable, '-m pip', 'install',","path":"coalib/bears/requirements/PipRequirement.py","position":19,"original_position":19,"commit_id":"4222af14cd39b42415bb753120eb921b231c1709","original_commit_id":"4222af14cd39b42415bb753120eb921b231c1709","user":{"login":"sils1297","id":5716520,"avatar_url":"https://avatars.githubusercontent.com/u/5716520?v=3","gravatar_id":"","url":"https://api.github.com/users/sils1297","html_url":"https://github.com/sils1297","followers_url":"https://api.github.com/users/sils1297/followers","following_url":"https://api.github.com/users/sils1297/following{/other_user}","gists_url":"https://api.github.com/users/sils1297/gists{/gist_id}","starred_url":"https://api.github.com/users/sils1297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sils1297/subscriptions","organizations_url":"https://api.github.com/users/sils1297/orgs","repos_url":"https://api.github.com/users/sils1297/repos","events_url":"https://api.github.com/users/sils1297/events{/privacy}","received_events_url":"https://api.github.com/users/sils1297/received_events","type":"User","site_admin":false},"body":"ok I'm super sorry, I told you some nonsense! Apparently you have to split the arguments, i.e. `[sys.executable, '-m', 'pip', ...`\r\n\r\nI don't fully understand this yet, I think you basically give the `sys.args` list in which `-m` and `something` could be different things. If you'd invoke a program like `program -u \"hell yeah\"` you could also do `subprocess.call(['program', '-u', 'hell yeah'])`.","created_at":"2016-07-25T10:00:54Z","updated_at":"2016-07-25T10:00:54Z","html_url":"https://github.com/coala-analyzer/coala/pull/2562#discussion_r72037966","pull_request_url":"https://api.github.com/repos/coala-analyzer/coala/pulls/2562","_links":{"self":{"href":"https://api.github.com/repos/coala-analyzer/coala/pulls/comments/72037966"},"html":{"href":"https://github.com/coala-analyzer/coala/pull/2562#discussion_r72037966"},"pull_request":{"href":"https://api.github.com/repos/coala-analyzer/coala/pulls/2562"}}},"pull_request":{"url":"https://api.github.com/repos/coala-analyzer/coala/pulls/2562","id":78612651,"html_url":"https://github.com/coala-analyzer/coala/pull/2562","diff_url":"https://github.com/coala-analyzer/coala/pull/2562.diff","patch_url":"https://github.com/coala-analyzer/coala/pull/2562.patch","issue_url":"https://api.github.com/repos/coala-analyzer/coala/issues/2562","number":2562,"state":"open","locked":false,"title":"Requirements: Install_command returns a list","user":{"login":"Adrianzatreanu","id":15572459,"avatar_url":"https://avatars.githubusercontent.com/u/15572459?v=3","gravatar_id":"","url":"https://api.github.com/users/Adrianzatreanu","html_url":"https://github.com/Adrianzatreanu","followers_url":"https://api.github.com/users/Adrianzatreanu/followers","following_url":"https://api.github.com/users/Adrianzatreanu/following{/other_user}","gists_url":"https://api.github.com/users/Adrianzatreanu/gists{/gist_id}","starred_url":"https://api.github.com/users/Adrianzatreanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adrianzatreanu/subscriptions","organizations_url":"https://api.github.com/users/Adrianzatreanu/orgs","repos_url":"https://api.github.com/users/Adrianzatreanu/repos","events_url":"https://api.github.com/users/Adrianzatreanu/events{/privacy}","received_events_url":"https://api.github.com/users/Adrianzatreanu/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-24T23:04:53Z","updated_at":"2016-07-25T10:00:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07a9910a1361d9e4101729f52a67dfbea4305412","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/coala-analyzer/coala/pulls/2562/commits","review_comments_url":"https://api.github.com/repos/coala-analyzer/coala/pulls/2562/comments","review_comment_url":"https://api.github.com/repos/coala-analyzer/coala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coala-analyzer/coala/issues/2562/comments","statuses_url":"https://api.github.com/repos/coala-analyzer/coala/statuses/4222af14cd39b42415bb753120eb921b231c1709","head":{"label":"Adrianzatreanu:codecov","ref":"codecov","sha":"4222af14cd39b42415bb753120eb921b231c1709","user":{"login":"Adrianzatreanu","id":15572459,"avatar_url":"https://avatars.githubusercontent.com/u/15572459?v=3","gravatar_id":"","url":"https://api.github.com/users/Adrianzatreanu","html_url":"https://github.com/Adrianzatreanu","followers_url":"https://api.github.com/users/Adrianzatreanu/followers","following_url":"https://api.github.com/users/Adrianzatreanu/following{/other_user}","gists_url":"https://api.github.com/users/Adrianzatreanu/gists{/gist_id}","starred_url":"https://api.github.com/users/Adrianzatreanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adrianzatreanu/subscriptions","organizations_url":"https://api.github.com/users/Adrianzatreanu/orgs","repos_url":"https://api.github.com/users/Adrianzatreanu/repos","events_url":"https://api.github.com/users/Adrianzatreanu/events{/privacy}","received_events_url":"https://api.github.com/users/Adrianzatreanu/received_events","type":"User","site_admin":false},"repo":{"id":52313604,"name":"coala","full_name":"Adrianzatreanu/coala","owner":{"login":"Adrianzatreanu","id":15572459,"avatar_url":"https://avatars.githubusercontent.com/u/15572459?v=3","gravatar_id":"","url":"https://api.github.com/users/Adrianzatreanu","html_url":"https://github.com/Adrianzatreanu","followers_url":"https://api.github.com/users/Adrianzatreanu/followers","following_url":"https://api.github.com/users/Adrianzatreanu/following{/other_user}","gists_url":"https://api.github.com/users/Adrianzatreanu/gists{/gist_id}","starred_url":"https://api.github.com/users/Adrianzatreanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adrianzatreanu/subscriptions","organizations_url":"https://api.github.com/users/Adrianzatreanu/orgs","repos_url":"https://api.github.com/users/Adrianzatreanu/repos","events_url":"https://api.github.com/users/Adrianzatreanu/events{/privacy}","received_events_url":"https://api.github.com/users/Adrianzatreanu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Adrianzatreanu/coala","description":"Easy to use COde AnaLysis Application - yes! For all languages!","fork":true,"url":"https://api.github.com/repos/Adrianzatreanu/coala","forks_url":"https://api.github.com/repos/Adrianzatreanu/coala/forks","keys_url":"https://api.github.com/repos/Adrianzatreanu/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Adrianzatreanu/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Adrianzatreanu/coala/teams","hooks_url":"https://api.github.com/repos/Adrianzatreanu/coala/hooks","issue_events_url":"https://api.github.com/repos/Adrianzatreanu/coala/issues/events{/number}","events_url":"https://api.github.com/repos/Adrianzatreanu/coala/events","assignees_url":"https://api.github.com/repos/Adrianzatreanu/coala/assignees{/user}","branches_url":"https://api.github.com/repos/Adrianzatreanu/coala/branches{/branch}","tags_url":"https://api.github.com/repos/Adrianzatreanu/coala/tags","blobs_url":"https://api.github.com/repos/Adrianzatreanu/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Adrianzatreanu/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Adrianzatreanu/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/Adrianzatreanu/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Adrianzatreanu/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/Adrianzatreanu/coala/languages","stargazers_url":"https://api.github.com/repos/Adrianzatreanu/coala/stargazers","contributors_url":"https://api.github.com/repos/Adrianzatreanu/coala/contributors","subscribers_url":"https://api.github.com/repos/Adrianzatreanu/coala/subscribers","subscription_url":"https://api.github.com/repos/Adrianzatreanu/coala/subscription","commits_url":"https://api.github.com/repos/Adrianzatreanu/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/Adrianzatreanu/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/Adrianzatreanu/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/Adrianzatreanu/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/Adrianzatreanu/coala/contents/{+path}","compare_url":"https://api.github.com/repos/Adrianzatreanu/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Adrianzatreanu/coala/merges","archive_url":"https://api.github.com/repos/Adrianzatreanu/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Adrianzatreanu/coala/downloads","issues_url":"https://api.github.com/repos/Adrianzatreanu/coala/issues{/number}","pulls_url":"https://api.github.com/repos/Adrianzatreanu/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/Adrianzatreanu/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/Adrianzatreanu/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Adrianzatreanu/coala/labels{/name}","releases_url":"https://api.github.com/repos/Adrianzatreanu/coala/releases{/id}","deployments_url":"https://api.github.com/repos/Adrianzatreanu/coala/deployments","created_at":"2016-02-22T23:21:25Z","updated_at":"2016-02-22T23:21:27Z","pushed_at":"2016-07-24T23:35:17Z","git_url":"git://github.com/Adrianzatreanu/coala.git","ssh_url":"git@github.com:Adrianzatreanu/coala.git","clone_url":"https://github.com/Adrianzatreanu/coala.git","svn_url":"https://github.com/Adrianzatreanu/coala","homepage":"http://coala-analyzer.org/","size":9902,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"coala-analyzer:master","ref":"master","sha":"ac2d5362488bb59c8137f99251c6941889f48e1e","user":{"login":"coala-analyzer","id":10620750,"avatar_url":"https://avatars.githubusercontent.com/u/10620750?v=3","gravatar_id":"","url":"https://api.github.com/users/coala-analyzer","html_url":"https://github.com/coala-analyzer","followers_url":"https://api.github.com/users/coala-analyzer/followers","following_url":"https://api.github.com/users/coala-analyzer/following{/other_user}","gists_url":"https://api.github.com/users/coala-analyzer/gists{/gist_id}","starred_url":"https://api.github.com/users/coala-analyzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala-analyzer/subscriptions","organizations_url":"https://api.github.com/users/coala-analyzer/orgs","repos_url":"https://api.github.com/users/coala-analyzer/repos","events_url":"https://api.github.com/users/coala-analyzer/events{/privacy}","received_events_url":"https://api.github.com/users/coala-analyzer/received_events","type":"Organization","site_admin":false},"repo":{"id":19816973,"name":"coala","full_name":"coala-analyzer/coala","owner":{"login":"coala-analyzer","id":10620750,"avatar_url":"https://avatars.githubusercontent.com/u/10620750?v=3","gravatar_id":"","url":"https://api.github.com/users/coala-analyzer","html_url":"https://github.com/coala-analyzer","followers_url":"https://api.github.com/users/coala-analyzer/followers","following_url":"https://api.github.com/users/coala-analyzer/following{/other_user}","gists_url":"https://api.github.com/users/coala-analyzer/gists{/gist_id}","starred_url":"https://api.github.com/users/coala-analyzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala-analyzer/subscriptions","organizations_url":"https://api.github.com/users/coala-analyzer/orgs","repos_url":"https://api.github.com/users/coala-analyzer/repos","events_url":"https://api.github.com/users/coala-analyzer/events{/privacy}","received_events_url":"https://api.github.com/users/coala-analyzer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coala-analyzer/coala","description":"Easy to use code analysis framework/application - yes! For all languages!","fork":false,"url":"https://api.github.com/repos/coala-analyzer/coala","forks_url":"https://api.github.com/repos/coala-analyzer/coala/forks","keys_url":"https://api.github.com/repos/coala-analyzer/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coala-analyzer/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coala-analyzer/coala/teams","hooks_url":"https://api.github.com/repos/coala-analyzer/coala/hooks","issue_events_url":"https://api.github.com/repos/coala-analyzer/coala/issues/events{/number}","events_url":"https://api.github.com/repos/coala-analyzer/coala/events","assignees_url":"https://api.github.com/repos/coala-analyzer/coala/assignees{/user}","branches_url":"https://api.github.com/repos/coala-analyzer/coala/branches{/branch}","tags_url":"https://api.github.com/repos/coala-analyzer/coala/tags","blobs_url":"https://api.github.com/repos/coala-analyzer/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coala-analyzer/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coala-analyzer/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/coala-analyzer/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coala-analyzer/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/coala-analyzer/coala/languages","stargazers_url":"https://api.github.com/repos/coala-analyzer/coala/stargazers","contributors_url":"https://api.github.com/repos/coala-analyzer/coala/contributors","subscribers_url":"https://api.github.com/repos/coala-analyzer/coala/subscribers","subscription_url":"https://api.github.com/repos/coala-analyzer/coala/subscription","commits_url":"https://api.github.com/repos/coala-analyzer/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/coala-analyzer/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/coala-analyzer/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/coala-analyzer/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/coala-analyzer/coala/contents/{+path}","compare_url":"https://api.github.com/repos/coala-analyzer/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coala-analyzer/coala/merges","archive_url":"https://api.github.com/repos/coala-analyzer/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coala-analyzer/coala/downloads","issues_url":"https://api.github.com/repos/coala-analyzer/coala/issues{/number}","pulls_url":"https://api.github.com/repos/coala-analyzer/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/coala-analyzer/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/coala-analyzer/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coala-analyzer/coala/labels{/name}","releases_url":"https://api.github.com/repos/coala-analyzer/coala/releases{/id}","deployments_url":"https://api.github.com/repos/coala-analyzer/coala/deployments","created_at":"2014-05-15T11:35:34Z","updated_at":"2016-07-24T15:47:45Z","pushed_at":"2016-07-25T09:54:29Z","git_url":"git://github.com/coala-analyzer/coala.git","ssh_url":"git@github.com:coala-analyzer/coala.git","clone_url":"https://github.com/coala-analyzer/coala.git","svn_url":"https://github.com/coala-analyzer/coala","homepage":"http://coala-analyzer.org/","size":12028,"stargazers_count":266,"watchers_count":266,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":166,"mirror_url":null,"open_issues_count":255,"forks":166,"open_issues":255,"watchers":266,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala-analyzer/coala/pulls/2562"},"html":{"href":"https://github.com/coala-analyzer/coala/pull/2562"},"issue":{"href":"https://api.github.com/repos/coala-analyzer/coala/issues/2562"},"comments":{"href":"https://api.github.com/repos/coala-analyzer/coala/issues/2562/comments"},"review_comments":{"href":"https://api.github.com/repos/coala-analyzer/coala/pulls/2562/comments"},"review_comment":{"href":"https://api.github.com/repos/coala-analyzer/coala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coala-analyzer/coala/pulls/2562/commits"},"statuses":{"href":"https://api.github.com/repos/coala-analyzer/coala/statuses/4222af14cd39b42415bb753120eb921b231c1709"}}}}
{"actor":{"display_login":"sils1297"}}