{"action":"created","comment":{"url":"https://api.github.com/repos/testing-cabal/testrepository/pulls/comments/77188803","id":77188803,"diff_hunk":"@@ -2,3 +2,4 @@ pbr>=1.3\n fixtures\n python-subunit >= 0.0.18\n testtools >= 0.9.30\n+PyYAML>=3.1.0","path":"requirements.txt","position":4,"original_position":4,"commit_id":"58624075654c60a119954d5959ebc96478f5484f","original_commit_id":"58624075654c60a119954d5959ebc96478f5484f","user":{"login":"mtreinish","id":2447371,"avatar_url":"https://avatars.githubusercontent.com/u/2447371?v=3","gravatar_id":"","url":"https://api.github.com/users/mtreinish","html_url":"https://github.com/mtreinish","followers_url":"https://api.github.com/users/mtreinish/followers","following_url":"https://api.github.com/users/mtreinish/following{/other_user}","gists_url":"https://api.github.com/users/mtreinish/gists{/gist_id}","starred_url":"https://api.github.com/users/mtreinish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtreinish/subscriptions","organizations_url":"https://api.github.com/users/mtreinish/orgs","repos_url":"https://api.github.com/users/mtreinish/repos","events_url":"https://api.github.com/users/mtreinish/events{/privacy}","received_events_url":"https://api.github.com/users/mtreinish/received_events","type":"User","site_admin":false},"body":"So JSON would be possible, but it's definitely much more difficult to read and write as a human, which is the use case here. Using an ini file would be awkward here because of the data structure being used. It doesn't really have the semantics to describe that easily. I don't think adding yaml is that much of an overhead weighed against the ui in this case.","created_at":"2016-09-01T14:49:56Z","updated_at":"2016-09-01T14:49:56Z","html_url":"https://github.com/testing-cabal/testrepository/pull/27#discussion_r77188803","pull_request_url":"https://api.github.com/repos/testing-cabal/testrepository/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/testing-cabal/testrepository/pulls/comments/77188803"},"html":{"href":"https://github.com/testing-cabal/testrepository/pull/27#discussion_r77188803"},"pull_request":{"href":"https://api.github.com/repos/testing-cabal/testrepository/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/testing-cabal/testrepository/pulls/27","id":76016304,"html_url":"https://github.com/testing-cabal/testrepository/pull/27","diff_url":"https://github.com/testing-cabal/testrepository/pull/27.diff","patch_url":"https://github.com/testing-cabal/testrepository/pull/27.patch","issue_url":"https://api.github.com/repos/testing-cabal/testrepository/issues/27","number":27,"state":"open","locked":false,"title":"Add option to manual configure the worker balance","user":{"login":"mtreinish","id":2447371,"avatar_url":"https://avatars.githubusercontent.com/u/2447371?v=3","gravatar_id":"","url":"https://api.github.com/users/mtreinish","html_url":"https://github.com/mtreinish","followers_url":"https://api.github.com/users/mtreinish/followers","following_url":"https://api.github.com/users/mtreinish/following{/other_user}","gists_url":"https://api.github.com/users/mtreinish/gists{/gist_id}","starred_url":"https://api.github.com/users/mtreinish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtreinish/subscriptions","organizations_url":"https://api.github.com/users/mtreinish/orgs","repos_url":"https://api.github.com/users/mtreinish/repos","events_url":"https://api.github.com/users/mtreinish/events{/privacy}","received_events_url":"https://api.github.com/users/mtreinish/received_events","type":"User","site_admin":false},"body":"This commit adds a new cli option to testr run, --worker-file, which\r\nis the path to a yaml file that describes the breakdown of tests per\r\nworkers to explicitly instruct testr how to run tests. The yaml file\r\nformat is a list of dicts with a single element with a list describing\r\nthe contents of a worker as a regex matching test_ids. For example:\r\n\r\n  - worker:\r\n    - regex1\r\n\r\n  - worker:\r\n    - regex2\r\n    - regex3\r\n\r\nwould spin up 2 workers one running tests matching regex1 and the\r\nother worker running tests matching regex2 and regex3.","created_at":"2016-07-01T18:04:53Z","updated_at":"2016-09-01T14:49:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c0782534a1aab0bbb89ecfe931e2c7452eb49e12","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/testing-cabal/testrepository/pulls/27/commits","review_comments_url":"https://api.github.com/repos/testing-cabal/testrepository/pulls/27/comments","review_comment_url":"https://api.github.com/repos/testing-cabal/testrepository/pulls/comments{/number}","comments_url":"https://api.github.com/repos/testing-cabal/testrepository/issues/27/comments","statuses_url":"https://api.github.com/repos/testing-cabal/testrepository/statuses/58624075654c60a119954d5959ebc96478f5484f","head":{"label":"mtreinish:manual-worker-balance","ref":"manual-worker-balance","sha":"58624075654c60a119954d5959ebc96478f5484f","user":{"login":"mtreinish","id":2447371,"avatar_url":"https://avatars.githubusercontent.com/u/2447371?v=3","gravatar_id":"","url":"https://api.github.com/users/mtreinish","html_url":"https://github.com/mtreinish","followers_url":"https://api.github.com/users/mtreinish/followers","following_url":"https://api.github.com/users/mtreinish/following{/other_user}","gists_url":"https://api.github.com/users/mtreinish/gists{/gist_id}","starred_url":"https://api.github.com/users/mtreinish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtreinish/subscriptions","organizations_url":"https://api.github.com/users/mtreinish/orgs","repos_url":"https://api.github.com/users/mtreinish/repos","events_url":"https://api.github.com/users/mtreinish/events{/privacy}","received_events_url":"https://api.github.com/users/mtreinish/received_events","type":"User","site_admin":false},"repo":{"id":24474299,"name":"testrepository","full_name":"mtreinish/testrepository","owner":{"login":"mtreinish","id":2447371,"avatar_url":"https://avatars.githubusercontent.com/u/2447371?v=3","gravatar_id":"","url":"https://api.github.com/users/mtreinish","html_url":"https://github.com/mtreinish","followers_url":"https://api.github.com/users/mtreinish/followers","following_url":"https://api.github.com/users/mtreinish/following{/other_user}","gists_url":"https://api.github.com/users/mtreinish/gists{/gist_id}","starred_url":"https://api.github.com/users/mtreinish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtreinish/subscriptions","organizations_url":"https://api.github.com/users/mtreinish/orgs","repos_url":"https://api.github.com/users/mtreinish/repos","events_url":"https://api.github.com/users/mtreinish/events{/privacy}","received_events_url":"https://api.github.com/users/mtreinish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtreinish/testrepository","description":"Test runner runner and repository of test results.","fork":true,"url":"https://api.github.com/repos/mtreinish/testrepository","forks_url":"https://api.github.com/repos/mtreinish/testrepository/forks","keys_url":"https://api.github.com/repos/mtreinish/testrepository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtreinish/testrepository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtreinish/testrepository/teams","hooks_url":"https://api.github.com/repos/mtreinish/testrepository/hooks","issue_events_url":"https://api.github.com/repos/mtreinish/testrepository/issues/events{/number}","events_url":"https://api.github.com/repos/mtreinish/testrepository/events","assignees_url":"https://api.github.com/repos/mtreinish/testrepository/assignees{/user}","branches_url":"https://api.github.com/repos/mtreinish/testrepository/branches{/branch}","tags_url":"https://api.github.com/repos/mtreinish/testrepository/tags","blobs_url":"https://api.github.com/repos/mtreinish/testrepository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtreinish/testrepository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtreinish/testrepository/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtreinish/testrepository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtreinish/testrepository/statuses/{sha}","languages_url":"https://api.github.com/repos/mtreinish/testrepository/languages","stargazers_url":"https://api.github.com/repos/mtreinish/testrepository/stargazers","contributors_url":"https://api.github.com/repos/mtreinish/testrepository/contributors","subscribers_url":"https://api.github.com/repos/mtreinish/testrepository/subscribers","subscription_url":"https://api.github.com/repos/mtreinish/testrepository/subscription","commits_url":"https://api.github.com/repos/mtreinish/testrepository/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtreinish/testrepository/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtreinish/testrepository/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtreinish/testrepository/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtreinish/testrepository/contents/{+path}","compare_url":"https://api.github.com/repos/mtreinish/testrepository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtreinish/testrepository/merges","archive_url":"https://api.github.com/repos/mtreinish/testrepository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtreinish/testrepository/downloads","issues_url":"https://api.github.com/repos/mtreinish/testrepository/issues{/number}","pulls_url":"https://api.github.com/repos/mtreinish/testrepository/pulls{/number}","milestones_url":"https://api.github.com/repos/mtreinish/testrepository/milestones{/number}","notifications_url":"https://api.github.com/repos/mtreinish/testrepository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtreinish/testrepository/labels{/name}","releases_url":"https://api.github.com/repos/mtreinish/testrepository/releases{/id}","deployments_url":"https://api.github.com/repos/mtreinish/testrepository/deployments","created_at":"2014-09-25T20:34:06Z","updated_at":"2014-08-30T01:43:06Z","pushed_at":"2016-07-01T20:25:21Z","git_url":"git://github.com/mtreinish/testrepository.git","ssh_url":"git@github.com:mtreinish/testrepository.git","clone_url":"https://github.com/mtreinish/testrepository.git","svn_url":"https://github.com/mtreinish/testrepository","homepage":null,"size":1787,"stargazers_count":0,"watchers_count":0,"language":null,"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":"testing-cabal:master","ref":"master","sha":"2173ae70261029b49e99208c1d6470ef9833c7a5","user":{"login":"testing-cabal","id":2662570,"avatar_url":"https://avatars.githubusercontent.com/u/2662570?v=3","gravatar_id":"","url":"https://api.github.com/users/testing-cabal","html_url":"https://github.com/testing-cabal","followers_url":"https://api.github.com/users/testing-cabal/followers","following_url":"https://api.github.com/users/testing-cabal/following{/other_user}","gists_url":"https://api.github.com/users/testing-cabal/gists{/gist_id}","starred_url":"https://api.github.com/users/testing-cabal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testing-cabal/subscriptions","organizations_url":"https://api.github.com/users/testing-cabal/orgs","repos_url":"https://api.github.com/users/testing-cabal/repos","events_url":"https://api.github.com/users/testing-cabal/events{/privacy}","received_events_url":"https://api.github.com/users/testing-cabal/received_events","type":"Organization","site_admin":false},"repo":{"id":17655606,"name":"testrepository","full_name":"testing-cabal/testrepository","owner":{"login":"testing-cabal","id":2662570,"avatar_url":"https://avatars.githubusercontent.com/u/2662570?v=3","gravatar_id":"","url":"https://api.github.com/users/testing-cabal","html_url":"https://github.com/testing-cabal","followers_url":"https://api.github.com/users/testing-cabal/followers","following_url":"https://api.github.com/users/testing-cabal/following{/other_user}","gists_url":"https://api.github.com/users/testing-cabal/gists{/gist_id}","starred_url":"https://api.github.com/users/testing-cabal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testing-cabal/subscriptions","organizations_url":"https://api.github.com/users/testing-cabal/orgs","repos_url":"https://api.github.com/users/testing-cabal/repos","events_url":"https://api.github.com/users/testing-cabal/events{/privacy}","received_events_url":"https://api.github.com/users/testing-cabal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/testing-cabal/testrepository","description":"Test runner runner and repository of test results.","fork":false,"url":"https://api.github.com/repos/testing-cabal/testrepository","forks_url":"https://api.github.com/repos/testing-cabal/testrepository/forks","keys_url":"https://api.github.com/repos/testing-cabal/testrepository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/testing-cabal/testrepository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/testing-cabal/testrepository/teams","hooks_url":"https://api.github.com/repos/testing-cabal/testrepository/hooks","issue_events_url":"https://api.github.com/repos/testing-cabal/testrepository/issues/events{/number}","events_url":"https://api.github.com/repos/testing-cabal/testrepository/events","assignees_url":"https://api.github.com/repos/testing-cabal/testrepository/assignees{/user}","branches_url":"https://api.github.com/repos/testing-cabal/testrepository/branches{/branch}","tags_url":"https://api.github.com/repos/testing-cabal/testrepository/tags","blobs_url":"https://api.github.com/repos/testing-cabal/testrepository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/testing-cabal/testrepository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/testing-cabal/testrepository/git/refs{/sha}","trees_url":"https://api.github.com/repos/testing-cabal/testrepository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/testing-cabal/testrepository/statuses/{sha}","languages_url":"https://api.github.com/repos/testing-cabal/testrepository/languages","stargazers_url":"https://api.github.com/repos/testing-cabal/testrepository/stargazers","contributors_url":"https://api.github.com/repos/testing-cabal/testrepository/contributors","subscribers_url":"https://api.github.com/repos/testing-cabal/testrepository/subscribers","subscription_url":"https://api.github.com/repos/testing-cabal/testrepository/subscription","commits_url":"https://api.github.com/repos/testing-cabal/testrepository/commits{/sha}","git_commits_url":"https://api.github.com/repos/testing-cabal/testrepository/git/commits{/sha}","comments_url":"https://api.github.com/repos/testing-cabal/testrepository/comments{/number}","issue_comment_url":"https://api.github.com/repos/testing-cabal/testrepository/issues/comments{/number}","contents_url":"https://api.github.com/repos/testing-cabal/testrepository/contents/{+path}","compare_url":"https://api.github.com/repos/testing-cabal/testrepository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/testing-cabal/testrepository/merges","archive_url":"https://api.github.com/repos/testing-cabal/testrepository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/testing-cabal/testrepository/downloads","issues_url":"https://api.github.com/repos/testing-cabal/testrepository/issues{/number}","pulls_url":"https://api.github.com/repos/testing-cabal/testrepository/pulls{/number}","milestones_url":"https://api.github.com/repos/testing-cabal/testrepository/milestones{/number}","notifications_url":"https://api.github.com/repos/testing-cabal/testrepository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/testing-cabal/testrepository/labels{/name}","releases_url":"https://api.github.com/repos/testing-cabal/testrepository/releases{/id}","deployments_url":"https://api.github.com/repos/testing-cabal/testrepository/deployments","created_at":"2014-03-12T04:42:26Z","updated_at":"2016-01-26T15:32:26Z","pushed_at":"2016-07-01T20:26:12Z","git_url":"git://github.com/testing-cabal/testrepository.git","ssh_url":"git@github.com:testing-cabal/testrepository.git","clone_url":"https://github.com/testing-cabal/testrepository.git","svn_url":"https://github.com/testing-cabal/testrepository","homepage":null,"size":2230,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":13,"forks":20,"open_issues":13,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/testing-cabal/testrepository/pulls/27"},"html":{"href":"https://github.com/testing-cabal/testrepository/pull/27"},"issue":{"href":"https://api.github.com/repos/testing-cabal/testrepository/issues/27"},"comments":{"href":"https://api.github.com/repos/testing-cabal/testrepository/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/testing-cabal/testrepository/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/testing-cabal/testrepository/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/testing-cabal/testrepository/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/testing-cabal/testrepository/statuses/58624075654c60a119954d5959ebc96478f5484f"}}}}
{"actor":{"display_login":"mtreinish"}}