{"action":"created","comment":{"url":"https://api.github.com/repos/coala/coala-bears/pulls/comments/204204111","pull_request_review_id":139250855,"id":204204111,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDIwNDExMQ==","diff_hunk":"@@ -39,9 +40,9 @@ def test_with_cve_vulnerability(self):\n             self.uut,\n             file_contents,\n             [Result.from_values('PySafetyBear',\n-                                'bottle<0.12.10 is vulnerable '\n-                                'to CVE-2016-9964 and your project '","path":"tests/python/requirements/PySafetyBearWithoutMockTest.py","position":13,"original_position":13,"commit_id":"f92f7b3c91a7c0d9f2819853561495262525eb48","original_commit_id":"f92f7b3c91a7c0d9f2819853561495262525eb48","user":{"login":"RaiVaibhav","id":22278438,"node_id":"MDQ6VXNlcjIyMjc4NDM4","avatar_url":"https://avatars3.githubusercontent.com/u/22278438?v=4","gravatar_id":"","url":"https://api.github.com/users/RaiVaibhav","html_url":"https://github.com/RaiVaibhav","followers_url":"https://api.github.com/users/RaiVaibhav/followers","following_url":"https://api.github.com/users/RaiVaibhav/following{/other_user}","gists_url":"https://api.github.com/users/RaiVaibhav/gists{/gist_id}","starred_url":"https://api.github.com/users/RaiVaibhav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaiVaibhav/subscriptions","organizations_url":"https://api.github.com/users/RaiVaibhav/orgs","repos_url":"https://api.github.com/users/RaiVaibhav/repos","events_url":"https://api.github.com/users/RaiVaibhav/events{/privacy}","received_events_url":"https://api.github.com/users/RaiVaibhav/received_events","type":"User","site_admin":false},"body":"Currenlty safety return Vulnerability class i.e.,\r\n```\r\nclass Vulnerability(namedtuple(\"Vulnerability\",\r\n                               [\"name\", \"spec\", \"version\", \"advisory\", \"vuln_id\"])):\r\n    pass\r\n```\r\n\r\nWhich don't have `cve_key` , One case was I iterate the database one more time to get `cve_key` but seems like one problem here that `safety` also take care that if some user provided a path to database it will fetch from there and these are the logic created inside `safety.check`.","created_at":"2018-07-21T06:44:30Z","updated_at":"2018-07-21T06:44:30Z","html_url":"https://github.com/coala/coala-bears/pull/2626#discussion_r204204111","pull_request_url":"https://api.github.com/repos/coala/coala-bears/pulls/2626","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/coala/coala-bears/pulls/comments/204204111"},"html":{"href":"https://github.com/coala/coala-bears/pull/2626#discussion_r204204111"},"pull_request":{"href":"https://api.github.com/repos/coala/coala-bears/pulls/2626"}},"in_reply_to_id":204195894},"pull_request":{"url":"https://api.github.com/repos/coala/coala-bears/pulls/2626","id":202882298,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyODgyMjk4","html_url":"https://github.com/coala/coala-bears/pull/2626","diff_url":"https://github.com/coala/coala-bears/pull/2626.diff","patch_url":"https://github.com/coala/coala-bears/pull/2626.patch","issue_url":"https://api.github.com/repos/coala/coala-bears/issues/2626","number":2626,"state":"open","locked":false,"title":"PySafetyBear: Update PySafetyBear","user":{"login":"RaiVaibhav","id":22278438,"node_id":"MDQ6VXNlcjIyMjc4NDM4","avatar_url":"https://avatars3.githubusercontent.com/u/22278438?v=4","gravatar_id":"","url":"https://api.github.com/users/RaiVaibhav","html_url":"https://github.com/RaiVaibhav","followers_url":"https://api.github.com/users/RaiVaibhav/followers","following_url":"https://api.github.com/users/RaiVaibhav/following{/other_user}","gists_url":"https://api.github.com/users/RaiVaibhav/gists{/gist_id}","starred_url":"https://api.github.com/users/RaiVaibhav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaiVaibhav/subscriptions","organizations_url":"https://api.github.com/users/RaiVaibhav/orgs","repos_url":"https://api.github.com/users/RaiVaibhav/repos","events_url":"https://api.github.com/users/RaiVaibhav/events{/privacy}","received_events_url":"https://api.github.com/users/RaiVaibhav/received_events","type":"User","site_admin":false},"body":"Update PySafetyBear so that it support the\r\nlatest safety version 1.8.2\r\n\r\nRelated to https://github.com/coala/coala-bears/issues/2511\r\nRelated to https://github.com/coala/coala-bears/issues/1684\r\n","created_at":"2018-07-20T15:25:15Z","updated_at":"2018-07-21T06:44:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4115cae6642e5594df5393ff55228bf28b93f0b5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":329548360,"node_id":"MDU6TGFiZWwzMjk1NDgzNjA=","url":"https://api.github.com/repos/coala/coala-bears/labels/process/wip","name":"process/wip","color":"fbca04","default":false},{"id":327048722,"node_id":"MDU6TGFiZWwzMjcwNDg3MjI=","url":"https://api.github.com/repos/coala/coala-bears/labels/size/S","name":"size/S","color":"B1CF0A","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/coala/coala-bears/pulls/2626/commits","review_comments_url":"https://api.github.com/repos/coala/coala-bears/pulls/2626/comments","review_comment_url":"https://api.github.com/repos/coala/coala-bears/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coala/coala-bears/issues/2626/comments","statuses_url":"https://api.github.com/repos/coala/coala-bears/statuses/f92f7b3c91a7c0d9f2819853561495262525eb48","head":{"label":"RaiVaibhav:safety_upgrade","ref":"safety_upgrade","sha":"f92f7b3c91a7c0d9f2819853561495262525eb48","user":{"login":"RaiVaibhav","id":22278438,"node_id":"MDQ6VXNlcjIyMjc4NDM4","avatar_url":"https://avatars3.githubusercontent.com/u/22278438?v=4","gravatar_id":"","url":"https://api.github.com/users/RaiVaibhav","html_url":"https://github.com/RaiVaibhav","followers_url":"https://api.github.com/users/RaiVaibhav/followers","following_url":"https://api.github.com/users/RaiVaibhav/following{/other_user}","gists_url":"https://api.github.com/users/RaiVaibhav/gists{/gist_id}","starred_url":"https://api.github.com/users/RaiVaibhav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaiVaibhav/subscriptions","organizations_url":"https://api.github.com/users/RaiVaibhav/orgs","repos_url":"https://api.github.com/users/RaiVaibhav/repos","events_url":"https://api.github.com/users/RaiVaibhav/events{/privacy}","received_events_url":"https://api.github.com/users/RaiVaibhav/received_events","type":"User","site_admin":false},"repo":{"id":109475370,"node_id":"MDEwOlJlcG9zaXRvcnkxMDk0NzUzNzA=","name":"coala-bears","full_name":"RaiVaibhav/coala-bears","owner":{"login":"RaiVaibhav","id":22278438,"node_id":"MDQ6VXNlcjIyMjc4NDM4","avatar_url":"https://avatars3.githubusercontent.com/u/22278438?v=4","gravatar_id":"","url":"https://api.github.com/users/RaiVaibhav","html_url":"https://github.com/RaiVaibhav","followers_url":"https://api.github.com/users/RaiVaibhav/followers","following_url":"https://api.github.com/users/RaiVaibhav/following{/other_user}","gists_url":"https://api.github.com/users/RaiVaibhav/gists{/gist_id}","starred_url":"https://api.github.com/users/RaiVaibhav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaiVaibhav/subscriptions","organizations_url":"https://api.github.com/users/RaiVaibhav/orgs","repos_url":"https://api.github.com/users/RaiVaibhav/repos","events_url":"https://api.github.com/users/RaiVaibhav/events{/privacy}","received_events_url":"https://api.github.com/users/RaiVaibhav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RaiVaibhav/coala-bears","description":"Bears for coala","fork":true,"url":"https://api.github.com/repos/RaiVaibhav/coala-bears","forks_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/forks","keys_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/teams","hooks_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/hooks","issue_events_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/issues/events{/number}","events_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/events","assignees_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/assignees{/user}","branches_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/branches{/branch}","tags_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/tags","blobs_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/git/refs{/sha}","trees_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/statuses/{sha}","languages_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/languages","stargazers_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/stargazers","contributors_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/contributors","subscribers_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/subscribers","subscription_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/subscription","commits_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/commits{/sha}","git_commits_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/git/commits{/sha}","comments_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/comments{/number}","issue_comment_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/issues/comments{/number}","contents_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/contents/{+path}","compare_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/merges","archive_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/downloads","issues_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/issues{/number}","pulls_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/pulls{/number}","milestones_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/milestones{/number}","notifications_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/labels{/name}","releases_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/releases{/id}","deployments_url":"https://api.github.com/repos/RaiVaibhav/coala-bears/deployments","created_at":"2017-11-04T07:19:59Z","updated_at":"2018-07-20T11:56:54Z","pushed_at":"2018-07-20T21:17:31Z","git_url":"git://github.com/RaiVaibhav/coala-bears.git","ssh_url":"git@github.com:RaiVaibhav/coala-bears.git","clone_url":"https://github.com/RaiVaibhav/coala-bears.git","svn_url":"https://github.com/RaiVaibhav/coala-bears","homepage":"https://coala.io/","size":2220,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coala:master","ref":"master","sha":"158792e4e131f8104f33daf460823034f5bdb77b","user":{"login":"coala","id":10620750,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjIwNzUw","avatar_url":"https://avatars3.githubusercontent.com/u/10620750?v=4","gravatar_id":"","url":"https://api.github.com/users/coala","html_url":"https://github.com/coala","followers_url":"https://api.github.com/users/coala/followers","following_url":"https://api.github.com/users/coala/following{/other_user}","gists_url":"https://api.github.com/users/coala/gists{/gist_id}","starred_url":"https://api.github.com/users/coala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala/subscriptions","organizations_url":"https://api.github.com/users/coala/orgs","repos_url":"https://api.github.com/users/coala/repos","events_url":"https://api.github.com/users/coala/events{/privacy}","received_events_url":"https://api.github.com/users/coala/received_events","type":"Organization","site_admin":false},"repo":{"id":51688289,"node_id":"MDEwOlJlcG9zaXRvcnk1MTY4ODI4OQ==","name":"coala-bears","full_name":"coala/coala-bears","owner":{"login":"coala","id":10620750,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjIwNzUw","avatar_url":"https://avatars3.githubusercontent.com/u/10620750?v=4","gravatar_id":"","url":"https://api.github.com/users/coala","html_url":"https://github.com/coala","followers_url":"https://api.github.com/users/coala/followers","following_url":"https://api.github.com/users/coala/following{/other_user}","gists_url":"https://api.github.com/users/coala/gists{/gist_id}","starred_url":"https://api.github.com/users/coala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala/subscriptions","organizations_url":"https://api.github.com/users/coala/orgs","repos_url":"https://api.github.com/users/coala/repos","events_url":"https://api.github.com/users/coala/events{/privacy}","received_events_url":"https://api.github.com/users/coala/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coala/coala-bears","description":"Bears for coala","fork":false,"url":"https://api.github.com/repos/coala/coala-bears","forks_url":"https://api.github.com/repos/coala/coala-bears/forks","keys_url":"https://api.github.com/repos/coala/coala-bears/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coala/coala-bears/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coala/coala-bears/teams","hooks_url":"https://api.github.com/repos/coala/coala-bears/hooks","issue_events_url":"https://api.github.com/repos/coala/coala-bears/issues/events{/number}","events_url":"https://api.github.com/repos/coala/coala-bears/events","assignees_url":"https://api.github.com/repos/coala/coala-bears/assignees{/user}","branches_url":"https://api.github.com/repos/coala/coala-bears/branches{/branch}","tags_url":"https://api.github.com/repos/coala/coala-bears/tags","blobs_url":"https://api.github.com/repos/coala/coala-bears/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coala/coala-bears/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coala/coala-bears/git/refs{/sha}","trees_url":"https://api.github.com/repos/coala/coala-bears/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coala/coala-bears/statuses/{sha}","languages_url":"https://api.github.com/repos/coala/coala-bears/languages","stargazers_url":"https://api.github.com/repos/coala/coala-bears/stargazers","contributors_url":"https://api.github.com/repos/coala/coala-bears/contributors","subscribers_url":"https://api.github.com/repos/coala/coala-bears/subscribers","subscription_url":"https://api.github.com/repos/coala/coala-bears/subscription","commits_url":"https://api.github.com/repos/coala/coala-bears/commits{/sha}","git_commits_url":"https://api.github.com/repos/coala/coala-bears/git/commits{/sha}","comments_url":"https://api.github.com/repos/coala/coala-bears/comments{/number}","issue_comment_url":"https://api.github.com/repos/coala/coala-bears/issues/comments{/number}","contents_url":"https://api.github.com/repos/coala/coala-bears/contents/{+path}","compare_url":"https://api.github.com/repos/coala/coala-bears/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coala/coala-bears/merges","archive_url":"https://api.github.com/repos/coala/coala-bears/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coala/coala-bears/downloads","issues_url":"https://api.github.com/repos/coala/coala-bears/issues{/number}","pulls_url":"https://api.github.com/repos/coala/coala-bears/pulls{/number}","milestones_url":"https://api.github.com/repos/coala/coala-bears/milestones{/number}","notifications_url":"https://api.github.com/repos/coala/coala-bears/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coala/coala-bears/labels{/name}","releases_url":"https://api.github.com/repos/coala/coala-bears/releases{/id}","deployments_url":"https://api.github.com/repos/coala/coala-bears/deployments","created_at":"2016-02-14T09:25:11Z","updated_at":"2018-07-16T17:02:20Z","pushed_at":"2018-07-21T06:05:45Z","git_url":"git://github.com/coala/coala-bears.git","ssh_url":"git@github.com:coala/coala-bears.git","clone_url":"https://github.com/coala/coala-bears.git","svn_url":"https://github.com/coala/coala-bears","homepage":"https://coala.io/","size":2219,"stargazers_count":197,"watchers_count":197,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":493,"mirror_url":null,"archived":false,"open_issues_count":665,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":493,"open_issues":665,"watchers":197,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala/coala-bears/pulls/2626"},"html":{"href":"https://github.com/coala/coala-bears/pull/2626"},"issue":{"href":"https://api.github.com/repos/coala/coala-bears/issues/2626"},"comments":{"href":"https://api.github.com/repos/coala/coala-bears/issues/2626/comments"},"review_comments":{"href":"https://api.github.com/repos/coala/coala-bears/pulls/2626/comments"},"review_comment":{"href":"https://api.github.com/repos/coala/coala-bears/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coala/coala-bears/pulls/2626/commits"},"statuses":{"href":"https://api.github.com/repos/coala/coala-bears/statuses/f92f7b3c91a7c0d9f2819853561495262525eb48"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"RaiVaibhav"}}