{"action":"created","comment":{"url":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/comments/70162546","id":70162546,"diff_hunk":"@@ -236,6 +248,10 @@ def options(self, parser, env=os.environ):\n         parser.add_option(\"--timer-top-n\", action=\"store\", default=\"-1\",\n                           dest=\"timer_top_n\", help=_help)\n \n+        parser.add_option(\"--timer-json-file\", action=\"store\",\n+                default=None,\n+                          dest=\"json_file\", help=_help)","path":"nosetimer/plugin.py","position":96,"original_position":96,"commit_id":"8abe49c9729a9c4db0269413362fc67e7b2ac034","original_commit_id":"8abe49c9729a9c4db0269413362fc67e7b2ac034","user":{"login":"skudriashev","id":2817012,"avatar_url":"https://avatars.githubusercontent.com/u/2817012?v=3","gravatar_id":"","url":"https://api.github.com/users/skudriashev","html_url":"https://github.com/skudriashev","followers_url":"https://api.github.com/users/skudriashev/followers","following_url":"https://api.github.com/users/skudriashev/following{/other_user}","gists_url":"https://api.github.com/users/skudriashev/gists{/gist_id}","starred_url":"https://api.github.com/users/skudriashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skudriashev/subscriptions","organizations_url":"https://api.github.com/users/skudriashev/orgs","repos_url":"https://api.github.com/users/skudriashev/repos","events_url":"https://api.github.com/users/skudriashev/events{/privacy}","received_events_url":"https://api.github.com/users/skudriashev/received_events","type":"User","site_admin":false},"body":"You use `_help` here from the above option. Please, write appropriate one.","created_at":"2016-07-09T04:52:16Z","updated_at":"2016-07-09T04:52:16Z","html_url":"https://github.com/mahmoudimus/nose-timer/pull/76#discussion_r70162546","pull_request_url":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/comments/70162546"},"html":{"href":"https://github.com/mahmoudimus/nose-timer/pull/76#discussion_r70162546"},"pull_request":{"href":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/76","id":76837302,"html_url":"https://github.com/mahmoudimus/nose-timer/pull/76","diff_url":"https://github.com/mahmoudimus/nose-timer/pull/76.diff","patch_url":"https://github.com/mahmoudimus/nose-timer/pull/76.patch","issue_url":"https://api.github.com/repos/mahmoudimus/nose-timer/issues/76","number":76,"state":"open","locked":false,"title":"Allow to export the timings as JSON.","user":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"body":"Also include the status of tests in dumps cause a faster commit that\r\nfails, or a slower commit that used to be skipped can always happen.\r\n\r\n--- \r\n\r\nTypically I want to build a stream graph of time taken by tests across a repository.","created_at":"2016-07-09T04:33:23Z","updated_at":"2016-07-09T04:52:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"016ae8e5754cf78360238c014698b6d8a0d3a76e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/76/commits","review_comments_url":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/76/comments","review_comment_url":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mahmoudimus/nose-timer/issues/76/comments","statuses_url":"https://api.github.com/repos/mahmoudimus/nose-timer/statuses/8abe49c9729a9c4db0269413362fc67e7b2ac034","head":{"label":"Carreau:json-export","ref":"json-export","sha":"8abe49c9729a9c4db0269413362fc67e7b2ac034","user":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"repo":{"id":62931970,"name":"nose-timer","full_name":"Carreau/nose-timer","owner":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Carreau/nose-timer","description":"A timer plugin for nosetests (how much time does every test take?)","fork":true,"url":"https://api.github.com/repos/Carreau/nose-timer","forks_url":"https://api.github.com/repos/Carreau/nose-timer/forks","keys_url":"https://api.github.com/repos/Carreau/nose-timer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Carreau/nose-timer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Carreau/nose-timer/teams","hooks_url":"https://api.github.com/repos/Carreau/nose-timer/hooks","issue_events_url":"https://api.github.com/repos/Carreau/nose-timer/issues/events{/number}","events_url":"https://api.github.com/repos/Carreau/nose-timer/events","assignees_url":"https://api.github.com/repos/Carreau/nose-timer/assignees{/user}","branches_url":"https://api.github.com/repos/Carreau/nose-timer/branches{/branch}","tags_url":"https://api.github.com/repos/Carreau/nose-timer/tags","blobs_url":"https://api.github.com/repos/Carreau/nose-timer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Carreau/nose-timer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Carreau/nose-timer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Carreau/nose-timer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Carreau/nose-timer/statuses/{sha}","languages_url":"https://api.github.com/repos/Carreau/nose-timer/languages","stargazers_url":"https://api.github.com/repos/Carreau/nose-timer/stargazers","contributors_url":"https://api.github.com/repos/Carreau/nose-timer/contributors","subscribers_url":"https://api.github.com/repos/Carreau/nose-timer/subscribers","subscription_url":"https://api.github.com/repos/Carreau/nose-timer/subscription","commits_url":"https://api.github.com/repos/Carreau/nose-timer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Carreau/nose-timer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Carreau/nose-timer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Carreau/nose-timer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Carreau/nose-timer/contents/{+path}","compare_url":"https://api.github.com/repos/Carreau/nose-timer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Carreau/nose-timer/merges","archive_url":"https://api.github.com/repos/Carreau/nose-timer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Carreau/nose-timer/downloads","issues_url":"https://api.github.com/repos/Carreau/nose-timer/issues{/number}","pulls_url":"https://api.github.com/repos/Carreau/nose-timer/pulls{/number}","milestones_url":"https://api.github.com/repos/Carreau/nose-timer/milestones{/number}","notifications_url":"https://api.github.com/repos/Carreau/nose-timer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Carreau/nose-timer/labels{/name}","releases_url":"https://api.github.com/repos/Carreau/nose-timer/releases{/id}","deployments_url":"https://api.github.com/repos/Carreau/nose-timer/deployments","created_at":"2016-07-09T04:26:41Z","updated_at":"2016-07-09T04:26:42Z","pushed_at":"2016-07-09T04:27:10Z","git_url":"git://github.com/Carreau/nose-timer.git","ssh_url":"git@github.com:Carreau/nose-timer.git","clone_url":"https://github.com/Carreau/nose-timer.git","svn_url":"https://github.com/Carreau/nose-timer","homepage":"","size":100,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"mahmoudimus:master","ref":"master","sha":"153bd55751875c3886b4236c59c07256a336ce21","user":{"login":"mahmoudimus","id":40820,"avatar_url":"https://avatars.githubusercontent.com/u/40820?v=3","gravatar_id":"","url":"https://api.github.com/users/mahmoudimus","html_url":"https://github.com/mahmoudimus","followers_url":"https://api.github.com/users/mahmoudimus/followers","following_url":"https://api.github.com/users/mahmoudimus/following{/other_user}","gists_url":"https://api.github.com/users/mahmoudimus/gists{/gist_id}","starred_url":"https://api.github.com/users/mahmoudimus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahmoudimus/subscriptions","organizations_url":"https://api.github.com/users/mahmoudimus/orgs","repos_url":"https://api.github.com/users/mahmoudimus/repos","events_url":"https://api.github.com/users/mahmoudimus/events{/privacy}","received_events_url":"https://api.github.com/users/mahmoudimus/received_events","type":"User","site_admin":false},"repo":{"id":5863963,"name":"nose-timer","full_name":"mahmoudimus/nose-timer","owner":{"login":"mahmoudimus","id":40820,"avatar_url":"https://avatars.githubusercontent.com/u/40820?v=3","gravatar_id":"","url":"https://api.github.com/users/mahmoudimus","html_url":"https://github.com/mahmoudimus","followers_url":"https://api.github.com/users/mahmoudimus/followers","following_url":"https://api.github.com/users/mahmoudimus/following{/other_user}","gists_url":"https://api.github.com/users/mahmoudimus/gists{/gist_id}","starred_url":"https://api.github.com/users/mahmoudimus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahmoudimus/subscriptions","organizations_url":"https://api.github.com/users/mahmoudimus/orgs","repos_url":"https://api.github.com/users/mahmoudimus/repos","events_url":"https://api.github.com/users/mahmoudimus/events{/privacy}","received_events_url":"https://api.github.com/users/mahmoudimus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mahmoudimus/nose-timer","description":"A timer plugin for nosetests (how much time does every test take?)","fork":false,"url":"https://api.github.com/repos/mahmoudimus/nose-timer","forks_url":"https://api.github.com/repos/mahmoudimus/nose-timer/forks","keys_url":"https://api.github.com/repos/mahmoudimus/nose-timer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mahmoudimus/nose-timer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mahmoudimus/nose-timer/teams","hooks_url":"https://api.github.com/repos/mahmoudimus/nose-timer/hooks","issue_events_url":"https://api.github.com/repos/mahmoudimus/nose-timer/issues/events{/number}","events_url":"https://api.github.com/repos/mahmoudimus/nose-timer/events","assignees_url":"https://api.github.com/repos/mahmoudimus/nose-timer/assignees{/user}","branches_url":"https://api.github.com/repos/mahmoudimus/nose-timer/branches{/branch}","tags_url":"https://api.github.com/repos/mahmoudimus/nose-timer/tags","blobs_url":"https://api.github.com/repos/mahmoudimus/nose-timer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mahmoudimus/nose-timer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mahmoudimus/nose-timer/git/refs{/sha}","trees_url":"https://api.github.com/repos/mahmoudimus/nose-timer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mahmoudimus/nose-timer/statuses/{sha}","languages_url":"https://api.github.com/repos/mahmoudimus/nose-timer/languages","stargazers_url":"https://api.github.com/repos/mahmoudimus/nose-timer/stargazers","contributors_url":"https://api.github.com/repos/mahmoudimus/nose-timer/contributors","subscribers_url":"https://api.github.com/repos/mahmoudimus/nose-timer/subscribers","subscription_url":"https://api.github.com/repos/mahmoudimus/nose-timer/subscription","commits_url":"https://api.github.com/repos/mahmoudimus/nose-timer/commits{/sha}","git_commits_url":"https://api.github.com/repos/mahmoudimus/nose-timer/git/commits{/sha}","comments_url":"https://api.github.com/repos/mahmoudimus/nose-timer/comments{/number}","issue_comment_url":"https://api.github.com/repos/mahmoudimus/nose-timer/issues/comments{/number}","contents_url":"https://api.github.com/repos/mahmoudimus/nose-timer/contents/{+path}","compare_url":"https://api.github.com/repos/mahmoudimus/nose-timer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mahmoudimus/nose-timer/merges","archive_url":"https://api.github.com/repos/mahmoudimus/nose-timer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mahmoudimus/nose-timer/downloads","issues_url":"https://api.github.com/repos/mahmoudimus/nose-timer/issues{/number}","pulls_url":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls{/number}","milestones_url":"https://api.github.com/repos/mahmoudimus/nose-timer/milestones{/number}","notifications_url":"https://api.github.com/repos/mahmoudimus/nose-timer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mahmoudimus/nose-timer/labels{/name}","releases_url":"https://api.github.com/repos/mahmoudimus/nose-timer/releases{/id}","deployments_url":"https://api.github.com/repos/mahmoudimus/nose-timer/deployments","created_at":"2012-09-18T22:37:13Z","updated_at":"2016-06-16T03:32:25Z","pushed_at":"2016-07-09T04:33:24Z","git_url":"git://github.com/mahmoudimus/nose-timer.git","ssh_url":"git@github.com:mahmoudimus/nose-timer.git","clone_url":"https://github.com/mahmoudimus/nose-timer.git","svn_url":"https://github.com/mahmoudimus/nose-timer","homepage":"","size":100,"stargazers_count":73,"watchers_count":73,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":3,"forks":21,"open_issues":3,"watchers":73,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/76"},"html":{"href":"https://github.com/mahmoudimus/nose-timer/pull/76"},"issue":{"href":"https://api.github.com/repos/mahmoudimus/nose-timer/issues/76"},"comments":{"href":"https://api.github.com/repos/mahmoudimus/nose-timer/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mahmoudimus/nose-timer/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/mahmoudimus/nose-timer/statuses/8abe49c9729a9c4db0269413362fc67e7b2ac034"}}}}
{"actor":{"display_login":"skudriashev"}}