{"action":"created","comment":{"url":"https://api.github.com/repos/nexB/scancode-server/pulls/comments/145485783","pull_request_review_id":70293541,"id":145485783,"diff_hunk":"@@ -108,29 +110,39 @@ class License(models.Model):\n     \"\"\"\n     Represent a license as detected in a file\n     \"\"\"\n+\n     def __str__(self):\n         return self.key\n \n     scanned_file = models.ForeignKey(ScannedFile)\n     key = models.CharField(max_length=200, help_text='Key of license')\n     score = models.IntegerField(help_text='Score of license')\n-    short_name = models.CharField(max_length=200, help_text='Short name of the license')","path":"scanapp/models.py","position":27,"original_position":27,"commit_id":"ad541fe400e720317a96f9ae02e41e2ce8a33f36","original_commit_id":"ad541fe400e720317a96f9ae02e41e2ce8a33f36","user":{"login":"pombredanne","id":675997,"avatar_url":"https://avatars2.githubusercontent.com/u/675997?v=4","gravatar_id":"","url":"https://api.github.com/users/pombredanne","html_url":"https://github.com/pombredanne","followers_url":"https://api.github.com/users/pombredanne/followers","following_url":"https://api.github.com/users/pombredanne/following{/other_user}","gists_url":"https://api.github.com/users/pombredanne/gists{/gist_id}","starred_url":"https://api.github.com/users/pombredanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pombredanne/subscriptions","organizations_url":"https://api.github.com/users/pombredanne/orgs","repos_url":"https://api.github.com/users/pombredanne/repos","events_url":"https://api.github.com/users/pombredanne/events{/privacy}","received_events_url":"https://api.github.com/users/pombredanne/received_events","type":"User","site_admin":false},"body":"I did not see any of the proposed line breakings that made the code more beautiful and easier to read.","created_at":"2017-10-18T17:30:36Z","updated_at":"2017-10-18T17:30:36Z","html_url":"https://github.com/nexB/scancode-server/pull/104#discussion_r145485783","pull_request_url":"https://api.github.com/repos/nexB/scancode-server/pulls/104","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/nexB/scancode-server/pulls/comments/145485783"},"html":{"href":"https://github.com/nexB/scancode-server/pull/104#discussion_r145485783"},"pull_request":{"href":"https://api.github.com/repos/nexB/scancode-server/pulls/104"}},"in_reply_to_id":145464403},"pull_request":{"url":"https://api.github.com/repos/nexB/scancode-server/pulls/104","id":146644394,"html_url":"https://github.com/nexB/scancode-server/pull/104","diff_url":"https://github.com/nexB/scancode-server/pull/104.diff","patch_url":"https://github.com/nexB/scancode-server/pull/104.patch","issue_url":"https://api.github.com/repos/nexB/scancode-server/issues/104","number":104,"state":"open","locked":false,"title":"Reformatted codebase to follow pep8 guidelines","user":{"login":"Monal5031","id":21009189,"avatar_url":"https://avatars0.githubusercontent.com/u/21009189?v=4","gravatar_id":"","url":"https://api.github.com/users/Monal5031","html_url":"https://github.com/Monal5031","followers_url":"https://api.github.com/users/Monal5031/followers","following_url":"https://api.github.com/users/Monal5031/following{/other_user}","gists_url":"https://api.github.com/users/Monal5031/gists{/gist_id}","starred_url":"https://api.github.com/users/Monal5031/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Monal5031/subscriptions","organizations_url":"https://api.github.com/users/Monal5031/orgs","repos_url":"https://api.github.com/users/Monal5031/repos","events_url":"https://api.github.com/users/Monal5031/events{/privacy}","received_events_url":"https://api.github.com/users/Monal5031/received_events","type":"User","site_admin":false},"body":"Used coala to fix all formatting issues locally.\r\nIntegrated coala with travis to raise formatting issues in PR itself from now on.\r\n\r\nFixes #101","created_at":"2017-10-15T10:57:54Z","updated_at":"2017-10-18T17:30:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85a093b347ea0ed1653af452be17574f3b3de20a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/nexB/scancode-server/pulls/104/commits","review_comments_url":"https://api.github.com/repos/nexB/scancode-server/pulls/104/comments","review_comment_url":"https://api.github.com/repos/nexB/scancode-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nexB/scancode-server/issues/104/comments","statuses_url":"https://api.github.com/repos/nexB/scancode-server/statuses/ad541fe400e720317a96f9ae02e41e2ce8a33f36","head":{"label":"Monal5031:issue#101","ref":"issue#101","sha":"ad541fe400e720317a96f9ae02e41e2ce8a33f36","user":{"login":"Monal5031","id":21009189,"avatar_url":"https://avatars0.githubusercontent.com/u/21009189?v=4","gravatar_id":"","url":"https://api.github.com/users/Monal5031","html_url":"https://github.com/Monal5031","followers_url":"https://api.github.com/users/Monal5031/followers","following_url":"https://api.github.com/users/Monal5031/following{/other_user}","gists_url":"https://api.github.com/users/Monal5031/gists{/gist_id}","starred_url":"https://api.github.com/users/Monal5031/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Monal5031/subscriptions","organizations_url":"https://api.github.com/users/Monal5031/orgs","repos_url":"https://api.github.com/users/Monal5031/repos","events_url":"https://api.github.com/users/Monal5031/events{/privacy}","received_events_url":"https://api.github.com/users/Monal5031/received_events","type":"User","site_admin":false},"repo":{"id":105054814,"name":"scancode-server","full_name":"Monal5031/scancode-server","owner":{"login":"Monal5031","id":21009189,"avatar_url":"https://avatars0.githubusercontent.com/u/21009189?v=4","gravatar_id":"","url":"https://api.github.com/users/Monal5031","html_url":"https://github.com/Monal5031","followers_url":"https://api.github.com/users/Monal5031/followers","following_url":"https://api.github.com/users/Monal5031/following{/other_user}","gists_url":"https://api.github.com/users/Monal5031/gists{/gist_id}","starred_url":"https://api.github.com/users/Monal5031/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Monal5031/subscriptions","organizations_url":"https://api.github.com/users/Monal5031/orgs","repos_url":"https://api.github.com/users/Monal5031/repos","events_url":"https://api.github.com/users/Monal5031/events{/privacy}","received_events_url":"https://api.github.com/users/Monal5031/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Monal5031/scancode-server","description":null,"fork":true,"url":"https://api.github.com/repos/Monal5031/scancode-server","forks_url":"https://api.github.com/repos/Monal5031/scancode-server/forks","keys_url":"https://api.github.com/repos/Monal5031/scancode-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Monal5031/scancode-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Monal5031/scancode-server/teams","hooks_url":"https://api.github.com/repos/Monal5031/scancode-server/hooks","issue_events_url":"https://api.github.com/repos/Monal5031/scancode-server/issues/events{/number}","events_url":"https://api.github.com/repos/Monal5031/scancode-server/events","assignees_url":"https://api.github.com/repos/Monal5031/scancode-server/assignees{/user}","branches_url":"https://api.github.com/repos/Monal5031/scancode-server/branches{/branch}","tags_url":"https://api.github.com/repos/Monal5031/scancode-server/tags","blobs_url":"https://api.github.com/repos/Monal5031/scancode-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Monal5031/scancode-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Monal5031/scancode-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Monal5031/scancode-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Monal5031/scancode-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Monal5031/scancode-server/languages","stargazers_url":"https://api.github.com/repos/Monal5031/scancode-server/stargazers","contributors_url":"https://api.github.com/repos/Monal5031/scancode-server/contributors","subscribers_url":"https://api.github.com/repos/Monal5031/scancode-server/subscribers","subscription_url":"https://api.github.com/repos/Monal5031/scancode-server/subscription","commits_url":"https://api.github.com/repos/Monal5031/scancode-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Monal5031/scancode-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Monal5031/scancode-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Monal5031/scancode-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Monal5031/scancode-server/contents/{+path}","compare_url":"https://api.github.com/repos/Monal5031/scancode-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Monal5031/scancode-server/merges","archive_url":"https://api.github.com/repos/Monal5031/scancode-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Monal5031/scancode-server/downloads","issues_url":"https://api.github.com/repos/Monal5031/scancode-server/issues{/number}","pulls_url":"https://api.github.com/repos/Monal5031/scancode-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Monal5031/scancode-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Monal5031/scancode-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Monal5031/scancode-server/labels{/name}","releases_url":"https://api.github.com/repos/Monal5031/scancode-server/releases{/id}","deployments_url":"https://api.github.com/repos/Monal5031/scancode-server/deployments","created_at":"2017-09-27T18:32:48Z","updated_at":"2017-09-27T18:32:51Z","pushed_at":"2017-10-18T15:39:36Z","git_url":"git://github.com/Monal5031/scancode-server.git","ssh_url":"git@github.com:Monal5031/scancode-server.git","clone_url":"https://github.com/Monal5031/scancode-server.git","svn_url":"https://github.com/Monal5031/scancode-server","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"develop"}},"base":{"label":"nexB:develop","ref":"develop","sha":"3b44ef7ebe01849cf09688b6f72f391d15ba70a8","user":{"login":"nexB","id":10789967,"avatar_url":"https://avatars3.githubusercontent.com/u/10789967?v=4","gravatar_id":"","url":"https://api.github.com/users/nexB","html_url":"https://github.com/nexB","followers_url":"https://api.github.com/users/nexB/followers","following_url":"https://api.github.com/users/nexB/following{/other_user}","gists_url":"https://api.github.com/users/nexB/gists{/gist_id}","starred_url":"https://api.github.com/users/nexB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nexB/subscriptions","organizations_url":"https://api.github.com/users/nexB/orgs","repos_url":"https://api.github.com/users/nexB/repos","events_url":"https://api.github.com/users/nexB/events{/privacy}","received_events_url":"https://api.github.com/users/nexB/received_events","type":"Organization","site_admin":false},"repo":{"id":91781182,"name":"scancode-server","full_name":"nexB/scancode-server","owner":{"login":"nexB","id":10789967,"avatar_url":"https://avatars3.githubusercontent.com/u/10789967?v=4","gravatar_id":"","url":"https://api.github.com/users/nexB","html_url":"https://github.com/nexB","followers_url":"https://api.github.com/users/nexB/followers","following_url":"https://api.github.com/users/nexB/following{/other_user}","gists_url":"https://api.github.com/users/nexB/gists{/gist_id}","starred_url":"https://api.github.com/users/nexB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nexB/subscriptions","organizations_url":"https://api.github.com/users/nexB/orgs","repos_url":"https://api.github.com/users/nexB/repos","events_url":"https://api.github.com/users/nexB/events{/privacy}","received_events_url":"https://api.github.com/users/nexB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nexB/scancode-server","description":null,"fork":false,"url":"https://api.github.com/repos/nexB/scancode-server","forks_url":"https://api.github.com/repos/nexB/scancode-server/forks","keys_url":"https://api.github.com/repos/nexB/scancode-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nexB/scancode-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nexB/scancode-server/teams","hooks_url":"https://api.github.com/repos/nexB/scancode-server/hooks","issue_events_url":"https://api.github.com/repos/nexB/scancode-server/issues/events{/number}","events_url":"https://api.github.com/repos/nexB/scancode-server/events","assignees_url":"https://api.github.com/repos/nexB/scancode-server/assignees{/user}","branches_url":"https://api.github.com/repos/nexB/scancode-server/branches{/branch}","tags_url":"https://api.github.com/repos/nexB/scancode-server/tags","blobs_url":"https://api.github.com/repos/nexB/scancode-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nexB/scancode-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nexB/scancode-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/nexB/scancode-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nexB/scancode-server/statuses/{sha}","languages_url":"https://api.github.com/repos/nexB/scancode-server/languages","stargazers_url":"https://api.github.com/repos/nexB/scancode-server/stargazers","contributors_url":"https://api.github.com/repos/nexB/scancode-server/contributors","subscribers_url":"https://api.github.com/repos/nexB/scancode-server/subscribers","subscription_url":"https://api.github.com/repos/nexB/scancode-server/subscription","commits_url":"https://api.github.com/repos/nexB/scancode-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/nexB/scancode-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/nexB/scancode-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/nexB/scancode-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/nexB/scancode-server/contents/{+path}","compare_url":"https://api.github.com/repos/nexB/scancode-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nexB/scancode-server/merges","archive_url":"https://api.github.com/repos/nexB/scancode-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nexB/scancode-server/downloads","issues_url":"https://api.github.com/repos/nexB/scancode-server/issues{/number}","pulls_url":"https://api.github.com/repos/nexB/scancode-server/pulls{/number}","milestones_url":"https://api.github.com/repos/nexB/scancode-server/milestones{/number}","notifications_url":"https://api.github.com/repos/nexB/scancode-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nexB/scancode-server/labels{/name}","releases_url":"https://api.github.com/repos/nexB/scancode-server/releases{/id}","deployments_url":"https://api.github.com/repos/nexB/scancode-server/deployments","created_at":"2017-05-19T07:58:14Z","updated_at":"2017-10-06T15:22:27Z","pushed_at":"2017-10-18T15:39:37Z","git_url":"git://github.com/nexB/scancode-server.git","ssh_url":"git@github.com:nexB/scancode-server.git","clone_url":"https://github.com/nexB/scancode-server.git","svn_url":"https://github.com/nexB/scancode-server","homepage":null,"size":150,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":34,"forks":12,"open_issues":34,"watchers":9,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/nexB/scancode-server/pulls/104"},"html":{"href":"https://github.com/nexB/scancode-server/pull/104"},"issue":{"href":"https://api.github.com/repos/nexB/scancode-server/issues/104"},"comments":{"href":"https://api.github.com/repos/nexB/scancode-server/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/nexB/scancode-server/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/nexB/scancode-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nexB/scancode-server/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/nexB/scancode-server/statuses/ad541fe400e720317a96f9ae02e41e2ce8a33f36"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"pombredanne"}}