GitHub PullRequestReviewCommentEvent at 2014-12-04 00:18:16
Repository: go-sourcegraph
Actor: beyang
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/comments/21276997","id":21276997,"diff_hunk":"@@ -22,6 +22,12 @@ type Repo struct {\n \t// clone URL. E.g., \"github.com/user/repo\".\n \tURI string\n \n+\t// URIAlias is another URI that, if accessed, will redirect to\n+\t// this repository's primary URI. It's used, for example, to\n+\t// redirect from GitHub repos to their canonical URI (such as Go\n+\t// repos on gopkg.in).\n+\tURIAlias nnz.String `db:\"uri_alias\"`","path":"sourcegraph/repo.go","position":8,"original_position":8,"commit_id":"9c33ec418cdba8f707548586d316669abe27c5c5","original_commit_id":"9c33ec418cdba8f707548586d316669abe27c5c5","user":{"login":"beyang","id":1646931,"avatar_url":"https://avatars.githubusercontent.com/u/1646931?v=3","gravatar_id":"","url":"https://api.github.com/users/beyang","html_url":"https://github.com/beyang","followers_url":"https://api.github.com/users/beyang/followers","following_url":"https://api.github.com/users/beyang/following{/other_user}","gists_url":"https://api.github.com/users/beyang/gists{/gist_id}","starred_url":"https://api.github.com/users/beyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beyang/subscriptions","organizations_url":"https://api.github.com/users/beyang/orgs","repos_url":"https://api.github.com/users/beyang/repos","events_url":"https://api.github.com/users/beyang/events{/privacy}","received_events_url":"https://api.github.com/users/beyang/received_events","type":"User","site_admin":false},"body":"In the case of something like `sourcegraph.com/sourcegraph/srclib`, would the URI be `github.com/sourcegraph/srclib` and the URIAlias be `sourcegraph.com/sourcegraph/srclib` or vice versa?","created_at":"2014-12-04T00:18:16Z","updated_at":"2014-12-04T00:18:16Z","html_url":"https://github.com/sourcegraph/go-sourcegraph/pull/16#discussion_r21276997","pull_request_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/comments/21276997"},"html":{"href":"https://github.com/sourcegraph/go-sourcegraph/pull/16#discussion_r21276997"},"pull_request":{"href":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/16","id":25449600,"html_url":"https://github.com/sourcegraph/go-sourcegraph/pull/16","diff_url":"https://github.com/sourcegraph/go-sourcegraph/pull/16.diff","patch_url":"https://github.com/sourcegraph/go-sourcegraph/pull/16.patch","issue_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/issues/16","number":16,"state":"open","locked":false,"title":"Custom repo URIs","user":{"login":"sqs","id":1976,"avatar_url":"https://avatars.githubusercontent.com/u/1976?v=3","gravatar_id":"","url":"https://api.github.com/users/sqs","html_url":"https://github.com/sqs","followers_url":"https://api.github.com/users/sqs/followers","following_url":"https://api.github.com/users/sqs/following{/other_user}","gists_url":"https://api.github.com/users/sqs/gists{/gist_id}","starred_url":"https://api.github.com/users/sqs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sqs/subscriptions","organizations_url":"https://api.github.com/users/sqs/orgs","repos_url":"https://api.github.com/users/sqs/repos","events_url":"https://api.github.com/users/sqs/events{/privacy}","received_events_url":"https://api.github.com/users/sqs/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-03T20:37:39Z","updated_at":"2014-12-04T00:18:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"704985893590af5f31071bd6d4ed356485bcae07","assignee":{"login":"beyang","id":1646931,"avatar_url":"https://avatars.githubusercontent.com/u/1646931?v=3","gravatar_id":"","url":"https://api.github.com/users/beyang","html_url":"https://github.com/beyang","followers_url":"https://api.github.com/users/beyang/followers","following_url":"https://api.github.com/users/beyang/following{/other_user}","gists_url":"https://api.github.com/users/beyang/gists{/gist_id}","starred_url":"https://api.github.com/users/beyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beyang/subscriptions","organizations_url":"https://api.github.com/users/beyang/orgs","repos_url":"https://api.github.com/users/beyang/repos","events_url":"https://api.github.com/users/beyang/events{/privacy}","received_events_url":"https://api.github.com/users/beyang/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/16/commits","review_comments_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/16/comments","review_comment_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/issues/16/comments","statuses_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/statuses/9c33ec418cdba8f707548586d316669abe27c5c5","head":{"label":"sourcegraph:custom-repo-uris","ref":"custom-repo-uris","sha":"9c33ec418cdba8f707548586d316669abe27c5c5","user":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":22002113,"name":"go-sourcegraph","full_name":"sourcegraph/go-sourcegraph","owner":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcegraph/go-sourcegraph","description":"","fork":false,"url":"https://api.github.com/repos/sourcegraph/go-sourcegraph","forks_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/forks","keys_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/teams","hooks_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/hooks","issue_events_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/issues/events{/number}","events_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/events","assignees_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/assignees{/user}","branches_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/branches{/branch}","tags_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/tags","blobs_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/languages","stargazers_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/stargazers","contributors_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/contributors","subscribers_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/subscribers","subscription_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/subscription","commits_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/issues/comments/{number}","contents_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/contents/{+path}","compare_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/merges","archive_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/downloads","issues_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/issues{/number}","pulls_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/labels{/name}","releases_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/releases{/id}","created_at":"2014-07-19T04:43:05Z","updated_at":"2014-12-03T21:49:34Z","pushed_at":"2014-12-03T21:49:36Z","git_url":"git://github.com/sourcegraph/go-sourcegraph.git","ssh_url":"git@github.com:sourcegraph/go-sourcegraph.git","clone_url":"https://github.com/sourcegraph/go-sourcegraph.git","svn_url":"https://github.com/sourcegraph/go-sourcegraph","homepage":"https://sourcegraph.com/sourcegraph/go-sourcegraph","size":1034,"stargazers_count":15,"watchers_count":15,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":15,"default_branch":"master"}},"base":{"label":"sourcegraph:master","ref":"master","sha":"9304d07feacf357f4b8634b996e1c068a1e00980","user":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":22002113,"name":"go-sourcegraph","full_name":"sourcegraph/go-sourcegraph","owner":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcegraph/go-sourcegraph","description":"","fork":false,"url":"https://api.github.com/repos/sourcegraph/go-sourcegraph","forks_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/forks","keys_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/teams","hooks_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/hooks","issue_events_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/issues/events{/number}","events_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/events","assignees_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/assignees{/user}","branches_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/branches{/branch}","tags_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/tags","blobs_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/languages","stargazers_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/stargazers","contributors_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/contributors","subscribers_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/subscribers","subscription_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/subscription","commits_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/issues/comments/{number}","contents_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/contents/{+path}","compare_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/merges","archive_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/downloads","issues_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/issues{/number}","pulls_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/labels{/name}","releases_url":"https://api.github.com/repos/sourcegraph/go-sourcegraph/releases{/id}","created_at":"2014-07-19T04:43:05Z","updated_at":"2014-12-03T21:49:34Z","pushed_at":"2014-12-03T21:49:36Z","git_url":"git://github.com/sourcegraph/go-sourcegraph.git","ssh_url":"git@github.com:sourcegraph/go-sourcegraph.git","clone_url":"https://github.com/sourcegraph/go-sourcegraph.git","svn_url":"https://github.com/sourcegraph/go-sourcegraph","homepage":"https://sourcegraph.com/sourcegraph/go-sourcegraph","size":1034,"stargazers_count":15,"watchers_count":15,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/16"},"html":{"href":"https://github.com/sourcegraph/go-sourcegraph/pull/16"},"issue":{"href":"https://api.github.com/repos/sourcegraph/go-sourcegraph/issues/16"},"comments":{"href":"https://api.github.com/repos/sourcegraph/go-sourcegraph/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sourcegraph/go-sourcegraph/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/sourcegraph/go-sourcegraph/statuses/9c33ec418cdba8f707548586d316669abe27c5c5"}}}}