{"action":"created","comment":{"url":"https://api.github.com/repos/Linaro/art-reports/pulls/comments/57761115","id":57761115,"diff_hunk":"@@ -18,7 +18,12 @@ class ResultAdmin(admin.ModelAdmin):\n @admin.register(TestJob)\n class TestJobAdmin(admin.ModelAdmin):\n     list_display = ('id', 'url', 'status', 'completed', 'created_at')\n+    actions = ['force_fetch_results']\n \n+    def force_fetch_results(self, request, queryset):\n+        for testjob in queryset.all():\n+            set_testjob_results.delay(testjob)\n+    force_fetch_results.short_description = \"Force fetch results\"","path":"benchmarks/admin.py","position":18,"original_position":18,"commit_id":"e8792e40c44afe9bb6a30c8f95d38b33bbccc67a","original_commit_id":"e8792e40c44afe9bb6a30c8f95d38b33bbccc67a","user":{"login":"terceiro","id":30027,"avatar_url":"https://avatars.githubusercontent.com/u/30027?v=3","gravatar_id":"","url":"https://api.github.com/users/terceiro","html_url":"https://github.com/terceiro","followers_url":"https://api.github.com/users/terceiro/followers","following_url":"https://api.github.com/users/terceiro/following{/other_user}","gists_url":"https://api.github.com/users/terceiro/gists{/gist_id}","starred_url":"https://api.github.com/users/terceiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terceiro/subscriptions","organizations_url":"https://api.github.com/users/terceiro/orgs","repos_url":"https://api.github.com/users/terceiro/repos","events_url":"https://api.github.com/users/terceiro/events{/privacy}","received_events_url":"https://api.github.com/users/terceiro/received_events","type":"User","site_admin":false},"body":"nor this?","created_at":"2016-03-29T17:11:05Z","updated_at":"2016-03-29T17:11:05Z","html_url":"https://github.com/Linaro/art-reports/pull/14#discussion_r57761115","pull_request_url":"https://api.github.com/repos/Linaro/art-reports/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/Linaro/art-reports/pulls/comments/57761115"},"html":{"href":"https://github.com/Linaro/art-reports/pull/14#discussion_r57761115"},"pull_request":{"href":"https://api.github.com/repos/Linaro/art-reports/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/Linaro/art-reports/pulls/14","id":64492305,"html_url":"https://github.com/Linaro/art-reports/pull/14","diff_url":"https://github.com/Linaro/art-reports/pull/14.diff","patch_url":"https://github.com/Linaro/art-reports/pull/14.patch","issue_url":"https://api.github.com/repos/Linaro/art-reports/issues/14","number":14,"state":"open","locked":false,"title":"Fix for incorrect 'tester' class","user":{"login":"mwasilew","id":618901,"avatar_url":"https://avatars.githubusercontent.com/u/618901?v=3","gravatar_id":"","url":"https://api.github.com/users/mwasilew","html_url":"https://github.com/mwasilew","followers_url":"https://api.github.com/users/mwasilew/followers","following_url":"https://api.github.com/users/mwasilew/following{/other_user}","gists_url":"https://api.github.com/users/mwasilew/gists{/gist_id}","starred_url":"https://api.github.com/users/mwasilew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwasilew/subscriptions","organizations_url":"https://api.github.com/users/mwasilew/orgs","repos_url":"https://api.github.com/users/mwasilew/repos","events_url":"https://api.github.com/users/mwasilew/events{/privacy}","received_events_url":"https://api.github.com/users/mwasilew/received_events","type":"User","site_admin":false},"body":"This commit fixes #13. In case the test job is complete before task is\r\ncreated, incorrect class is used to fetch results. In addition this\r\npatch adds feature to force result fetching on the test jobs that have\r\nproper results but art-reports fails to retrieve them. Fetching results\r\ndoesn't require re-submitting test jobs.\r\n\r\nSigned-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>","created_at":"2016-03-29T16:17:37Z","updated_at":"2016-03-29T17:11:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d56c7a12308774de8c10f669421b617885d23262","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Linaro/art-reports/pulls/14/commits","review_comments_url":"https://api.github.com/repos/Linaro/art-reports/pulls/14/comments","review_comment_url":"https://api.github.com/repos/Linaro/art-reports/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Linaro/art-reports/issues/14/comments","statuses_url":"https://api.github.com/repos/Linaro/art-reports/statuses/e8792e40c44afe9bb6a30c8f95d38b33bbccc67a","head":{"label":"mwasilew:fix_result_fetching_bug","ref":"fix_result_fetching_bug","sha":"e8792e40c44afe9bb6a30c8f95d38b33bbccc67a","user":{"login":"mwasilew","id":618901,"avatar_url":"https://avatars.githubusercontent.com/u/618901?v=3","gravatar_id":"","url":"https://api.github.com/users/mwasilew","html_url":"https://github.com/mwasilew","followers_url":"https://api.github.com/users/mwasilew/followers","following_url":"https://api.github.com/users/mwasilew/following{/other_user}","gists_url":"https://api.github.com/users/mwasilew/gists{/gist_id}","starred_url":"https://api.github.com/users/mwasilew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwasilew/subscriptions","organizations_url":"https://api.github.com/users/mwasilew/orgs","repos_url":"https://api.github.com/users/mwasilew/repos","events_url":"https://api.github.com/users/mwasilew/events{/privacy}","received_events_url":"https://api.github.com/users/mwasilew/received_events","type":"User","site_admin":false},"repo":{"id":44973072,"name":"art-db-backend","full_name":"mwasilew/art-db-backend","owner":{"login":"mwasilew","id":618901,"avatar_url":"https://avatars.githubusercontent.com/u/618901?v=3","gravatar_id":"","url":"https://api.github.com/users/mwasilew","html_url":"https://github.com/mwasilew","followers_url":"https://api.github.com/users/mwasilew/followers","following_url":"https://api.github.com/users/mwasilew/following{/other_user}","gists_url":"https://api.github.com/users/mwasilew/gists{/gist_id}","starred_url":"https://api.github.com/users/mwasilew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwasilew/subscriptions","organizations_url":"https://api.github.com/users/mwasilew/orgs","repos_url":"https://api.github.com/users/mwasilew/repos","events_url":"https://api.github.com/users/mwasilew/events{/privacy}","received_events_url":"https://api.github.com/users/mwasilew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwasilew/art-db-backend","description":"","fork":false,"url":"https://api.github.com/repos/mwasilew/art-db-backend","forks_url":"https://api.github.com/repos/mwasilew/art-db-backend/forks","keys_url":"https://api.github.com/repos/mwasilew/art-db-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwasilew/art-db-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwasilew/art-db-backend/teams","hooks_url":"https://api.github.com/repos/mwasilew/art-db-backend/hooks","issue_events_url":"https://api.github.com/repos/mwasilew/art-db-backend/issues/events{/number}","events_url":"https://api.github.com/repos/mwasilew/art-db-backend/events","assignees_url":"https://api.github.com/repos/mwasilew/art-db-backend/assignees{/user}","branches_url":"https://api.github.com/repos/mwasilew/art-db-backend/branches{/branch}","tags_url":"https://api.github.com/repos/mwasilew/art-db-backend/tags","blobs_url":"https://api.github.com/repos/mwasilew/art-db-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwasilew/art-db-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwasilew/art-db-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwasilew/art-db-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwasilew/art-db-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/mwasilew/art-db-backend/languages","stargazers_url":"https://api.github.com/repos/mwasilew/art-db-backend/stargazers","contributors_url":"https://api.github.com/repos/mwasilew/art-db-backend/contributors","subscribers_url":"https://api.github.com/repos/mwasilew/art-db-backend/subscribers","subscription_url":"https://api.github.com/repos/mwasilew/art-db-backend/subscription","commits_url":"https://api.github.com/repos/mwasilew/art-db-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwasilew/art-db-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwasilew/art-db-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwasilew/art-db-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwasilew/art-db-backend/contents/{+path}","compare_url":"https://api.github.com/repos/mwasilew/art-db-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwasilew/art-db-backend/merges","archive_url":"https://api.github.com/repos/mwasilew/art-db-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwasilew/art-db-backend/downloads","issues_url":"https://api.github.com/repos/mwasilew/art-db-backend/issues{/number}","pulls_url":"https://api.github.com/repos/mwasilew/art-db-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/mwasilew/art-db-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/mwasilew/art-db-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwasilew/art-db-backend/labels{/name}","releases_url":"https://api.github.com/repos/mwasilew/art-db-backend/releases{/id}","deployments_url":"https://api.github.com/repos/mwasilew/art-db-backend/deployments","created_at":"2015-10-26T14:18:55Z","updated_at":"2016-01-26T11:59:31Z","pushed_at":"2016-03-29T16:16:14Z","git_url":"git://github.com/mwasilew/art-db-backend.git","ssh_url":"git@github.com:mwasilew/art-db-backend.git","clone_url":"https://github.com/mwasilew/art-db-backend.git","svn_url":"https://github.com/mwasilew/art-db-backend","homepage":null,"size":5552,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Linaro:master","ref":"master","sha":"196241cbd4bb92e1e44a3a982370dbc1ed5d0cf5","user":{"login":"Linaro","id":1180626,"avatar_url":"https://avatars.githubusercontent.com/u/1180626?v=3","gravatar_id":"","url":"https://api.github.com/users/Linaro","html_url":"https://github.com/Linaro","followers_url":"https://api.github.com/users/Linaro/followers","following_url":"https://api.github.com/users/Linaro/following{/other_user}","gists_url":"https://api.github.com/users/Linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/Linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linaro/subscriptions","organizations_url":"https://api.github.com/users/Linaro/orgs","repos_url":"https://api.github.com/users/Linaro/repos","events_url":"https://api.github.com/users/Linaro/events{/privacy}","received_events_url":"https://api.github.com/users/Linaro/received_events","type":"Organization","site_admin":false},"repo":{"id":54223014,"name":"art-reports","full_name":"Linaro/art-reports","owner":{"login":"Linaro","id":1180626,"avatar_url":"https://avatars.githubusercontent.com/u/1180626?v=3","gravatar_id":"","url":"https://api.github.com/users/Linaro","html_url":"https://github.com/Linaro","followers_url":"https://api.github.com/users/Linaro/followers","following_url":"https://api.github.com/users/Linaro/following{/other_user}","gists_url":"https://api.github.com/users/Linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/Linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linaro/subscriptions","organizations_url":"https://api.github.com/users/Linaro/orgs","repos_url":"https://api.github.com/users/Linaro/repos","events_url":"https://api.github.com/users/Linaro/events{/privacy}","received_events_url":"https://api.github.com/users/Linaro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Linaro/art-reports","description":"","fork":true,"url":"https://api.github.com/repos/Linaro/art-reports","forks_url":"https://api.github.com/repos/Linaro/art-reports/forks","keys_url":"https://api.github.com/repos/Linaro/art-reports/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Linaro/art-reports/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Linaro/art-reports/teams","hooks_url":"https://api.github.com/repos/Linaro/art-reports/hooks","issue_events_url":"https://api.github.com/repos/Linaro/art-reports/issues/events{/number}","events_url":"https://api.github.com/repos/Linaro/art-reports/events","assignees_url":"https://api.github.com/repos/Linaro/art-reports/assignees{/user}","branches_url":"https://api.github.com/repos/Linaro/art-reports/branches{/branch}","tags_url":"https://api.github.com/repos/Linaro/art-reports/tags","blobs_url":"https://api.github.com/repos/Linaro/art-reports/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Linaro/art-reports/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Linaro/art-reports/git/refs{/sha}","trees_url":"https://api.github.com/repos/Linaro/art-reports/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Linaro/art-reports/statuses/{sha}","languages_url":"https://api.github.com/repos/Linaro/art-reports/languages","stargazers_url":"https://api.github.com/repos/Linaro/art-reports/stargazers","contributors_url":"https://api.github.com/repos/Linaro/art-reports/contributors","subscribers_url":"https://api.github.com/repos/Linaro/art-reports/subscribers","subscription_url":"https://api.github.com/repos/Linaro/art-reports/subscription","commits_url":"https://api.github.com/repos/Linaro/art-reports/commits{/sha}","git_commits_url":"https://api.github.com/repos/Linaro/art-reports/git/commits{/sha}","comments_url":"https://api.github.com/repos/Linaro/art-reports/comments{/number}","issue_comment_url":"https://api.github.com/repos/Linaro/art-reports/issues/comments{/number}","contents_url":"https://api.github.com/repos/Linaro/art-reports/contents/{+path}","compare_url":"https://api.github.com/repos/Linaro/art-reports/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Linaro/art-reports/merges","archive_url":"https://api.github.com/repos/Linaro/art-reports/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Linaro/art-reports/downloads","issues_url":"https://api.github.com/repos/Linaro/art-reports/issues{/number}","pulls_url":"https://api.github.com/repos/Linaro/art-reports/pulls{/number}","milestones_url":"https://api.github.com/repos/Linaro/art-reports/milestones{/number}","notifications_url":"https://api.github.com/repos/Linaro/art-reports/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Linaro/art-reports/labels{/name}","releases_url":"https://api.github.com/repos/Linaro/art-reports/releases{/id}","deployments_url":"https://api.github.com/repos/Linaro/art-reports/deployments","created_at":"2016-03-18T18:25:40Z","updated_at":"2016-03-22T08:03:45Z","pushed_at":"2016-03-29T16:17:38Z","git_url":"git://github.com/Linaro/art-reports.git","ssh_url":"git@github.com:Linaro/art-reports.git","clone_url":"https://github.com/Linaro/art-reports.git","svn_url":"https://github.com/Linaro/art-reports","homepage":null,"size":5552,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Linaro/art-reports/pulls/14"},"html":{"href":"https://github.com/Linaro/art-reports/pull/14"},"issue":{"href":"https://api.github.com/repos/Linaro/art-reports/issues/14"},"comments":{"href":"https://api.github.com/repos/Linaro/art-reports/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/Linaro/art-reports/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/Linaro/art-reports/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Linaro/art-reports/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/Linaro/art-reports/statuses/e8792e40c44afe9bb6a30c8f95d38b33bbccc67a"}}}}