{"action":"created","comment":{"url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/comments/74761192","id":74761192,"diff_hunk":"@@ -162,19 +161,6 @@ func main() {\n \tlog.SetOutput(io.MultiWriter(os.Stderr, logfile))\n \tfileOnlyLogger := log.New(logfile, \"\", log.LstdFlags)\n \n-\tlog.Print(\"Starting RHMAP System Dump Tool...\")\n-\tlog.Print(\"Preparing tasks...\")\n-\n-\ttasks, err := GetAllTasks(basePath)\n-\tif err != nil {\n-\t\tprintError(err)\n-\t\tdefer os.Exit(1)\n-\t}\n-\tif len(tasks) == 0 {\n-\t\tlog.Print(\"No tasks found to execute.\")","path":"main.go","position":43,"original_position":43,"commit_id":"06c50d117fcc865d33d68d882f55419474c54e51","original_commit_id":"06fe966fd84e7312563ce94ce8fd873585426502","user":{"login":"philbrookes","id":1033452,"avatar_url":"https://avatars.githubusercontent.com/u/1033452?v=3","gravatar_id":"","url":"https://api.github.com/users/philbrookes","html_url":"https://github.com/philbrookes","followers_url":"https://api.github.com/users/philbrookes/followers","following_url":"https://api.github.com/users/philbrookes/following{/other_user}","gists_url":"https://api.github.com/users/philbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/philbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbrookes/subscriptions","organizations_url":"https://api.github.com/users/philbrookes/orgs","repos_url":"https://api.github.com/users/philbrookes/repos","events_url":"https://api.github.com/users/philbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/philbrookes/received_events","type":"User","site_admin":false},"body":"yes, that's fine with me.","created_at":"2016-08-15T13:30:49Z","updated_at":"2016-08-15T13:30:49Z","html_url":"https://github.com/feedhenry/fh-system-dump-tool/pull/23#discussion_r74761192","pull_request_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/comments/74761192"},"html":{"href":"https://github.com/feedhenry/fh-system-dump-tool/pull/23#discussion_r74761192"},"pull_request":{"href":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/23","id":81297605,"html_url":"https://github.com/feedhenry/fh-system-dump-tool/pull/23","diff_url":"https://github.com/feedhenry/fh-system-dump-tool/pull/23.diff","patch_url":"https://github.com/feedhenry/fh-system-dump-tool/pull/23.patch","issue_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/issues/23","number":23,"state":"open","locked":false,"title":"Refactor task execution","user":{"login":"rhcarvalho","id":88819,"avatar_url":"https://avatars.githubusercontent.com/u/88819?v=3","gravatar_id":"","url":"https://api.github.com/users/rhcarvalho","html_url":"https://github.com/rhcarvalho","followers_url":"https://api.github.com/users/rhcarvalho/followers","following_url":"https://api.github.com/users/rhcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/rhcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/rhcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhcarvalho/subscriptions","organizations_url":"https://api.github.com/users/rhcarvalho/orgs","repos_url":"https://api.github.com/users/rhcarvalho/repos","events_url":"https://api.github.com/users/rhcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/rhcarvalho/received_events","type":"User","site_admin":false},"body":"- Only create as many goroutines as needed, distribute tasks using a\r\n  channel.\r\n- Prepare tasks concurrently with task execution.\r\n\r\nIt also fixes an oversight: we were not handling task errors at all.","created_at":"2016-08-15T10:58:56Z","updated_at":"2016-08-15T13:30:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fe2b98c27d923c144bb13356a7e31a4c72c1c2c","assignee":{"login":"philbrookes","id":1033452,"avatar_url":"https://avatars.githubusercontent.com/u/1033452?v=3","gravatar_id":"","url":"https://api.github.com/users/philbrookes","html_url":"https://github.com/philbrookes","followers_url":"https://api.github.com/users/philbrookes/followers","following_url":"https://api.github.com/users/philbrookes/following{/other_user}","gists_url":"https://api.github.com/users/philbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/philbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbrookes/subscriptions","organizations_url":"https://api.github.com/users/philbrookes/orgs","repos_url":"https://api.github.com/users/philbrookes/repos","events_url":"https://api.github.com/users/philbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/philbrookes/received_events","type":"User","site_admin":false},"assignees":[{"login":"philbrookes","id":1033452,"avatar_url":"https://avatars.githubusercontent.com/u/1033452?v=3","gravatar_id":"","url":"https://api.github.com/users/philbrookes","html_url":"https://github.com/philbrookes","followers_url":"https://api.github.com/users/philbrookes/followers","following_url":"https://api.github.com/users/philbrookes/following{/other_user}","gists_url":"https://api.github.com/users/philbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/philbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbrookes/subscriptions","organizations_url":"https://api.github.com/users/philbrookes/orgs","repos_url":"https://api.github.com/users/philbrookes/repos","events_url":"https://api.github.com/users/philbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/philbrookes/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/23/commits","review_comments_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/23/comments","review_comment_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/issues/23/comments","statuses_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/statuses/06c50d117fcc865d33d68d882f55419474c54e51","head":{"label":"rhcarvalho:task-exec-refactor","ref":"task-exec-refactor","sha":"06c50d117fcc865d33d68d882f55419474c54e51","user":{"login":"rhcarvalho","id":88819,"avatar_url":"https://avatars.githubusercontent.com/u/88819?v=3","gravatar_id":"","url":"https://api.github.com/users/rhcarvalho","html_url":"https://github.com/rhcarvalho","followers_url":"https://api.github.com/users/rhcarvalho/followers","following_url":"https://api.github.com/users/rhcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/rhcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/rhcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhcarvalho/subscriptions","organizations_url":"https://api.github.com/users/rhcarvalho/orgs","repos_url":"https://api.github.com/users/rhcarvalho/repos","events_url":"https://api.github.com/users/rhcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/rhcarvalho/received_events","type":"User","site_admin":false},"repo":{"id":65453502,"name":"fh-system-dump-tool","full_name":"rhcarvalho/fh-system-dump-tool","owner":{"login":"rhcarvalho","id":88819,"avatar_url":"https://avatars.githubusercontent.com/u/88819?v=3","gravatar_id":"","url":"https://api.github.com/users/rhcarvalho","html_url":"https://github.com/rhcarvalho","followers_url":"https://api.github.com/users/rhcarvalho/followers","following_url":"https://api.github.com/users/rhcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/rhcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/rhcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhcarvalho/subscriptions","organizations_url":"https://api.github.com/users/rhcarvalho/orgs","repos_url":"https://api.github.com/users/rhcarvalho/repos","events_url":"https://api.github.com/users/rhcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/rhcarvalho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rhcarvalho/fh-system-dump-tool","description":"This repository contains the system dump tool for the RHMAP On-Prem product","fork":true,"url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool","forks_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/forks","keys_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/teams","hooks_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/hooks","issue_events_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/issues/events{/number}","events_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/events","assignees_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/assignees{/user}","branches_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/branches{/branch}","tags_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/tags","blobs_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/statuses/{sha}","languages_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/languages","stargazers_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/stargazers","contributors_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/contributors","subscribers_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/subscribers","subscription_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/subscription","commits_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/contents/{+path}","compare_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/merges","archive_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/downloads","issues_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/issues{/number}","pulls_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/pulls{/number}","milestones_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/milestones{/number}","notifications_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/labels{/name}","releases_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/releases{/id}","deployments_url":"https://api.github.com/repos/rhcarvalho/fh-system-dump-tool/deployments","created_at":"2016-08-11T08:42:33Z","updated_at":"2016-08-11T08:42:34Z","pushed_at":"2016-08-15T12:49:37Z","git_url":"git://github.com/rhcarvalho/fh-system-dump-tool.git","ssh_url":"git@github.com:rhcarvalho/fh-system-dump-tool.git","clone_url":"https://github.com/rhcarvalho/fh-system-dump-tool.git","svn_url":"https://github.com/rhcarvalho/fh-system-dump-tool","homepage":null,"size":61,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"feedhenry:master","ref":"master","sha":"a500db5a7e2a26ad68a5aea252b6c07b481abb50","user":{"login":"feedhenry","id":772226,"avatar_url":"https://avatars.githubusercontent.com/u/772226?v=3","gravatar_id":"","url":"https://api.github.com/users/feedhenry","html_url":"https://github.com/feedhenry","followers_url":"https://api.github.com/users/feedhenry/followers","following_url":"https://api.github.com/users/feedhenry/following{/other_user}","gists_url":"https://api.github.com/users/feedhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/feedhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedhenry/subscriptions","organizations_url":"https://api.github.com/users/feedhenry/orgs","repos_url":"https://api.github.com/users/feedhenry/repos","events_url":"https://api.github.com/users/feedhenry/events{/privacy}","received_events_url":"https://api.github.com/users/feedhenry/received_events","type":"Organization","site_admin":false},"repo":{"id":63058395,"name":"fh-system-dump-tool","full_name":"feedhenry/fh-system-dump-tool","owner":{"login":"feedhenry","id":772226,"avatar_url":"https://avatars.githubusercontent.com/u/772226?v=3","gravatar_id":"","url":"https://api.github.com/users/feedhenry","html_url":"https://github.com/feedhenry","followers_url":"https://api.github.com/users/feedhenry/followers","following_url":"https://api.github.com/users/feedhenry/following{/other_user}","gists_url":"https://api.github.com/users/feedhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/feedhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedhenry/subscriptions","organizations_url":"https://api.github.com/users/feedhenry/orgs","repos_url":"https://api.github.com/users/feedhenry/repos","events_url":"https://api.github.com/users/feedhenry/events{/privacy}","received_events_url":"https://api.github.com/users/feedhenry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/feedhenry/fh-system-dump-tool","description":"This repository contains the system dump tool for the RHMAP On-Prem product","fork":false,"url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool","forks_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/forks","keys_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/teams","hooks_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/hooks","issue_events_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/issues/events{/number}","events_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/events","assignees_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/assignees{/user}","branches_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/branches{/branch}","tags_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/tags","blobs_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/statuses/{sha}","languages_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/languages","stargazers_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/stargazers","contributors_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/contributors","subscribers_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/subscribers","subscription_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/subscription","commits_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/contents/{+path}","compare_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/merges","archive_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/downloads","issues_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/issues{/number}","pulls_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls{/number}","milestones_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/milestones{/number}","notifications_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/labels{/name}","releases_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/releases{/id}","deployments_url":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/deployments","created_at":"2016-07-11T10:20:52Z","updated_at":"2016-08-08T14:28:41Z","pushed_at":"2016-08-15T12:49:38Z","git_url":"git://github.com/feedhenry/fh-system-dump-tool.git","ssh_url":"git@github.com:feedhenry/fh-system-dump-tool.git","clone_url":"https://github.com/feedhenry/fh-system-dump-tool.git","svn_url":"https://github.com/feedhenry/fh-system-dump-tool","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/23"},"html":{"href":"https://github.com/feedhenry/fh-system-dump-tool/pull/23"},"issue":{"href":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/issues/23"},"comments":{"href":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/feedhenry/fh-system-dump-tool/statuses/06c50d117fcc865d33d68d882f55419474c54e51"}}}}
{"actor":{"display_login":"philbrookes"}}