{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/treeherder/pulls/comments/60399424","id":60399424,"diff_hunk":"@@ -0,0 +1,22 @@\n+from django.db import models\n+\n+\n+class JobDetail(models.Model):\n+    '''\n+    Represents metadata associated with a job\n+    '''\n+    id = models.AutoField(primary_key=True)\n+    job_guid = models.CharField(max_length=50, db_index=True)\n+    title = models.CharField(max_length=200, null=True)","path":"treeherder/jobs/models.py","position":10,"original_position":10,"commit_id":"dea948bb8e3d99ae83efde6b0b17e3b2151e0eae","original_commit_id":"dea948bb8e3d99ae83efde6b0b17e3b2151e0eae","user":{"login":"wlach","id":20569,"avatar_url":"https://avatars.githubusercontent.com/u/20569?v=3","gravatar_id":"","url":"https://api.github.com/users/wlach","html_url":"https://github.com/wlach","followers_url":"https://api.github.com/users/wlach/followers","following_url":"https://api.github.com/users/wlach/following{/other_user}","gists_url":"https://api.github.com/users/wlach/gists{/gist_id}","starred_url":"https://api.github.com/users/wlach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlach/subscriptions","organizations_url":"https://api.github.com/users/wlach/orgs","repos_url":"https://api.github.com/users/wlach/repos","events_url":"https://api.github.com/users/wlach/events{/privacy}","received_events_url":"https://api.github.com/users/wlach/received_events","type":"User","site_admin":false},"body":"In some cases we don't have a title, for example the \"purged clobber\" metadata here:\r\n\r\nhttps://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&selectedJob=26197592\r\n\r\nI will update the UI to reflect this.","created_at":"2016-04-20T12:42:48Z","updated_at":"2016-04-20T12:42:48Z","html_url":"https://github.com/mozilla/treeherder/pull/1410#discussion_r60399424","pull_request_url":"https://api.github.com/repos/mozilla/treeherder/pulls/1410","_links":{"self":{"href":"https://api.github.com/repos/mozilla/treeherder/pulls/comments/60399424"},"html":{"href":"https://github.com/mozilla/treeherder/pull/1410#discussion_r60399424"},"pull_request":{"href":"https://api.github.com/repos/mozilla/treeherder/pulls/1410"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/treeherder/pulls/1410","id":66554260,"html_url":"https://github.com/mozilla/treeherder/pull/1410","diff_url":"https://github.com/mozilla/treeherder/pull/1410.diff","patch_url":"https://github.com/mozilla/treeherder/pull/1410.patch","issue_url":"https://api.github.com/repos/mozilla/treeherder/issues/1410","number":1410,"state":"open","locked":false,"title":"Bug 1218537 - Replace Job Info artifacts with a \"jobdetail\" endpoint","user":{"login":"wlach","id":20569,"avatar_url":"https://avatars.githubusercontent.com/u/20569?v=3","gravatar_id":"","url":"https://api.github.com/users/wlach","html_url":"https://github.com/wlach","followers_url":"https://api.github.com/users/wlach/followers","following_url":"https://api.github.com/users/wlach/following{/other_user}","gists_url":"https://api.github.com/users/wlach/gists{/gist_id}","starred_url":"https://api.github.com/users/wlach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlach/subscriptions","organizations_url":"https://api.github.com/users/wlach/orgs","repos_url":"https://api.github.com/users/wlach/repos","events_url":"https://api.github.com/users/wlach/events{/privacy}","received_events_url":"https://api.github.com/users/wlach/received_events","type":"User","site_admin":false},"body":"This is simpler and removes one more type of artifact from the per-project\ndatabases\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/mozilla/treeherder/1410)\n<!-- Reviewable:end -->\n","created_at":"2016-04-14T21:09:04Z","updated_at":"2016-04-20T12:42:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbd41a3fc324e0613e4cd6daf132c50d5dc74fd9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/treeherder/pulls/1410/commits","review_comments_url":"https://api.github.com/repos/mozilla/treeherder/pulls/1410/comments","review_comment_url":"https://api.github.com/repos/mozilla/treeherder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/treeherder/issues/1410/comments","statuses_url":"https://api.github.com/repos/mozilla/treeherder/statuses/dea948bb8e3d99ae83efde6b0b17e3b2151e0eae","head":{"label":"wlach:1218537","ref":"1218537","sha":"dea948bb8e3d99ae83efde6b0b17e3b2151e0eae","user":{"login":"wlach","id":20569,"avatar_url":"https://avatars.githubusercontent.com/u/20569?v=3","gravatar_id":"","url":"https://api.github.com/users/wlach","html_url":"https://github.com/wlach","followers_url":"https://api.github.com/users/wlach/followers","following_url":"https://api.github.com/users/wlach/following{/other_user}","gists_url":"https://api.github.com/users/wlach/gists{/gist_id}","starred_url":"https://api.github.com/users/wlach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlach/subscriptions","organizations_url":"https://api.github.com/users/wlach/orgs","repos_url":"https://api.github.com/users/wlach/repos","events_url":"https://api.github.com/users/wlach/events{/privacy}","received_events_url":"https://api.github.com/users/wlach/received_events","type":"User","site_admin":false},"repo":{"id":25893449,"name":"treeherder","full_name":"wlach/treeherder","owner":{"login":"wlach","id":20569,"avatar_url":"https://avatars.githubusercontent.com/u/20569?v=3","gravatar_id":"","url":"https://api.github.com/users/wlach","html_url":"https://github.com/wlach","followers_url":"https://api.github.com/users/wlach/followers","following_url":"https://api.github.com/users/wlach/following{/other_user}","gists_url":"https://api.github.com/users/wlach/gists{/gist_id}","starred_url":"https://api.github.com/users/wlach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlach/subscriptions","organizations_url":"https://api.github.com/users/wlach/orgs","repos_url":"https://api.github.com/users/wlach/repos","events_url":"https://api.github.com/users/wlach/events{/privacy}","received_events_url":"https://api.github.com/users/wlach/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wlach/treeherder","description":"The backend of treeherder, a replacement for TBPL. See wiki page for where to file bugs.","fork":true,"url":"https://api.github.com/repos/wlach/treeherder","forks_url":"https://api.github.com/repos/wlach/treeherder/forks","keys_url":"https://api.github.com/repos/wlach/treeherder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wlach/treeherder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wlach/treeherder/teams","hooks_url":"https://api.github.com/repos/wlach/treeherder/hooks","issue_events_url":"https://api.github.com/repos/wlach/treeherder/issues/events{/number}","events_url":"https://api.github.com/repos/wlach/treeherder/events","assignees_url":"https://api.github.com/repos/wlach/treeherder/assignees{/user}","branches_url":"https://api.github.com/repos/wlach/treeherder/branches{/branch}","tags_url":"https://api.github.com/repos/wlach/treeherder/tags","blobs_url":"https://api.github.com/repos/wlach/treeherder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wlach/treeherder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wlach/treeherder/git/refs{/sha}","trees_url":"https://api.github.com/repos/wlach/treeherder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wlach/treeherder/statuses/{sha}","languages_url":"https://api.github.com/repos/wlach/treeherder/languages","stargazers_url":"https://api.github.com/repos/wlach/treeherder/stargazers","contributors_url":"https://api.github.com/repos/wlach/treeherder/contributors","subscribers_url":"https://api.github.com/repos/wlach/treeherder/subscribers","subscription_url":"https://api.github.com/repos/wlach/treeherder/subscription","commits_url":"https://api.github.com/repos/wlach/treeherder/commits{/sha}","git_commits_url":"https://api.github.com/repos/wlach/treeherder/git/commits{/sha}","comments_url":"https://api.github.com/repos/wlach/treeherder/comments{/number}","issue_comment_url":"https://api.github.com/repos/wlach/treeherder/issues/comments{/number}","contents_url":"https://api.github.com/repos/wlach/treeherder/contents/{+path}","compare_url":"https://api.github.com/repos/wlach/treeherder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wlach/treeherder/merges","archive_url":"https://api.github.com/repos/wlach/treeherder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wlach/treeherder/downloads","issues_url":"https://api.github.com/repos/wlach/treeherder/issues{/number}","pulls_url":"https://api.github.com/repos/wlach/treeherder/pulls{/number}","milestones_url":"https://api.github.com/repos/wlach/treeherder/milestones{/number}","notifications_url":"https://api.github.com/repos/wlach/treeherder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wlach/treeherder/labels{/name}","releases_url":"https://api.github.com/repos/wlach/treeherder/releases{/id}","deployments_url":"https://api.github.com/repos/wlach/treeherder/deployments","created_at":"2014-10-28T22:37:53Z","updated_at":"2016-04-04T15:14:01Z","pushed_at":"2016-04-19T18:31:06Z","git_url":"git://github.com/wlach/treeherder.git","ssh_url":"git@github.com:wlach/treeherder.git","clone_url":"https://github.com/wlach/treeherder.git","svn_url":"https://github.com/wlach/treeherder","homepage":"https://wiki.mozilla.org/Auto-tools/Projects/Treeherder","size":41239,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"4a357b297fde5d5ba3f93c27a53aea53292f53a9","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":8463294,"name":"treeherder","full_name":"mozilla/treeherder","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","description":"Dashboard & service for managing CI data for Mozilla projects","fork":false,"url":"https://api.github.com/repos/mozilla/treeherder","forks_url":"https://api.github.com/repos/mozilla/treeherder/forks","keys_url":"https://api.github.com/repos/mozilla/treeherder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/treeherder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/treeherder/teams","hooks_url":"https://api.github.com/repos/mozilla/treeherder/hooks","issue_events_url":"https://api.github.com/repos/mozilla/treeherder/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/treeherder/events","assignees_url":"https://api.github.com/repos/mozilla/treeherder/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/treeherder/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/treeherder/tags","blobs_url":"https://api.github.com/repos/mozilla/treeherder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/treeherder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/treeherder/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/treeherder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/treeherder/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/treeherder/languages","stargazers_url":"https://api.github.com/repos/mozilla/treeherder/stargazers","contributors_url":"https://api.github.com/repos/mozilla/treeherder/contributors","subscribers_url":"https://api.github.com/repos/mozilla/treeherder/subscribers","subscription_url":"https://api.github.com/repos/mozilla/treeherder/subscription","commits_url":"https://api.github.com/repos/mozilla/treeherder/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/treeherder/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/treeherder/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/treeherder/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/treeherder/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/treeherder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/treeherder/merges","archive_url":"https://api.github.com/repos/mozilla/treeherder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/treeherder/downloads","issues_url":"https://api.github.com/repos/mozilla/treeherder/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/treeherder/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/treeherder/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/treeherder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/treeherder/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/treeherder/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/treeherder/deployments","created_at":"2013-02-27T19:17:37Z","updated_at":"2016-04-13T19:49:33Z","pushed_at":"2016-04-19T18:31:15Z","git_url":"git://github.com/mozilla/treeherder.git","ssh_url":"git@github.com:mozilla/treeherder.git","clone_url":"https://github.com/mozilla/treeherder.git","svn_url":"https://github.com/mozilla/treeherder","homepage":"https://wiki.mozilla.org/EngineeringProductivity/Projects/Treeherder","size":396992,"stargazers_count":48,"watchers_count":48,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":27,"forks":91,"open_issues":27,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/treeherder/pulls/1410"},"html":{"href":"https://github.com/mozilla/treeherder/pull/1410"},"issue":{"href":"https://api.github.com/repos/mozilla/treeherder/issues/1410"},"comments":{"href":"https://api.github.com/repos/mozilla/treeherder/issues/1410/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/treeherder/pulls/1410/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/treeherder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/treeherder/pulls/1410/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/treeherder/statuses/dea948bb8e3d99ae83efde6b0b17e3b2151e0eae"}}}}