{"action":"closed","number":325,"pull_request":{"url":"https://api.github.com/repos/nexB/scancode-toolkit/pulls/325","id":84723657,"html_url":"https://github.com/nexB/scancode-toolkit/pull/325","diff_url":"https://github.com/nexB/scancode-toolkit/pull/325.diff","patch_url":"https://github.com/nexB/scancode-toolkit/pull/325.patch","issue_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/325","number":325,"state":"closed","locked":false,"title":"#322 Improved data structure using files instead of results","user":{"login":"pombredanne","id":675997,"avatar_url":"https://avatars.githubusercontent.com/u/675997?v=3","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":"This is for #322\r\n * also flatten file infos as file object attributes\r\n * update the json, html and html-app outputs and their tests\r\n\r\n@jdaguil @sesser please review.\r\n\r\nSigned-off-by: Philippe Ombredanne <pombredanne@nexb.com>","created_at":"2016-09-09T21:39:48Z","updated_at":"2016-09-13T15:02:10Z","closed_at":"2016-09-13T15:02:10Z","merged_at":"2016-09-13T15:02:10Z","merge_commit_sha":"5a696f2cb886d7dc02ff2388cbe6cb245662da2d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nexB/scancode-toolkit/pulls/325/commits","review_comments_url":"https://api.github.com/repos/nexB/scancode-toolkit/pulls/325/comments","review_comment_url":"https://api.github.com/repos/nexB/scancode-toolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/325/comments","statuses_url":"https://api.github.com/repos/nexB/scancode-toolkit/statuses/68ae00600d35fd194e9c7a07f8ca855015a592c0","head":{"label":"nexB:322-improved-json-structure","ref":"322-improved-json-structure","sha":"68ae00600d35fd194e9c7a07f8ca855015a592c0","user":{"login":"nexB","id":10789967,"avatar_url":"https://avatars.githubusercontent.com/u/10789967?v=3","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":38373338,"name":"scancode-toolkit","full_name":"nexB/scancode-toolkit","owner":{"login":"nexB","id":10789967,"avatar_url":"https://avatars.githubusercontent.com/u/10789967?v=3","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-toolkit","description":"ScanCode is a tool to scan code and detect licenses, copyrights and more. This open source code scanning tool helps you find and discover open source and third-party components in your code.","fork":false,"url":"https://api.github.com/repos/nexB/scancode-toolkit","forks_url":"https://api.github.com/repos/nexB/scancode-toolkit/forks","keys_url":"https://api.github.com/repos/nexB/scancode-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nexB/scancode-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nexB/scancode-toolkit/teams","hooks_url":"https://api.github.com/repos/nexB/scancode-toolkit/hooks","issue_events_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/nexB/scancode-toolkit/events","assignees_url":"https://api.github.com/repos/nexB/scancode-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/nexB/scancode-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/nexB/scancode-toolkit/tags","blobs_url":"https://api.github.com/repos/nexB/scancode-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nexB/scancode-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nexB/scancode-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/nexB/scancode-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nexB/scancode-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/nexB/scancode-toolkit/languages","stargazers_url":"https://api.github.com/repos/nexB/scancode-toolkit/stargazers","contributors_url":"https://api.github.com/repos/nexB/scancode-toolkit/contributors","subscribers_url":"https://api.github.com/repos/nexB/scancode-toolkit/subscribers","subscription_url":"https://api.github.com/repos/nexB/scancode-toolkit/subscription","commits_url":"https://api.github.com/repos/nexB/scancode-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/nexB/scancode-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/nexB/scancode-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/nexB/scancode-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/nexB/scancode-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nexB/scancode-toolkit/merges","archive_url":"https://api.github.com/repos/nexB/scancode-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nexB/scancode-toolkit/downloads","issues_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/nexB/scancode-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/nexB/scancode-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/nexB/scancode-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nexB/scancode-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/nexB/scancode-toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/nexB/scancode-toolkit/deployments","created_at":"2015-07-01T13:43:06Z","updated_at":"2016-09-04T15:21:48Z","pushed_at":"2016-09-13T15:02:10Z","git_url":"git://github.com/nexB/scancode-toolkit.git","ssh_url":"git@github.com:nexB/scancode-toolkit.git","clone_url":"https://github.com/nexB/scancode-toolkit.git","svn_url":"https://github.com/nexB/scancode-toolkit","homepage":"https://github.com/nexB/scancode-toolkit/releases/latest","size":135963,"stargazers_count":112,"watchers_count":112,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":113,"forks":24,"open_issues":113,"watchers":112,"default_branch":"develop"}},"base":{"label":"nexB:develop","ref":"develop","sha":"e229862af7822ccfbe2f89149d74b1be2e76b5bb","user":{"login":"nexB","id":10789967,"avatar_url":"https://avatars.githubusercontent.com/u/10789967?v=3","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":38373338,"name":"scancode-toolkit","full_name":"nexB/scancode-toolkit","owner":{"login":"nexB","id":10789967,"avatar_url":"https://avatars.githubusercontent.com/u/10789967?v=3","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-toolkit","description":"ScanCode is a tool to scan code and detect licenses, copyrights and more. This open source code scanning tool helps you find and discover open source and third-party components in your code.","fork":false,"url":"https://api.github.com/repos/nexB/scancode-toolkit","forks_url":"https://api.github.com/repos/nexB/scancode-toolkit/forks","keys_url":"https://api.github.com/repos/nexB/scancode-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nexB/scancode-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nexB/scancode-toolkit/teams","hooks_url":"https://api.github.com/repos/nexB/scancode-toolkit/hooks","issue_events_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/nexB/scancode-toolkit/events","assignees_url":"https://api.github.com/repos/nexB/scancode-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/nexB/scancode-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/nexB/scancode-toolkit/tags","blobs_url":"https://api.github.com/repos/nexB/scancode-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nexB/scancode-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nexB/scancode-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/nexB/scancode-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nexB/scancode-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/nexB/scancode-toolkit/languages","stargazers_url":"https://api.github.com/repos/nexB/scancode-toolkit/stargazers","contributors_url":"https://api.github.com/repos/nexB/scancode-toolkit/contributors","subscribers_url":"https://api.github.com/repos/nexB/scancode-toolkit/subscribers","subscription_url":"https://api.github.com/repos/nexB/scancode-toolkit/subscription","commits_url":"https://api.github.com/repos/nexB/scancode-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/nexB/scancode-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/nexB/scancode-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/nexB/scancode-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/nexB/scancode-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nexB/scancode-toolkit/merges","archive_url":"https://api.github.com/repos/nexB/scancode-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nexB/scancode-toolkit/downloads","issues_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/nexB/scancode-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/nexB/scancode-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/nexB/scancode-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nexB/scancode-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/nexB/scancode-toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/nexB/scancode-toolkit/deployments","created_at":"2015-07-01T13:43:06Z","updated_at":"2016-09-04T15:21:48Z","pushed_at":"2016-09-13T15:02:10Z","git_url":"git://github.com/nexB/scancode-toolkit.git","ssh_url":"git@github.com:nexB/scancode-toolkit.git","clone_url":"https://github.com/nexB/scancode-toolkit.git","svn_url":"https://github.com/nexB/scancode-toolkit","homepage":"https://github.com/nexB/scancode-toolkit/releases/latest","size":135963,"stargazers_count":112,"watchers_count":112,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":113,"forks":24,"open_issues":113,"watchers":112,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/nexB/scancode-toolkit/pulls/325"},"html":{"href":"https://github.com/nexB/scancode-toolkit/pull/325"},"issue":{"href":"https://api.github.com/repos/nexB/scancode-toolkit/issues/325"},"comments":{"href":"https://api.github.com/repos/nexB/scancode-toolkit/issues/325/comments"},"review_comments":{"href":"https://api.github.com/repos/nexB/scancode-toolkit/pulls/325/comments"},"review_comment":{"href":"https://api.github.com/repos/nexB/scancode-toolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nexB/scancode-toolkit/pulls/325/commits"},"statuses":{"href":"https://api.github.com/repos/nexB/scancode-toolkit/statuses/68ae00600d35fd194e9c7a07f8ca855015a592c0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pombredanne","id":675997,"avatar_url":"https://avatars.githubusercontent.com/u/675997?v=3","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},"comments":6,"review_comments":0,"commits":1,"additions":816,"deletions":931,"changed_files":12}}
{"actor":{"display_login":"pombredanne"}}