{"action":"created","comment":{"url":"https://api.github.com/repos/ev3go/ev3dev/pulls/comments/184439390","pull_request_review_id":115631395,"id":184439390,"diff_hunk":"@@ -0,0 +1,52 @@\n+// Copyright ©2016 The ev3go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package fb\n+\n+import (\n+\t\"image/draw\"\n+\t\"image/png\"\n+\t\"os\"\n+\t\"path/filepath\"\n+\t\"reflect\"\n+\t\"testing\"\n+)\n+\n+func TestXRGB(t *testing.T) {\n+\tfor _, test := range testImages {\n+\t\tgolden := filepath.FromSlash(\"testdata/\" + test + \"-xrgb.png\")\n+\n+\t\tsrc, err := decodeImage(filepath.FromSlash(\"testdata/\" + test + \".png\"))\n+\t\tif err != nil {\n+\t\t\tt.Fatalf(\"failed to read src image file %v.png: %v\", test, err)\n+\t\t}\n+\n+\t\tgot := NewRGB565(src.Bounds())","path":"fb/xrgb_test.go","position":25,"original_position":25,"commit_id":"625cbe5b63c46429248b2d80171bbba323a496ee","original_commit_id":"625cbe5b63c46429248b2d80171bbba323a496ee","user":{"login":"dlech","id":963645,"avatar_url":"https://avatars0.githubusercontent.com/u/963645?v=4","gravatar_id":"","url":"https://api.github.com/users/dlech","html_url":"https://github.com/dlech","followers_url":"https://api.github.com/users/dlech/followers","following_url":"https://api.github.com/users/dlech/following{/other_user}","gists_url":"https://api.github.com/users/dlech/gists{/gist_id}","starred_url":"https://api.github.com/users/dlech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlech/subscriptions","organizations_url":"https://api.github.com/users/dlech/orgs","repos_url":"https://api.github.com/users/dlech/repos","events_url":"https://api.github.com/users/dlech/events{/privacy}","received_events_url":"https://api.github.com/users/dlech/received_events","type":"User","site_admin":false},"body":"Shoudn't this be NewXRGB?","created_at":"2018-04-26T15:48:50Z","updated_at":"2018-04-26T15:50:19Z","html_url":"https://github.com/ev3go/ev3dev/pull/78#discussion_r184439390","pull_request_url":"https://api.github.com/repos/ev3go/ev3dev/pulls/78","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ev3go/ev3dev/pulls/comments/184439390"},"html":{"href":"https://github.com/ev3go/ev3dev/pull/78#discussion_r184439390"},"pull_request":{"href":"https://api.github.com/repos/ev3go/ev3dev/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/ev3go/ev3dev/pulls/78","id":184313742,"html_url":"https://github.com/ev3go/ev3dev/pull/78","diff_url":"https://github.com/ev3go/ev3dev/pull/78.diff","patch_url":"https://github.com/ev3go/ev3dev/pull/78.patch","issue_url":"https://api.github.com/repos/ev3go/ev3dev/issues/78","number":78,"state":"open","locked":false,"title":"ev3dev/fb: add support for XRGB","user":{"login":"kortschak","id":275221,"avatar_url":"https://avatars1.githubusercontent.com/u/275221?v=4","gravatar_id":"","url":"https://api.github.com/users/kortschak","html_url":"https://github.com/kortschak","followers_url":"https://api.github.com/users/kortschak/followers","following_url":"https://api.github.com/users/kortschak/following{/other_user}","gists_url":"https://api.github.com/users/kortschak/gists{/gist_id}","starred_url":"https://api.github.com/users/kortschak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kortschak/subscriptions","organizations_url":"https://api.github.com/users/kortschak/orgs","repos_url":"https://api.github.com/users/kortschak/repos","events_url":"https://api.github.com/users/kortschak/events{/privacy}","received_events_url":"https://api.github.com/users/kortschak/received_events","type":"User","site_admin":false},"body":"@dlech Please take a look.\r\n\r\nThis will provide the construction function required for https://github.com/ev3go/ev3/pull/3.","created_at":"2018-04-26T11:49:17Z","updated_at":"2018-04-26T15:50:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"750ae44188c79f83df9664b708966f399057aaf9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ev3go/ev3dev/pulls/78/commits","review_comments_url":"https://api.github.com/repos/ev3go/ev3dev/pulls/78/comments","review_comment_url":"https://api.github.com/repos/ev3go/ev3dev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ev3go/ev3dev/issues/78/comments","statuses_url":"https://api.github.com/repos/ev3go/ev3dev/statuses/625cbe5b63c46429248b2d80171bbba323a496ee","head":{"label":"ev3go:fb/xrgb","ref":"fb/xrgb","sha":"625cbe5b63c46429248b2d80171bbba323a496ee","user":{"login":"ev3go","id":18565606,"avatar_url":"https://avatars2.githubusercontent.com/u/18565606?v=4","gravatar_id":"","url":"https://api.github.com/users/ev3go","html_url":"https://github.com/ev3go","followers_url":"https://api.github.com/users/ev3go/followers","following_url":"https://api.github.com/users/ev3go/following{/other_user}","gists_url":"https://api.github.com/users/ev3go/gists{/gist_id}","starred_url":"https://api.github.com/users/ev3go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ev3go/subscriptions","organizations_url":"https://api.github.com/users/ev3go/orgs","repos_url":"https://api.github.com/users/ev3go/repos","events_url":"https://api.github.com/users/ev3go/events{/privacy}","received_events_url":"https://api.github.com/users/ev3go/received_events","type":"Organization","site_admin":false},"repo":{"id":56419617,"name":"ev3dev","full_name":"ev3go/ev3dev","owner":{"login":"ev3go","id":18565606,"avatar_url":"https://avatars2.githubusercontent.com/u/18565606?v=4","gravatar_id":"","url":"https://api.github.com/users/ev3go","html_url":"https://github.com/ev3go","followers_url":"https://api.github.com/users/ev3go/followers","following_url":"https://api.github.com/users/ev3go/following{/other_user}","gists_url":"https://api.github.com/users/ev3go/gists{/gist_id}","starred_url":"https://api.github.com/users/ev3go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ev3go/subscriptions","organizations_url":"https://api.github.com/users/ev3go/orgs","repos_url":"https://api.github.com/users/ev3go/repos","events_url":"https://api.github.com/users/ev3go/events{/privacy}","received_events_url":"https://api.github.com/users/ev3go/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ev3go/ev3dev","description":"ev3dev is a simple interface to the Lego Mindstorms ev3 robotics platform","fork":false,"url":"https://api.github.com/repos/ev3go/ev3dev","forks_url":"https://api.github.com/repos/ev3go/ev3dev/forks","keys_url":"https://api.github.com/repos/ev3go/ev3dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ev3go/ev3dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ev3go/ev3dev/teams","hooks_url":"https://api.github.com/repos/ev3go/ev3dev/hooks","issue_events_url":"https://api.github.com/repos/ev3go/ev3dev/issues/events{/number}","events_url":"https://api.github.com/repos/ev3go/ev3dev/events","assignees_url":"https://api.github.com/repos/ev3go/ev3dev/assignees{/user}","branches_url":"https://api.github.com/repos/ev3go/ev3dev/branches{/branch}","tags_url":"https://api.github.com/repos/ev3go/ev3dev/tags","blobs_url":"https://api.github.com/repos/ev3go/ev3dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ev3go/ev3dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ev3go/ev3dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/ev3go/ev3dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ev3go/ev3dev/statuses/{sha}","languages_url":"https://api.github.com/repos/ev3go/ev3dev/languages","stargazers_url":"https://api.github.com/repos/ev3go/ev3dev/stargazers","contributors_url":"https://api.github.com/repos/ev3go/ev3dev/contributors","subscribers_url":"https://api.github.com/repos/ev3go/ev3dev/subscribers","subscription_url":"https://api.github.com/repos/ev3go/ev3dev/subscription","commits_url":"https://api.github.com/repos/ev3go/ev3dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/ev3go/ev3dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/ev3go/ev3dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/ev3go/ev3dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/ev3go/ev3dev/contents/{+path}","compare_url":"https://api.github.com/repos/ev3go/ev3dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ev3go/ev3dev/merges","archive_url":"https://api.github.com/repos/ev3go/ev3dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ev3go/ev3dev/downloads","issues_url":"https://api.github.com/repos/ev3go/ev3dev/issues{/number}","pulls_url":"https://api.github.com/repos/ev3go/ev3dev/pulls{/number}","milestones_url":"https://api.github.com/repos/ev3go/ev3dev/milestones{/number}","notifications_url":"https://api.github.com/repos/ev3go/ev3dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ev3go/ev3dev/labels{/name}","releases_url":"https://api.github.com/repos/ev3go/ev3dev/releases{/id}","deployments_url":"https://api.github.com/repos/ev3go/ev3dev/deployments","created_at":"2016-04-17T04:53:59Z","updated_at":"2018-04-13T04:38:51Z","pushed_at":"2018-04-26T11:49:17Z","git_url":"git://github.com/ev3go/ev3dev.git","ssh_url":"git@github.com:ev3go/ev3dev.git","clone_url":"https://github.com/ev3go/ev3dev.git","svn_url":"https://github.com/ev3go/ev3dev","homepage":"","size":2409,"stargazers_count":36,"watchers_count":36,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":5,"open_issues":7,"watchers":36,"default_branch":"master"}},"base":{"label":"ev3go:ev3dev-stretch","ref":"ev3dev-stretch","sha":"6c9a5d205741e9d9d62b7580514462738f92e5e1","user":{"login":"ev3go","id":18565606,"avatar_url":"https://avatars2.githubusercontent.com/u/18565606?v=4","gravatar_id":"","url":"https://api.github.com/users/ev3go","html_url":"https://github.com/ev3go","followers_url":"https://api.github.com/users/ev3go/followers","following_url":"https://api.github.com/users/ev3go/following{/other_user}","gists_url":"https://api.github.com/users/ev3go/gists{/gist_id}","starred_url":"https://api.github.com/users/ev3go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ev3go/subscriptions","organizations_url":"https://api.github.com/users/ev3go/orgs","repos_url":"https://api.github.com/users/ev3go/repos","events_url":"https://api.github.com/users/ev3go/events{/privacy}","received_events_url":"https://api.github.com/users/ev3go/received_events","type":"Organization","site_admin":false},"repo":{"id":56419617,"name":"ev3dev","full_name":"ev3go/ev3dev","owner":{"login":"ev3go","id":18565606,"avatar_url":"https://avatars2.githubusercontent.com/u/18565606?v=4","gravatar_id":"","url":"https://api.github.com/users/ev3go","html_url":"https://github.com/ev3go","followers_url":"https://api.github.com/users/ev3go/followers","following_url":"https://api.github.com/users/ev3go/following{/other_user}","gists_url":"https://api.github.com/users/ev3go/gists{/gist_id}","starred_url":"https://api.github.com/users/ev3go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ev3go/subscriptions","organizations_url":"https://api.github.com/users/ev3go/orgs","repos_url":"https://api.github.com/users/ev3go/repos","events_url":"https://api.github.com/users/ev3go/events{/privacy}","received_events_url":"https://api.github.com/users/ev3go/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ev3go/ev3dev","description":"ev3dev is a simple interface to the Lego Mindstorms ev3 robotics platform","fork":false,"url":"https://api.github.com/repos/ev3go/ev3dev","forks_url":"https://api.github.com/repos/ev3go/ev3dev/forks","keys_url":"https://api.github.com/repos/ev3go/ev3dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ev3go/ev3dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ev3go/ev3dev/teams","hooks_url":"https://api.github.com/repos/ev3go/ev3dev/hooks","issue_events_url":"https://api.github.com/repos/ev3go/ev3dev/issues/events{/number}","events_url":"https://api.github.com/repos/ev3go/ev3dev/events","assignees_url":"https://api.github.com/repos/ev3go/ev3dev/assignees{/user}","branches_url":"https://api.github.com/repos/ev3go/ev3dev/branches{/branch}","tags_url":"https://api.github.com/repos/ev3go/ev3dev/tags","blobs_url":"https://api.github.com/repos/ev3go/ev3dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ev3go/ev3dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ev3go/ev3dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/ev3go/ev3dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ev3go/ev3dev/statuses/{sha}","languages_url":"https://api.github.com/repos/ev3go/ev3dev/languages","stargazers_url":"https://api.github.com/repos/ev3go/ev3dev/stargazers","contributors_url":"https://api.github.com/repos/ev3go/ev3dev/contributors","subscribers_url":"https://api.github.com/repos/ev3go/ev3dev/subscribers","subscription_url":"https://api.github.com/repos/ev3go/ev3dev/subscription","commits_url":"https://api.github.com/repos/ev3go/ev3dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/ev3go/ev3dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/ev3go/ev3dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/ev3go/ev3dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/ev3go/ev3dev/contents/{+path}","compare_url":"https://api.github.com/repos/ev3go/ev3dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ev3go/ev3dev/merges","archive_url":"https://api.github.com/repos/ev3go/ev3dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ev3go/ev3dev/downloads","issues_url":"https://api.github.com/repos/ev3go/ev3dev/issues{/number}","pulls_url":"https://api.github.com/repos/ev3go/ev3dev/pulls{/number}","milestones_url":"https://api.github.com/repos/ev3go/ev3dev/milestones{/number}","notifications_url":"https://api.github.com/repos/ev3go/ev3dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ev3go/ev3dev/labels{/name}","releases_url":"https://api.github.com/repos/ev3go/ev3dev/releases{/id}","deployments_url":"https://api.github.com/repos/ev3go/ev3dev/deployments","created_at":"2016-04-17T04:53:59Z","updated_at":"2018-04-13T04:38:51Z","pushed_at":"2018-04-26T11:49:17Z","git_url":"git://github.com/ev3go/ev3dev.git","ssh_url":"git@github.com:ev3go/ev3dev.git","clone_url":"https://github.com/ev3go/ev3dev.git","svn_url":"https://github.com/ev3go/ev3dev","homepage":"","size":2409,"stargazers_count":36,"watchers_count":36,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":5,"open_issues":7,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ev3go/ev3dev/pulls/78"},"html":{"href":"https://github.com/ev3go/ev3dev/pull/78"},"issue":{"href":"https://api.github.com/repos/ev3go/ev3dev/issues/78"},"comments":{"href":"https://api.github.com/repos/ev3go/ev3dev/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/ev3go/ev3dev/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/ev3go/ev3dev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ev3go/ev3dev/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/ev3go/ev3dev/statuses/625cbe5b63c46429248b2d80171bbba323a496ee"}},"author_association":"OWNER"}}
{"actor":{"display_login":"dlech"}}