{"action":"created","comment":{"url":"https://api.github.com/repos/fossas/fossa-cli/pulls/comments/202215530","pull_request_review_id":136872849,"id":202215530,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjIxNTUzMA==","diff_hunk":"@@ -0,0 +1,146 @@\n+package test\n+\n+import (\n+\t\"encoding/json\"\n+\t\"fmt\"\n+\t\"os\"\n+\t\"time\"\n+\n+\t\"github.com/pkg/errors\"\n+\t\"github.com/urfave/cli\"\n+\n+\t\"github.com/fossas/fossa-cli/api\"\n+\t\"github.com/fossas/fossa-cli/api/fossa\"\n+\t\"github.com/fossas/fossa-cli/cmd/fossa/cmdutil\"\n+\t\"github.com/fossas/fossa-cli/cmd/fossa/flags\"\n+\t\"github.com/fossas/fossa-cli/config\"\n+\t\"github.com/fossas/fossa-cli/log\"\n+)\n+\n+var Timeout = \"timeout\"\n+\n+const pollRequestDelay = 8 * time.Second\n+const buildsEndpoint = \"/api/revisions/%s/build\"\n+const revisionsEndpoint = \"/api/revisions/%s\"","path":"cmd/fossa/cmd/test/test.go","position":24,"original_position":24,"commit_id":"94f4c589bd6d9d49fb66237b4359f2130c65a919","original_commit_id":"94f4c589bd6d9d49fb66237b4359f2130c65a919","user":{"login":"golangci","id":35628013,"node_id":"MDQ6VXNlcjM1NjI4MDEz","avatar_url":"https://avatars3.githubusercontent.com/u/35628013?v=4","gravatar_id":"","url":"https://api.github.com/users/golangci","html_url":"https://github.com/golangci","followers_url":"https://api.github.com/users/golangci/followers","following_url":"https://api.github.com/users/golangci/following{/other_user}","gists_url":"https://api.github.com/users/golangci/gists{/gist_id}","starred_url":"https://api.github.com/users/golangci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golangci/subscriptions","organizations_url":"https://api.github.com/users/golangci/orgs","repos_url":"https://api.github.com/users/golangci/repos","events_url":"https://api.github.com/users/golangci/events{/privacy}","received_events_url":"https://api.github.com/users/golangci/received_events","type":"User","site_admin":false},"body":"`revisionsEndpoint` is unused","created_at":"2018-07-13T00:21:39Z","updated_at":"2018-07-13T00:21:40Z","html_url":"https://github.com/fossas/fossa-cli/pull/175#discussion_r202215530","pull_request_url":"https://api.github.com/repos/fossas/fossa-cli/pulls/175","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/fossas/fossa-cli/pulls/comments/202215530"},"html":{"href":"https://github.com/fossas/fossa-cli/pull/175#discussion_r202215530"},"pull_request":{"href":"https://api.github.com/repos/fossas/fossa-cli/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/fossas/fossa-cli/pulls/175","id":201158568,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMTU4NTY4","html_url":"https://github.com/fossas/fossa-cli/pull/175","diff_url":"https://github.com/fossas/fossa-cli/pull/175.diff","patch_url":"https://github.com/fossas/fossa-cli/pull/175.patch","issue_url":"https://api.github.com/repos/fossas/fossa-cli/issues/175","number":175,"state":"open","locked":false,"title":"v0.7.0-beta.1","user":{"login":"ilikebits","id":2092654,"node_id":"MDQ6VXNlcjIwOTI2NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2092654?v=4","gravatar_id":"","url":"https://api.github.com/users/ilikebits","html_url":"https://github.com/ilikebits","followers_url":"https://api.github.com/users/ilikebits/followers","following_url":"https://api.github.com/users/ilikebits/following{/other_user}","gists_url":"https://api.github.com/users/ilikebits/gists{/gist_id}","starred_url":"https://api.github.com/users/ilikebits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilikebits/subscriptions","organizations_url":"https://api.github.com/users/ilikebits/orgs","repos_url":"https://api.github.com/users/ilikebits/repos","events_url":"https://api.github.com/users/ilikebits/events{/privacy}","received_events_url":"https://api.github.com/users/ilikebits/received_events","type":"User","site_admin":false},"body":"This massive PR merges the `v0.7.0` refactor into master.","created_at":"2018-07-13T00:21:21Z","updated_at":"2018-07-13T00:21:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b644b46b4de2bc33cb874e8b73eac77d14fcbec7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fossas/fossa-cli/pulls/175/commits","review_comments_url":"https://api.github.com/repos/fossas/fossa-cli/pulls/175/comments","review_comment_url":"https://api.github.com/repos/fossas/fossa-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossas/fossa-cli/issues/175/comments","statuses_url":"https://api.github.com/repos/fossas/fossa-cli/statuses/94f4c589bd6d9d49fb66237b4359f2130c65a919","head":{"label":"fossas:wip/v0.7.0","ref":"wip/v0.7.0","sha":"94f4c589bd6d9d49fb66237b4359f2130c65a919","user":{"login":"fossas","id":9543448,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1NDM0NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/9543448?v=4","gravatar_id":"","url":"https://api.github.com/users/fossas","html_url":"https://github.com/fossas","followers_url":"https://api.github.com/users/fossas/followers","following_url":"https://api.github.com/users/fossas/following{/other_user}","gists_url":"https://api.github.com/users/fossas/gists{/gist_id}","starred_url":"https://api.github.com/users/fossas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossas/subscriptions","organizations_url":"https://api.github.com/users/fossas/orgs","repos_url":"https://api.github.com/users/fossas/repos","events_url":"https://api.github.com/users/fossas/events{/privacy}","received_events_url":"https://api.github.com/users/fossas/received_events","type":"Organization","site_admin":false},"repo":{"id":116995448,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY5OTU0NDg=","name":"fossa-cli","full_name":"fossas/fossa-cli","owner":{"login":"fossas","id":9543448,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1NDM0NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/9543448?v=4","gravatar_id":"","url":"https://api.github.com/users/fossas","html_url":"https://github.com/fossas","followers_url":"https://api.github.com/users/fossas/followers","following_url":"https://api.github.com/users/fossas/following{/other_user}","gists_url":"https://api.github.com/users/fossas/gists{/gist_id}","starred_url":"https://api.github.com/users/fossas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossas/subscriptions","organizations_url":"https://api.github.com/users/fossas/orgs","repos_url":"https://api.github.com/users/fossas/repos","events_url":"https://api.github.com/users/fossas/events{/privacy}","received_events_url":"https://api.github.com/users/fossas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossas/fossa-cli","description":"Fast, portable and reliable dependency analysis for any codebase.  Supports license reporting, large monoliths and 20+ build systems (go, npm, maven, gems, etc...).","fork":false,"url":"https://api.github.com/repos/fossas/fossa-cli","forks_url":"https://api.github.com/repos/fossas/fossa-cli/forks","keys_url":"https://api.github.com/repos/fossas/fossa-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossas/fossa-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossas/fossa-cli/teams","hooks_url":"https://api.github.com/repos/fossas/fossa-cli/hooks","issue_events_url":"https://api.github.com/repos/fossas/fossa-cli/issues/events{/number}","events_url":"https://api.github.com/repos/fossas/fossa-cli/events","assignees_url":"https://api.github.com/repos/fossas/fossa-cli/assignees{/user}","branches_url":"https://api.github.com/repos/fossas/fossa-cli/branches{/branch}","tags_url":"https://api.github.com/repos/fossas/fossa-cli/tags","blobs_url":"https://api.github.com/repos/fossas/fossa-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossas/fossa-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossas/fossa-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossas/fossa-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossas/fossa-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/fossas/fossa-cli/languages","stargazers_url":"https://api.github.com/repos/fossas/fossa-cli/stargazers","contributors_url":"https://api.github.com/repos/fossas/fossa-cli/contributors","subscribers_url":"https://api.github.com/repos/fossas/fossa-cli/subscribers","subscription_url":"https://api.github.com/repos/fossas/fossa-cli/subscription","commits_url":"https://api.github.com/repos/fossas/fossa-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossas/fossa-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossas/fossa-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossas/fossa-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossas/fossa-cli/contents/{+path}","compare_url":"https://api.github.com/repos/fossas/fossa-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossas/fossa-cli/merges","archive_url":"https://api.github.com/repos/fossas/fossa-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossas/fossa-cli/downloads","issues_url":"https://api.github.com/repos/fossas/fossa-cli/issues{/number}","pulls_url":"https://api.github.com/repos/fossas/fossa-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/fossas/fossa-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/fossas/fossa-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossas/fossa-cli/labels{/name}","releases_url":"https://api.github.com/repos/fossas/fossa-cli/releases{/id}","deployments_url":"https://api.github.com/repos/fossas/fossa-cli/deployments","created_at":"2018-01-10T18:30:32Z","updated_at":"2018-07-12T23:38:50Z","pushed_at":"2018-07-13T00:21:22Z","git_url":"git://github.com/fossas/fossa-cli.git","ssh_url":"git@github.com:fossas/fossa-cli.git","clone_url":"https://github.com/fossas/fossa-cli.git","svn_url":"https://github.com/fossas/fossa-cli","homepage":"https://fossa.io","size":15632,"stargazers_count":493,"watchers_count":493,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":24,"open_issues":52,"watchers":493,"default_branch":"master"}},"base":{"label":"fossas:master","ref":"master","sha":"2588e953bcc5c409893bc2aabce67582f36d1920","user":{"login":"fossas","id":9543448,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1NDM0NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/9543448?v=4","gravatar_id":"","url":"https://api.github.com/users/fossas","html_url":"https://github.com/fossas","followers_url":"https://api.github.com/users/fossas/followers","following_url":"https://api.github.com/users/fossas/following{/other_user}","gists_url":"https://api.github.com/users/fossas/gists{/gist_id}","starred_url":"https://api.github.com/users/fossas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossas/subscriptions","organizations_url":"https://api.github.com/users/fossas/orgs","repos_url":"https://api.github.com/users/fossas/repos","events_url":"https://api.github.com/users/fossas/events{/privacy}","received_events_url":"https://api.github.com/users/fossas/received_events","type":"Organization","site_admin":false},"repo":{"id":116995448,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY5OTU0NDg=","name":"fossa-cli","full_name":"fossas/fossa-cli","owner":{"login":"fossas","id":9543448,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1NDM0NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/9543448?v=4","gravatar_id":"","url":"https://api.github.com/users/fossas","html_url":"https://github.com/fossas","followers_url":"https://api.github.com/users/fossas/followers","following_url":"https://api.github.com/users/fossas/following{/other_user}","gists_url":"https://api.github.com/users/fossas/gists{/gist_id}","starred_url":"https://api.github.com/users/fossas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossas/subscriptions","organizations_url":"https://api.github.com/users/fossas/orgs","repos_url":"https://api.github.com/users/fossas/repos","events_url":"https://api.github.com/users/fossas/events{/privacy}","received_events_url":"https://api.github.com/users/fossas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossas/fossa-cli","description":"Fast, portable and reliable dependency analysis for any codebase.  Supports license reporting, large monoliths and 20+ build systems (go, npm, maven, gems, etc...).","fork":false,"url":"https://api.github.com/repos/fossas/fossa-cli","forks_url":"https://api.github.com/repos/fossas/fossa-cli/forks","keys_url":"https://api.github.com/repos/fossas/fossa-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossas/fossa-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossas/fossa-cli/teams","hooks_url":"https://api.github.com/repos/fossas/fossa-cli/hooks","issue_events_url":"https://api.github.com/repos/fossas/fossa-cli/issues/events{/number}","events_url":"https://api.github.com/repos/fossas/fossa-cli/events","assignees_url":"https://api.github.com/repos/fossas/fossa-cli/assignees{/user}","branches_url":"https://api.github.com/repos/fossas/fossa-cli/branches{/branch}","tags_url":"https://api.github.com/repos/fossas/fossa-cli/tags","blobs_url":"https://api.github.com/repos/fossas/fossa-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossas/fossa-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossas/fossa-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossas/fossa-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossas/fossa-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/fossas/fossa-cli/languages","stargazers_url":"https://api.github.com/repos/fossas/fossa-cli/stargazers","contributors_url":"https://api.github.com/repos/fossas/fossa-cli/contributors","subscribers_url":"https://api.github.com/repos/fossas/fossa-cli/subscribers","subscription_url":"https://api.github.com/repos/fossas/fossa-cli/subscription","commits_url":"https://api.github.com/repos/fossas/fossa-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossas/fossa-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossas/fossa-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossas/fossa-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossas/fossa-cli/contents/{+path}","compare_url":"https://api.github.com/repos/fossas/fossa-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossas/fossa-cli/merges","archive_url":"https://api.github.com/repos/fossas/fossa-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossas/fossa-cli/downloads","issues_url":"https://api.github.com/repos/fossas/fossa-cli/issues{/number}","pulls_url":"https://api.github.com/repos/fossas/fossa-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/fossas/fossa-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/fossas/fossa-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossas/fossa-cli/labels{/name}","releases_url":"https://api.github.com/repos/fossas/fossa-cli/releases{/id}","deployments_url":"https://api.github.com/repos/fossas/fossa-cli/deployments","created_at":"2018-01-10T18:30:32Z","updated_at":"2018-07-12T23:38:50Z","pushed_at":"2018-07-13T00:21:22Z","git_url":"git://github.com/fossas/fossa-cli.git","ssh_url":"git@github.com:fossas/fossa-cli.git","clone_url":"https://github.com/fossas/fossa-cli.git","svn_url":"https://github.com/fossas/fossa-cli","homepage":"https://fossa.io","size":15632,"stargazers_count":493,"watchers_count":493,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":24,"open_issues":52,"watchers":493,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fossas/fossa-cli/pulls/175"},"html":{"href":"https://github.com/fossas/fossa-cli/pull/175"},"issue":{"href":"https://api.github.com/repos/fossas/fossa-cli/issues/175"},"comments":{"href":"https://api.github.com/repos/fossas/fossa-cli/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/fossas/fossa-cli/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/fossas/fossa-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossas/fossa-cli/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/fossas/fossa-cli/statuses/94f4c589bd6d9d49fb66237b4359f2130c65a919"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"golangci"}}