{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/treeherder-client/pulls/comments/29324232","id":29324232,"diff_hunk":"@@ -210,10 +210,13 @@ def add_option_collection(self, option_collection):\n         if option_collection:\n             self.data['job']['option_collection'].update(option_collection)\n \n-    def add_log_reference(self, name, url):\n+    def add_log_reference(self, name, url, parse_status='pending'):\n+        \"\"\"\n+        parse_status - one of 'pending', 'parsed' or 'error'","path":"thclient/client.py","position":7,"original_position":7,"commit_id":"c98093fa8b08519eeb29705d6e61760b6a976e5e","original_commit_id":"c98093fa8b08519eeb29705d6e61760b6a976e5e","user":{"login":"maurodoglio","id":508377,"avatar_url":"https://avatars.githubusercontent.com/u/508377?v=3","gravatar_id":"","url":"https://api.github.com/users/maurodoglio","html_url":"https://github.com/maurodoglio","followers_url":"https://api.github.com/users/maurodoglio/followers","following_url":"https://api.github.com/users/maurodoglio/following{/other_user}","gists_url":"https://api.github.com/users/maurodoglio/gists{/gist_id}","starred_url":"https://api.github.com/users/maurodoglio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurodoglio/subscriptions","organizations_url":"https://api.github.com/users/maurodoglio/orgs","repos_url":"https://api.github.com/users/maurodoglio/repos","events_url":"https://api.github.com/users/maurodoglio/events{/privacy}","received_events_url":"https://api.github.com/users/maurodoglio/received_events","type":"User","site_admin":false},"body":"can you check the parse status is one of the accepted values?","created_at":"2015-04-29T10:23:08Z","updated_at":"2015-04-29T10:23:08Z","html_url":"https://github.com/mozilla/treeherder-client/pull/8#discussion_r29324232","pull_request_url":"https://api.github.com/repos/mozilla/treeherder-client/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/mozilla/treeherder-client/pulls/comments/29324232"},"html":{"href":"https://github.com/mozilla/treeherder-client/pull/8#discussion_r29324232"},"pull_request":{"href":"https://api.github.com/repos/mozilla/treeherder-client/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/treeherder-client/pulls/8","id":34306128,"html_url":"https://github.com/mozilla/treeherder-client/pull/8","diff_url":"https://github.com/mozilla/treeherder-client/pull/8.diff","patch_url":"https://github.com/mozilla/treeherder-client/pull/8.patch","issue_url":"https://api.github.com/repos/mozilla/treeherder-client/issues/8","number":8,"state":"open","locked":false,"title":"Bug 1159438 - add support for ``parse_status`` of logs","user":{"login":"camd","id":419924,"avatar_url":"https://avatars.githubusercontent.com/u/419924?v=3","gravatar_id":"","url":"https://api.github.com/users/camd","html_url":"https://github.com/camd","followers_url":"https://api.github.com/users/camd/followers","following_url":"https://api.github.com/users/camd/following{/other_user}","gists_url":"https://api.github.com/users/camd/gists{/gist_id}","starred_url":"https://api.github.com/users/camd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camd/subscriptions","organizations_url":"https://api.github.com/users/camd/orgs","repos_url":"https://api.github.com/users/camd/repos","events_url":"https://api.github.com/users/camd/events{/privacy}","received_events_url":"https://api.github.com/users/camd/received_events","type":"User","site_admin":false},"body":"This is to support the new field made available in [Bug 1080760](https://bugzilla.mozilla.org/show_bug.cgi?id=1080760)","created_at":"2015-04-28T20:12:15Z","updated_at":"2015-04-29T10:23:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"170a98ee9d613e2a1c69364796d639291dc55312","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/treeherder-client/pulls/8/commits","review_comments_url":"https://api.github.com/repos/mozilla/treeherder-client/pulls/8/comments","review_comment_url":"https://api.github.com/repos/mozilla/treeherder-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/treeherder-client/issues/8/comments","statuses_url":"https://api.github.com/repos/mozilla/treeherder-client/statuses/c98093fa8b08519eeb29705d6e61760b6a976e5e","head":{"label":"mozilla:parse-status-for-logs","ref":"parse-status-for-logs","sha":"c98093fa8b08519eeb29705d6e61760b6a976e5e","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":15746385,"name":"treeherder-client","full_name":"mozilla/treeherder-client","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/treeherder-client","description":"Python library to support submitting data to treeherder-service. See wiki page for where to file bugs.","fork":false,"url":"https://api.github.com/repos/mozilla/treeherder-client","forks_url":"https://api.github.com/repos/mozilla/treeherder-client/forks","keys_url":"https://api.github.com/repos/mozilla/treeherder-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/treeherder-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/treeherder-client/teams","hooks_url":"https://api.github.com/repos/mozilla/treeherder-client/hooks","issue_events_url":"https://api.github.com/repos/mozilla/treeherder-client/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/treeherder-client/events","assignees_url":"https://api.github.com/repos/mozilla/treeherder-client/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/treeherder-client/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/treeherder-client/tags","blobs_url":"https://api.github.com/repos/mozilla/treeherder-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/treeherder-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/treeherder-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/treeherder-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/treeherder-client/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/treeherder-client/languages","stargazers_url":"https://api.github.com/repos/mozilla/treeherder-client/stargazers","contributors_url":"https://api.github.com/repos/mozilla/treeherder-client/contributors","subscribers_url":"https://api.github.com/repos/mozilla/treeherder-client/subscribers","subscription_url":"https://api.github.com/repos/mozilla/treeherder-client/subscription","commits_url":"https://api.github.com/repos/mozilla/treeherder-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/treeherder-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/treeherder-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/treeherder-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/treeherder-client/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/treeherder-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/treeherder-client/merges","archive_url":"https://api.github.com/repos/mozilla/treeherder-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/treeherder-client/downloads","issues_url":"https://api.github.com/repos/mozilla/treeherder-client/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/treeherder-client/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/treeherder-client/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/treeherder-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/treeherder-client/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/treeherder-client/releases{/id}","created_at":"2014-01-08T19:56:38Z","updated_at":"2015-04-16T17:10:46Z","pushed_at":"2015-04-29T00:07:15Z","git_url":"git://github.com/mozilla/treeherder-client.git","ssh_url":"git@github.com:mozilla/treeherder-client.git","clone_url":"https://github.com/mozilla/treeherder-client.git","svn_url":"https://github.com/mozilla/treeherder-client","homepage":"https://wiki.mozilla.org/Auto-tools/Projects/Treeherder","size":432,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"59127e22f7337559b00b8912c05abe132479f066","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":15746385,"name":"treeherder-client","full_name":"mozilla/treeherder-client","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/treeherder-client","description":"Python library to support submitting data to treeherder-service. See wiki page for where to file bugs.","fork":false,"url":"https://api.github.com/repos/mozilla/treeherder-client","forks_url":"https://api.github.com/repos/mozilla/treeherder-client/forks","keys_url":"https://api.github.com/repos/mozilla/treeherder-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/treeherder-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/treeherder-client/teams","hooks_url":"https://api.github.com/repos/mozilla/treeherder-client/hooks","issue_events_url":"https://api.github.com/repos/mozilla/treeherder-client/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/treeherder-client/events","assignees_url":"https://api.github.com/repos/mozilla/treeherder-client/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/treeherder-client/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/treeherder-client/tags","blobs_url":"https://api.github.com/repos/mozilla/treeherder-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/treeherder-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/treeherder-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/treeherder-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/treeherder-client/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/treeherder-client/languages","stargazers_url":"https://api.github.com/repos/mozilla/treeherder-client/stargazers","contributors_url":"https://api.github.com/repos/mozilla/treeherder-client/contributors","subscribers_url":"https://api.github.com/repos/mozilla/treeherder-client/subscribers","subscription_url":"https://api.github.com/repos/mozilla/treeherder-client/subscription","commits_url":"https://api.github.com/repos/mozilla/treeherder-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/treeherder-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/treeherder-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/treeherder-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/treeherder-client/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/treeherder-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/treeherder-client/merges","archive_url":"https://api.github.com/repos/mozilla/treeherder-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/treeherder-client/downloads","issues_url":"https://api.github.com/repos/mozilla/treeherder-client/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/treeherder-client/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/treeherder-client/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/treeherder-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/treeherder-client/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/treeherder-client/releases{/id}","created_at":"2014-01-08T19:56:38Z","updated_at":"2015-04-16T17:10:46Z","pushed_at":"2015-04-29T00:07:15Z","git_url":"git://github.com/mozilla/treeherder-client.git","ssh_url":"git@github.com:mozilla/treeherder-client.git","clone_url":"https://github.com/mozilla/treeherder-client.git","svn_url":"https://github.com/mozilla/treeherder-client","homepage":"https://wiki.mozilla.org/Auto-tools/Projects/Treeherder","size":432,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/treeherder-client/pulls/8"},"html":{"href":"https://github.com/mozilla/treeherder-client/pull/8"},"issue":{"href":"https://api.github.com/repos/mozilla/treeherder-client/issues/8"},"comments":{"href":"https://api.github.com/repos/mozilla/treeherder-client/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/treeherder-client/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/treeherder-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/treeherder-client/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/treeherder-client/statuses/c98093fa8b08519eeb29705d6e61760b6a976e5e"}}}}