{"action":"created","comment":{"url":"https://api.github.com/repos/google/gtest-parallel/pulls/comments/88621504","pull_request_review_id":9189630,"id":88621504,"diff_hunk":"@@ -279,7 +285,15 @@ if options.format == 'raw':\n elif options.format == 'filter':\n   logger = FilterFormat()\n else:\n-  sys.exit(\"Unknown output format: \" + options.format)\n+  parser.error(\"Unknown output format: \" + options.format)\n+\n+if options.shard_count < 1:\n+  parser.error(\"Invalid number of shards: %d. Must be at least 1.\" %\n+               options.shard_count)\n+if not (0 <= options.shard_index < options.shard_count):\n+  parser.error(\"Invalid shard index: %d. Must be between 0 and %d \"\n+               \"(less than the number of shards).\" %","path":"gtest-parallel","position":27,"original_position":27,"commit_id":"49f198e3b880b4ef125eeeeba1cebc5f236dc1f2","original_commit_id":"49f198e3b880b4ef125eeeeba1cebc5f236dc1f2","user":{"login":"kwiberg","id":879886,"avatar_url":"https://avatars.githubusercontent.com/u/879886?v=3","gravatar_id":"","url":"https://api.github.com/users/kwiberg","html_url":"https://github.com/kwiberg","followers_url":"https://api.github.com/users/kwiberg/followers","following_url":"https://api.github.com/users/kwiberg/following{/other_user}","gists_url":"https://api.github.com/users/kwiberg/gists{/gist_id}","starred_url":"https://api.github.com/users/kwiberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwiberg/subscriptions","organizations_url":"https://api.github.com/users/kwiberg/orgs","repos_url":"https://api.github.com/users/kwiberg/repos","events_url":"https://api.github.com/users/kwiberg/events{/privacy}","received_events_url":"https://api.github.com/users/kwiberg/received_events","type":"User","site_admin":false},"body":"Maybe drop \"less than\"? Your call.","created_at":"2016-11-18T09:15:12Z","updated_at":"2016-11-18T09:20:16Z","html_url":"https://github.com/google/gtest-parallel/pull/12#discussion_r88621504","pull_request_url":"https://api.github.com/repos/google/gtest-parallel/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/google/gtest-parallel/pulls/comments/88621504"},"html":{"href":"https://github.com/google/gtest-parallel/pull/12#discussion_r88621504"},"pull_request":{"href":"https://api.github.com/repos/google/gtest-parallel/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/google/gtest-parallel/pulls/12","id":94161010,"html_url":"https://github.com/google/gtest-parallel/pull/12","diff_url":"https://github.com/google/gtest-parallel/pull/12.diff","patch_url":"https://github.com/google/gtest-parallel/pull/12.patch","issue_url":"https://api.github.com/repos/google/gtest-parallel/issues/12","number":12,"state":"open","locked":false,"title":"Add support for swarming.","user":{"login":"ehlemur","id":1455745,"avatar_url":"https://avatars.githubusercontent.com/u/1455745?v=3","gravatar_id":"","url":"https://api.github.com/users/ehlemur","html_url":"https://github.com/ehlemur","followers_url":"https://api.github.com/users/ehlemur/followers","following_url":"https://api.github.com/users/ehlemur/following{/other_user}","gists_url":"https://api.github.com/users/ehlemur/gists{/gist_id}","starred_url":"https://api.github.com/users/ehlemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehlemur/subscriptions","organizations_url":"https://api.github.com/users/ehlemur/orgs","repos_url":"https://api.github.com/users/ehlemur/repos","events_url":"https://api.github.com/users/ehlemur/events{/privacy}","received_events_url":"https://api.github.com/users/ehlemur/received_events","type":"User","site_admin":false},"body":"Add support for [swarming](https://github.com/luci/luci-py) so that the tests can be split between different machines.","created_at":"2016-11-17T12:49:00Z","updated_at":"2016-11-18T09:20:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3844bff0c0aa72264742b8d380228777cfcabf8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/gtest-parallel/pulls/12/commits","review_comments_url":"https://api.github.com/repos/google/gtest-parallel/pulls/12/comments","review_comment_url":"https://api.github.com/repos/google/gtest-parallel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/gtest-parallel/issues/12/comments","statuses_url":"https://api.github.com/repos/google/gtest-parallel/statuses/49f198e3b880b4ef125eeeeba1cebc5f236dc1f2","head":{"label":"ehlemur:master","ref":"master","sha":"49f198e3b880b4ef125eeeeba1cebc5f236dc1f2","user":{"login":"ehlemur","id":1455745,"avatar_url":"https://avatars.githubusercontent.com/u/1455745?v=3","gravatar_id":"","url":"https://api.github.com/users/ehlemur","html_url":"https://github.com/ehlemur","followers_url":"https://api.github.com/users/ehlemur/followers","following_url":"https://api.github.com/users/ehlemur/following{/other_user}","gists_url":"https://api.github.com/users/ehlemur/gists{/gist_id}","starred_url":"https://api.github.com/users/ehlemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehlemur/subscriptions","organizations_url":"https://api.github.com/users/ehlemur/orgs","repos_url":"https://api.github.com/users/ehlemur/repos","events_url":"https://api.github.com/users/ehlemur/events{/privacy}","received_events_url":"https://api.github.com/users/ehlemur/received_events","type":"User","site_admin":false},"repo":{"id":74026187,"name":"gtest-parallel","full_name":"ehlemur/gtest-parallel","owner":{"login":"ehlemur","id":1455745,"avatar_url":"https://avatars.githubusercontent.com/u/1455745?v=3","gravatar_id":"","url":"https://api.github.com/users/ehlemur","html_url":"https://github.com/ehlemur","followers_url":"https://api.github.com/users/ehlemur/followers","following_url":"https://api.github.com/users/ehlemur/following{/other_user}","gists_url":"https://api.github.com/users/ehlemur/gists{/gist_id}","starred_url":"https://api.github.com/users/ehlemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehlemur/subscriptions","organizations_url":"https://api.github.com/users/ehlemur/orgs","repos_url":"https://api.github.com/users/ehlemur/repos","events_url":"https://api.github.com/users/ehlemur/events{/privacy}","received_events_url":"https://api.github.com/users/ehlemur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ehlemur/gtest-parallel","description":"Run gtest test suites in parallel.","fork":true,"url":"https://api.github.com/repos/ehlemur/gtest-parallel","forks_url":"https://api.github.com/repos/ehlemur/gtest-parallel/forks","keys_url":"https://api.github.com/repos/ehlemur/gtest-parallel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehlemur/gtest-parallel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehlemur/gtest-parallel/teams","hooks_url":"https://api.github.com/repos/ehlemur/gtest-parallel/hooks","issue_events_url":"https://api.github.com/repos/ehlemur/gtest-parallel/issues/events{/number}","events_url":"https://api.github.com/repos/ehlemur/gtest-parallel/events","assignees_url":"https://api.github.com/repos/ehlemur/gtest-parallel/assignees{/user}","branches_url":"https://api.github.com/repos/ehlemur/gtest-parallel/branches{/branch}","tags_url":"https://api.github.com/repos/ehlemur/gtest-parallel/tags","blobs_url":"https://api.github.com/repos/ehlemur/gtest-parallel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehlemur/gtest-parallel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehlemur/gtest-parallel/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehlemur/gtest-parallel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehlemur/gtest-parallel/statuses/{sha}","languages_url":"https://api.github.com/repos/ehlemur/gtest-parallel/languages","stargazers_url":"https://api.github.com/repos/ehlemur/gtest-parallel/stargazers","contributors_url":"https://api.github.com/repos/ehlemur/gtest-parallel/contributors","subscribers_url":"https://api.github.com/repos/ehlemur/gtest-parallel/subscribers","subscription_url":"https://api.github.com/repos/ehlemur/gtest-parallel/subscription","commits_url":"https://api.github.com/repos/ehlemur/gtest-parallel/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehlemur/gtest-parallel/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehlemur/gtest-parallel/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehlemur/gtest-parallel/issues/comments{/number}","contents_url":"https://api.github.com/repos/ehlemur/gtest-parallel/contents/{+path}","compare_url":"https://api.github.com/repos/ehlemur/gtest-parallel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehlemur/gtest-parallel/merges","archive_url":"https://api.github.com/repos/ehlemur/gtest-parallel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehlemur/gtest-parallel/downloads","issues_url":"https://api.github.com/repos/ehlemur/gtest-parallel/issues{/number}","pulls_url":"https://api.github.com/repos/ehlemur/gtest-parallel/pulls{/number}","milestones_url":"https://api.github.com/repos/ehlemur/gtest-parallel/milestones{/number}","notifications_url":"https://api.github.com/repos/ehlemur/gtest-parallel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehlemur/gtest-parallel/labels{/name}","releases_url":"https://api.github.com/repos/ehlemur/gtest-parallel/releases{/id}","deployments_url":"https://api.github.com/repos/ehlemur/gtest-parallel/deployments","created_at":"2016-11-17T12:45:14Z","updated_at":"2016-11-17T12:45:15Z","pushed_at":"2016-11-17T17:36:03Z","git_url":"git://github.com/ehlemur/gtest-parallel.git","ssh_url":"git@github.com:ehlemur/gtest-parallel.git","clone_url":"https://github.com/ehlemur/gtest-parallel.git","svn_url":"https://github.com/ehlemur/gtest-parallel","homepage":"","size":72,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"google:master","ref":"master","sha":"d0cebaba01c5dbf3af8a1c89b64eed7596c2b56c","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":19826356,"name":"gtest-parallel","full_name":"google/gtest-parallel","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/gtest-parallel","description":"Run gtest test suites in parallel.","fork":false,"url":"https://api.github.com/repos/google/gtest-parallel","forks_url":"https://api.github.com/repos/google/gtest-parallel/forks","keys_url":"https://api.github.com/repos/google/gtest-parallel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/gtest-parallel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/gtest-parallel/teams","hooks_url":"https://api.github.com/repos/google/gtest-parallel/hooks","issue_events_url":"https://api.github.com/repos/google/gtest-parallel/issues/events{/number}","events_url":"https://api.github.com/repos/google/gtest-parallel/events","assignees_url":"https://api.github.com/repos/google/gtest-parallel/assignees{/user}","branches_url":"https://api.github.com/repos/google/gtest-parallel/branches{/branch}","tags_url":"https://api.github.com/repos/google/gtest-parallel/tags","blobs_url":"https://api.github.com/repos/google/gtest-parallel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/gtest-parallel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/gtest-parallel/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/gtest-parallel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/gtest-parallel/statuses/{sha}","languages_url":"https://api.github.com/repos/google/gtest-parallel/languages","stargazers_url":"https://api.github.com/repos/google/gtest-parallel/stargazers","contributors_url":"https://api.github.com/repos/google/gtest-parallel/contributors","subscribers_url":"https://api.github.com/repos/google/gtest-parallel/subscribers","subscription_url":"https://api.github.com/repos/google/gtest-parallel/subscription","commits_url":"https://api.github.com/repos/google/gtest-parallel/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/gtest-parallel/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/gtest-parallel/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/gtest-parallel/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/gtest-parallel/contents/{+path}","compare_url":"https://api.github.com/repos/google/gtest-parallel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/gtest-parallel/merges","archive_url":"https://api.github.com/repos/google/gtest-parallel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/gtest-parallel/downloads","issues_url":"https://api.github.com/repos/google/gtest-parallel/issues{/number}","pulls_url":"https://api.github.com/repos/google/gtest-parallel/pulls{/number}","milestones_url":"https://api.github.com/repos/google/gtest-parallel/milestones{/number}","notifications_url":"https://api.github.com/repos/google/gtest-parallel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/gtest-parallel/labels{/name}","releases_url":"https://api.github.com/repos/google/gtest-parallel/releases{/id}","deployments_url":"https://api.github.com/repos/google/gtest-parallel/deployments","created_at":"2014-05-15T16:13:51Z","updated_at":"2016-09-17T14:23:17Z","pushed_at":"2016-11-17T17:36:03Z","git_url":"git://github.com/google/gtest-parallel.git","ssh_url":"git@github.com:google/gtest-parallel.git","clone_url":"https://github.com/google/gtest-parallel.git","svn_url":"https://github.com/google/gtest-parallel","homepage":"","size":70,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":1,"forks":21,"open_issues":1,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/gtest-parallel/pulls/12"},"html":{"href":"https://github.com/google/gtest-parallel/pull/12"},"issue":{"href":"https://api.github.com/repos/google/gtest-parallel/issues/12"},"comments":{"href":"https://api.github.com/repos/google/gtest-parallel/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/google/gtest-parallel/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/google/gtest-parallel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/gtest-parallel/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/google/gtest-parallel/statuses/49f198e3b880b4ef125eeeeba1cebc5f236dc1f2"}}}}
{"actor":{"display_login":"kwiberg"}}