{"action":"created","comment":{"url":"https://api.github.com/repos/attic-labs/noms/pulls/comments/84947497","pull_request_review_id":5560355,"id":84947497,"diff_hunk":"@@ -0,0 +1,169 @@\n+// Copyright 2016 Attic Labs, Inc. All rights reserved.\n+// Licensed under the Apache License, version 2.0:\n+// http://www.apache.org/licenses/LICENSE-2.0\n+\n+package main\n+\n+import (\n+\t\"fmt\"\n+\t\"os\"\n+\t\"path\"\n+\t\"time\"\n+\n+\t\"github.com/attic-labs/noms/go/config\"\n+\t\"github.com/attic-labs/noms/go/datas\"\n+\t\"github.com/attic-labs/noms/go/spec\"\n+\t\"github.com/attic-labs/noms/go/types\"\n+\t\"github.com/attic-labs/noms/go/util/verbose\"\n+\t\"github.com/attic-labs/noms/go/walk\"\n+\tflag \"github.com/juju/gnuflag\"\n+)\n+\n+type facePoints struct {\n+\tx    types.Number\n+\ty    types.Number\n+\tw    types.Number\n+\th    types.Number\n+\tcx   types.Number\n+\tcy   types.Number\n+\tname types.String\n+}\n+\n+func main() {\n+\tmergeFaces()\n+}\n+\n+func mergeFaces() {\n+\n+\tvar dbStr = flag.String(\"db\", \"\", \"input database spec\")\n+\tvar outDSStr = flag.String(\"out-ds\", \"\", \"output dataset to write to - if empty, defaults to input dataset\")","path":"samples/go/face-merge/main.go","position":39,"original_position":39,"commit_id":"23b00187cac3c3ff107a7fe262d445c14dd9c862","original_commit_id":"23b00187cac3c3ff107a7fe262d445c14dd9c862","user":{"login":"aboodman","id":80388,"avatar_url":"https://avatars.githubusercontent.com/u/80388?v=3","gravatar_id":"","url":"https://api.github.com/users/aboodman","html_url":"https://github.com/aboodman","followers_url":"https://api.github.com/users/aboodman/followers","following_url":"https://api.github.com/users/aboodman/following{/other_user}","gists_url":"https://api.github.com/users/aboodman/gists{/gist_id}","starred_url":"https://api.github.com/users/aboodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboodman/subscriptions","organizations_url":"https://api.github.com/users/aboodman/orgs","repos_url":"https://api.github.com/users/aboodman/repos","events_url":"https://api.github.com/users/aboodman/events{/privacy}","received_events_url":"https://api.github.com/users/aboodman/received_events","type":"User","site_admin":false},"body":"The description is incorrect - this parameter is not optional.","created_at":"2016-10-25T16:45:09Z","updated_at":"2016-10-25T16:46:05Z","html_url":"https://github.com/attic-labs/noms/pull/2750#discussion_r84947497","pull_request_url":"https://api.github.com/repos/attic-labs/noms/pulls/2750","_links":{"self":{"href":"https://api.github.com/repos/attic-labs/noms/pulls/comments/84947497"},"html":{"href":"https://github.com/attic-labs/noms/pull/2750#discussion_r84947497"},"pull_request":{"href":"https://api.github.com/repos/attic-labs/noms/pulls/2750"}}},"pull_request":{"url":"https://api.github.com/repos/attic-labs/noms/pulls/2750","id":90709782,"html_url":"https://github.com/attic-labs/noms/pull/2750","diff_url":"https://github.com/attic-labs/noms/pull/2750.diff","patch_url":"https://github.com/attic-labs/noms/pull/2750.patch","issue_url":"https://api.github.com/repos/attic-labs/noms/issues/2750","number":2750,"state":"open","locked":false,"title":"Adds face merge functionality to photos","user":{"login":"zcstarr","id":173187,"avatar_url":"https://avatars.githubusercontent.com/u/173187?v=3","gravatar_id":"","url":"https://api.github.com/users/zcstarr","html_url":"https://github.com/zcstarr","followers_url":"https://api.github.com/users/zcstarr/followers","following_url":"https://api.github.com/users/zcstarr/following{/other_user}","gists_url":"https://api.github.com/users/zcstarr/gists{/gist_id}","starred_url":"https://api.github.com/users/zcstarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcstarr/subscriptions","organizations_url":"https://api.github.com/users/zcstarr/orgs","repos_url":"https://api.github.com/users/zcstarr/repos","events_url":"https://api.github.com/users/zcstarr/events{/privacy}","received_events_url":"https://api.github.com/users/zcstarr/received_events","type":"User","site_admin":false},"body":"it takes face center points and face rectangles and returns the\r\nset of faces in which the face rectangle contains the face\r\ncenter point. We return a photo object with a set of faces, that\r\nhave the names from the face centerpoints and the rectangles from the\r\nface rectangles.","created_at":"2016-10-24T23:05:12Z","updated_at":"2016-10-25T17:01:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8680471e1002faa3835dd76b724c44d8376e7e8","assignee":{"login":"aboodman","id":80388,"avatar_url":"https://avatars.githubusercontent.com/u/80388?v=3","gravatar_id":"","url":"https://api.github.com/users/aboodman","html_url":"https://github.com/aboodman","followers_url":"https://api.github.com/users/aboodman/followers","following_url":"https://api.github.com/users/aboodman/following{/other_user}","gists_url":"https://api.github.com/users/aboodman/gists{/gist_id}","starred_url":"https://api.github.com/users/aboodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboodman/subscriptions","organizations_url":"https://api.github.com/users/aboodman/orgs","repos_url":"https://api.github.com/users/aboodman/repos","events_url":"https://api.github.com/users/aboodman/events{/privacy}","received_events_url":"https://api.github.com/users/aboodman/received_events","type":"User","site_admin":false},"assignees":[{"login":"aboodman","id":80388,"avatar_url":"https://avatars.githubusercontent.com/u/80388?v=3","gravatar_id":"","url":"https://api.github.com/users/aboodman","html_url":"https://github.com/aboodman","followers_url":"https://api.github.com/users/aboodman/followers","following_url":"https://api.github.com/users/aboodman/following{/other_user}","gists_url":"https://api.github.com/users/aboodman/gists{/gist_id}","starred_url":"https://api.github.com/users/aboodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboodman/subscriptions","organizations_url":"https://api.github.com/users/aboodman/orgs","repos_url":"https://api.github.com/users/aboodman/repos","events_url":"https://api.github.com/users/aboodman/events{/privacy}","received_events_url":"https://api.github.com/users/aboodman/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/attic-labs/noms/pulls/2750/commits","review_comments_url":"https://api.github.com/repos/attic-labs/noms/pulls/2750/comments","review_comment_url":"https://api.github.com/repos/attic-labs/noms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/attic-labs/noms/issues/2750/comments","statuses_url":"https://api.github.com/repos/attic-labs/noms/statuses/23b00187cac3c3ff107a7fe262d445c14dd9c862","head":{"label":"zcstarr:faces_merged","ref":"faces_merged","sha":"23b00187cac3c3ff107a7fe262d445c14dd9c862","user":{"login":"zcstarr","id":173187,"avatar_url":"https://avatars.githubusercontent.com/u/173187?v=3","gravatar_id":"","url":"https://api.github.com/users/zcstarr","html_url":"https://github.com/zcstarr","followers_url":"https://api.github.com/users/zcstarr/followers","following_url":"https://api.github.com/users/zcstarr/following{/other_user}","gists_url":"https://api.github.com/users/zcstarr/gists{/gist_id}","starred_url":"https://api.github.com/users/zcstarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcstarr/subscriptions","organizations_url":"https://api.github.com/users/zcstarr/orgs","repos_url":"https://api.github.com/users/zcstarr/repos","events_url":"https://api.github.com/users/zcstarr/events{/privacy}","received_events_url":"https://api.github.com/users/zcstarr/received_events","type":"User","site_admin":false},"repo":{"id":66400933,"name":"noms","full_name":"zcstarr/noms","owner":{"login":"zcstarr","id":173187,"avatar_url":"https://avatars.githubusercontent.com/u/173187?v=3","gravatar_id":"","url":"https://api.github.com/users/zcstarr","html_url":"https://github.com/zcstarr","followers_url":"https://api.github.com/users/zcstarr/followers","following_url":"https://api.github.com/users/zcstarr/following{/other_user}","gists_url":"https://api.github.com/users/zcstarr/gists{/gist_id}","starred_url":"https://api.github.com/users/zcstarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcstarr/subscriptions","organizations_url":"https://api.github.com/users/zcstarr/orgs","repos_url":"https://api.github.com/users/zcstarr/repos","events_url":"https://api.github.com/users/zcstarr/events{/privacy}","received_events_url":"https://api.github.com/users/zcstarr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zcstarr/noms","description":"The versioned, forkable, syncable database","fork":true,"url":"https://api.github.com/repos/zcstarr/noms","forks_url":"https://api.github.com/repos/zcstarr/noms/forks","keys_url":"https://api.github.com/repos/zcstarr/noms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zcstarr/noms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zcstarr/noms/teams","hooks_url":"https://api.github.com/repos/zcstarr/noms/hooks","issue_events_url":"https://api.github.com/repos/zcstarr/noms/issues/events{/number}","events_url":"https://api.github.com/repos/zcstarr/noms/events","assignees_url":"https://api.github.com/repos/zcstarr/noms/assignees{/user}","branches_url":"https://api.github.com/repos/zcstarr/noms/branches{/branch}","tags_url":"https://api.github.com/repos/zcstarr/noms/tags","blobs_url":"https://api.github.com/repos/zcstarr/noms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zcstarr/noms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zcstarr/noms/git/refs{/sha}","trees_url":"https://api.github.com/repos/zcstarr/noms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zcstarr/noms/statuses/{sha}","languages_url":"https://api.github.com/repos/zcstarr/noms/languages","stargazers_url":"https://api.github.com/repos/zcstarr/noms/stargazers","contributors_url":"https://api.github.com/repos/zcstarr/noms/contributors","subscribers_url":"https://api.github.com/repos/zcstarr/noms/subscribers","subscription_url":"https://api.github.com/repos/zcstarr/noms/subscription","commits_url":"https://api.github.com/repos/zcstarr/noms/commits{/sha}","git_commits_url":"https://api.github.com/repos/zcstarr/noms/git/commits{/sha}","comments_url":"https://api.github.com/repos/zcstarr/noms/comments{/number}","issue_comment_url":"https://api.github.com/repos/zcstarr/noms/issues/comments{/number}","contents_url":"https://api.github.com/repos/zcstarr/noms/contents/{+path}","compare_url":"https://api.github.com/repos/zcstarr/noms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zcstarr/noms/merges","archive_url":"https://api.github.com/repos/zcstarr/noms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zcstarr/noms/downloads","issues_url":"https://api.github.com/repos/zcstarr/noms/issues{/number}","pulls_url":"https://api.github.com/repos/zcstarr/noms/pulls{/number}","milestones_url":"https://api.github.com/repos/zcstarr/noms/milestones{/number}","notifications_url":"https://api.github.com/repos/zcstarr/noms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zcstarr/noms/labels{/name}","releases_url":"https://api.github.com/repos/zcstarr/noms/releases{/id}","deployments_url":"https://api.github.com/repos/zcstarr/noms/deployments","created_at":"2016-08-23T20:30:08Z","updated_at":"2016-09-15T18:13:46Z","pushed_at":"2016-10-25T00:46:07Z","git_url":"git://github.com/zcstarr/noms.git","ssh_url":"git@github.com:zcstarr/noms.git","clone_url":"https://github.com/zcstarr/noms.git","svn_url":"https://github.com/zcstarr/noms","homepage":"","size":26159,"stargazers_count":1,"watchers_count":1,"language":"Go","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":1,"default_branch":"master"}},"base":{"label":"attic-labs:master","ref":"master","sha":"d8f172df09b5541b0c1b1ad10a0dee1ef16298c6","user":{"login":"attic-labs","id":12534679,"avatar_url":"https://avatars.githubusercontent.com/u/12534679?v=3","gravatar_id":"","url":"https://api.github.com/users/attic-labs","html_url":"https://github.com/attic-labs","followers_url":"https://api.github.com/users/attic-labs/followers","following_url":"https://api.github.com/users/attic-labs/following{/other_user}","gists_url":"https://api.github.com/users/attic-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/attic-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attic-labs/subscriptions","organizations_url":"https://api.github.com/users/attic-labs/orgs","repos_url":"https://api.github.com/users/attic-labs/repos","events_url":"https://api.github.com/users/attic-labs/events{/privacy}","received_events_url":"https://api.github.com/users/attic-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":36778364,"name":"noms","full_name":"attic-labs/noms","owner":{"login":"attic-labs","id":12534679,"avatar_url":"https://avatars.githubusercontent.com/u/12534679?v=3","gravatar_id":"","url":"https://api.github.com/users/attic-labs","html_url":"https://github.com/attic-labs","followers_url":"https://api.github.com/users/attic-labs/followers","following_url":"https://api.github.com/users/attic-labs/following{/other_user}","gists_url":"https://api.github.com/users/attic-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/attic-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attic-labs/subscriptions","organizations_url":"https://api.github.com/users/attic-labs/orgs","repos_url":"https://api.github.com/users/attic-labs/repos","events_url":"https://api.github.com/users/attic-labs/events{/privacy}","received_events_url":"https://api.github.com/users/attic-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/attic-labs/noms","description":"The versioned, forkable, syncable database","fork":false,"url":"https://api.github.com/repos/attic-labs/noms","forks_url":"https://api.github.com/repos/attic-labs/noms/forks","keys_url":"https://api.github.com/repos/attic-labs/noms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/attic-labs/noms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/attic-labs/noms/teams","hooks_url":"https://api.github.com/repos/attic-labs/noms/hooks","issue_events_url":"https://api.github.com/repos/attic-labs/noms/issues/events{/number}","events_url":"https://api.github.com/repos/attic-labs/noms/events","assignees_url":"https://api.github.com/repos/attic-labs/noms/assignees{/user}","branches_url":"https://api.github.com/repos/attic-labs/noms/branches{/branch}","tags_url":"https://api.github.com/repos/attic-labs/noms/tags","blobs_url":"https://api.github.com/repos/attic-labs/noms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/attic-labs/noms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/attic-labs/noms/git/refs{/sha}","trees_url":"https://api.github.com/repos/attic-labs/noms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/attic-labs/noms/statuses/{sha}","languages_url":"https://api.github.com/repos/attic-labs/noms/languages","stargazers_url":"https://api.github.com/repos/attic-labs/noms/stargazers","contributors_url":"https://api.github.com/repos/attic-labs/noms/contributors","subscribers_url":"https://api.github.com/repos/attic-labs/noms/subscribers","subscription_url":"https://api.github.com/repos/attic-labs/noms/subscription","commits_url":"https://api.github.com/repos/attic-labs/noms/commits{/sha}","git_commits_url":"https://api.github.com/repos/attic-labs/noms/git/commits{/sha}","comments_url":"https://api.github.com/repos/attic-labs/noms/comments{/number}","issue_comment_url":"https://api.github.com/repos/attic-labs/noms/issues/comments{/number}","contents_url":"https://api.github.com/repos/attic-labs/noms/contents/{+path}","compare_url":"https://api.github.com/repos/attic-labs/noms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/attic-labs/noms/merges","archive_url":"https://api.github.com/repos/attic-labs/noms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/attic-labs/noms/downloads","issues_url":"https://api.github.com/repos/attic-labs/noms/issues{/number}","pulls_url":"https://api.github.com/repos/attic-labs/noms/pulls{/number}","milestones_url":"https://api.github.com/repos/attic-labs/noms/milestones{/number}","notifications_url":"https://api.github.com/repos/attic-labs/noms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/attic-labs/noms/labels{/name}","releases_url":"https://api.github.com/repos/attic-labs/noms/releases{/id}","deployments_url":"https://api.github.com/repos/attic-labs/noms/deployments","created_at":"2015-06-03T03:44:49Z","updated_at":"2016-10-25T16:54:44Z","pushed_at":"2016-10-25T00:46:07Z","git_url":"git://github.com/attic-labs/noms.git","ssh_url":"git@github.com:attic-labs/noms.git","clone_url":"https://github.com/attic-labs/noms.git","svn_url":"https://github.com/attic-labs/noms","homepage":"","size":38721,"stargazers_count":5733,"watchers_count":5733,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":161,"mirror_url":null,"open_issues_count":233,"forks":161,"open_issues":233,"watchers":5733,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/attic-labs/noms/pulls/2750"},"html":{"href":"https://github.com/attic-labs/noms/pull/2750"},"issue":{"href":"https://api.github.com/repos/attic-labs/noms/issues/2750"},"comments":{"href":"https://api.github.com/repos/attic-labs/noms/issues/2750/comments"},"review_comments":{"href":"https://api.github.com/repos/attic-labs/noms/pulls/2750/comments"},"review_comment":{"href":"https://api.github.com/repos/attic-labs/noms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/attic-labs/noms/pulls/2750/commits"},"statuses":{"href":"https://api.github.com/repos/attic-labs/noms/statuses/23b00187cac3c3ff107a7fe262d445c14dd9c862"}}}}
{"actor":{"display_login":"aboodman"}}