{"action":"created","comment":{"url":"https://api.github.com/repos/dgraph-io/dgraph/pulls/comments/89238589","pull_request_review_id":9786073,"id":89238589,"diff_hunk":"@@ -0,0 +1,686 @@\n+// Code generated by protoc-gen-gogo.\n+// source: types/types.proto\n+// DO NOT EDIT!\n+\n+/*\n+\tPackage types is a generated protocol buffer package.\n+\n+\tIt is generated from these files:\n+\t\ttypes/types.proto\n+\n+\tIt has these top-level messages:\n+\t\tPosting\n+\t\tPostingList\n+*/\n+package types\n+\n+import proto \"github.com/golang/protobuf/proto\"\n+import fmt \"fmt\"\n+import math \"math\"\n+\n+import io \"io\"\n+\n+// Reference imports to suppress errors if they are not otherwise used.\n+var _ = proto.Marshal\n+var _ = fmt.Errorf\n+var _ = math.Inf\n+\n+// This is a compile-time assertion to ensure that this generated file\n+// is compatible with the proto package it is being compiled against.\n+// A compilation error at this line likely means your copy of the\n+// proto package needs to be updated.\n+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package\n+\n+type Posting struct {\n+\tUid     uint64 `protobuf:\"fixed64,1,opt,name=uid,proto3\" json:\"uid,omitempty\"`\n+\tValue   []byte `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"`\n+\tValType uint32 `protobuf:\"varint,3,opt,name=valType,proto3\" json:\"valType,omitempty\"`\n+\tLabel   string `protobuf:\"bytes,4,opt,name=label,proto3\" json:\"label,omitempty\"`\n+\tCommit  uint64 `protobuf:\"varint,5,opt,name=commit,proto3\" json:\"commit,omitempty\"`\n+\t// op is only used temporarily.\n+\tOp uint32 `protobuf:\"varint,12,opt,name=op,proto3\" json:\"op,omitempty\"`\n+}\n+\n+func (m *Posting) Reset()                    { *m = Posting{} }\n+func (m *Posting) String() string            { return proto.CompactTextString(m) }\n+func (*Posting) ProtoMessage()               {}\n+func (*Posting) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{0} }\n+\n+type PostingList struct {\n+\tPostings []*Posting `protobuf:\"bytes,1,rep,name=postings\" json:\"postings,omitempty\"`\n+\tChecksum []byte     `protobuf:\"bytes,2,opt,name=checksum,proto3\" json:\"checksum,omitempty\"`\n+\tCommit   uint64     `protobuf:\"varint,3,opt,name=commit,proto3\" json:\"commit,omitempty\"`\n+}\n+\n+func (m *PostingList) Reset()                    { *m = PostingList{} }\n+func (m *PostingList) String() string            { return proto.CompactTextString(m) }\n+func (*PostingList) ProtoMessage()               {}\n+func (*PostingList) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{1} }\n+\n+func (m *PostingList) GetPostings() []*Posting {","path":"posting/types/types.pb.go","position":60,"original_position":60,"commit_id":"96dfba2bd2b198ece677d9f3b2491fa0b6a7f7d8","original_commit_id":"96dfba2bd2b198ece677d9f3b2491fa0b6a7f7d8","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"exported method PostingList.GetPostings should have comment or be unexported","created_at":"2016-11-23T00:18:52Z","updated_at":"2016-11-23T00:18:52Z","html_url":"https://github.com/dgraph-io/dgraph/pull/330#discussion_r89238589","pull_request_url":"https://api.github.com/repos/dgraph-io/dgraph/pulls/330","_links":{"self":{"href":"https://api.github.com/repos/dgraph-io/dgraph/pulls/comments/89238589"},"html":{"href":"https://github.com/dgraph-io/dgraph/pull/330#discussion_r89238589"},"pull_request":{"href":"https://api.github.com/repos/dgraph-io/dgraph/pulls/330"}}},"pull_request":{"url":"https://api.github.com/repos/dgraph-io/dgraph/pulls/330","id":94810095,"html_url":"https://github.com/dgraph-io/dgraph/pull/330","diff_url":"https://github.com/dgraph-io/dgraph/pull/330.diff","patch_url":"https://github.com/dgraph-io/dgraph/pull/330.patch","issue_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/330","number":330,"state":"open","locked":false,"title":"Convert posting/list.go and related to proto","user":{"login":"manishrjain","id":1782324,"avatar_url":"https://avatars.githubusercontent.com/u/1782324?v=3","gravatar_id":"","url":"https://api.github.com/users/manishrjain","html_url":"https://github.com/manishrjain","followers_url":"https://api.github.com/users/manishrjain/followers","following_url":"https://api.github.com/users/manishrjain/following{/other_user}","gists_url":"https://api.github.com/users/manishrjain/gists{/gist_id}","starred_url":"https://api.github.com/users/manishrjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manishrjain/subscriptions","organizations_url":"https://api.github.com/users/manishrjain/orgs","repos_url":"https://api.github.com/users/manishrjain/repos","events_url":"https://api.github.com/users/manishrjain/events{/privacy}","received_events_url":"https://api.github.com/users/manishrjain/received_events","type":"User","site_admin":false},"body":"- Convert posting/list.go to proto.\r\n- Convert predicate and backup to proto.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/dgraph-io/dgraph/330)\n<!-- Reviewable:end -->\n","created_at":"2016-11-22T13:06:54Z","updated_at":"2016-11-23T00:18:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4133531598f860d3b12328fa6a856005b75aa6cc","assignee":{"login":"ashwin95r","id":5701997,"avatar_url":"https://avatars.githubusercontent.com/u/5701997?v=3","gravatar_id":"","url":"https://api.github.com/users/ashwin95r","html_url":"https://github.com/ashwin95r","followers_url":"https://api.github.com/users/ashwin95r/followers","following_url":"https://api.github.com/users/ashwin95r/following{/other_user}","gists_url":"https://api.github.com/users/ashwin95r/gists{/gist_id}","starred_url":"https://api.github.com/users/ashwin95r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashwin95r/subscriptions","organizations_url":"https://api.github.com/users/ashwin95r/orgs","repos_url":"https://api.github.com/users/ashwin95r/repos","events_url":"https://api.github.com/users/ashwin95r/events{/privacy}","received_events_url":"https://api.github.com/users/ashwin95r/received_events","type":"User","site_admin":false},"assignees":[{"login":"ashwin95r","id":5701997,"avatar_url":"https://avatars.githubusercontent.com/u/5701997?v=3","gravatar_id":"","url":"https://api.github.com/users/ashwin95r","html_url":"https://github.com/ashwin95r","followers_url":"https://api.github.com/users/ashwin95r/followers","following_url":"https://api.github.com/users/ashwin95r/following{/other_user}","gists_url":"https://api.github.com/users/ashwin95r/gists{/gist_id}","starred_url":"https://api.github.com/users/ashwin95r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashwin95r/subscriptions","organizations_url":"https://api.github.com/users/ashwin95r/orgs","repos_url":"https://api.github.com/users/ashwin95r/repos","events_url":"https://api.github.com/users/ashwin95r/events{/privacy}","received_events_url":"https://api.github.com/users/ashwin95r/received_events","type":"User","site_admin":false},{"login":"jchiu0","id":20329402,"avatar_url":"https://avatars.githubusercontent.com/u/20329402?v=3","gravatar_id":"","url":"https://api.github.com/users/jchiu0","html_url":"https://github.com/jchiu0","followers_url":"https://api.github.com/users/jchiu0/followers","following_url":"https://api.github.com/users/jchiu0/following{/other_user}","gists_url":"https://api.github.com/users/jchiu0/gists{/gist_id}","starred_url":"https://api.github.com/users/jchiu0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchiu0/subscriptions","organizations_url":"https://api.github.com/users/jchiu0/orgs","repos_url":"https://api.github.com/users/jchiu0/repos","events_url":"https://api.github.com/users/jchiu0/events{/privacy}","received_events_url":"https://api.github.com/users/jchiu0/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dgraph-io/dgraph/pulls/330/commits","review_comments_url":"https://api.github.com/repos/dgraph-io/dgraph/pulls/330/comments","review_comment_url":"https://api.github.com/repos/dgraph-io/dgraph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/330/comments","statuses_url":"https://api.github.com/repos/dgraph-io/dgraph/statuses/96dfba2bd2b198ece677d9f3b2491fa0b6a7f7d8","head":{"label":"dgraph-io:proto/list","ref":"proto/list","sha":"96dfba2bd2b198ece677d9f3b2491fa0b6a7f7d8","user":{"login":"dgraph-io","id":13958706,"avatar_url":"https://avatars.githubusercontent.com/u/13958706?v=3","gravatar_id":"","url":"https://api.github.com/users/dgraph-io","html_url":"https://github.com/dgraph-io","followers_url":"https://api.github.com/users/dgraph-io/followers","following_url":"https://api.github.com/users/dgraph-io/following{/other_user}","gists_url":"https://api.github.com/users/dgraph-io/gists{/gist_id}","starred_url":"https://api.github.com/users/dgraph-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgraph-io/subscriptions","organizations_url":"https://api.github.com/users/dgraph-io/orgs","repos_url":"https://api.github.com/users/dgraph-io/repos","events_url":"https://api.github.com/users/dgraph-io/events{/privacy}","received_events_url":"https://api.github.com/users/dgraph-io/received_events","type":"Organization","site_admin":false},"repo":{"id":41349039,"name":"dgraph","full_name":"dgraph-io/dgraph","owner":{"login":"dgraph-io","id":13958706,"avatar_url":"https://avatars.githubusercontent.com/u/13958706?v=3","gravatar_id":"","url":"https://api.github.com/users/dgraph-io","html_url":"https://github.com/dgraph-io","followers_url":"https://api.github.com/users/dgraph-io/followers","following_url":"https://api.github.com/users/dgraph-io/following{/other_user}","gists_url":"https://api.github.com/users/dgraph-io/gists{/gist_id}","starred_url":"https://api.github.com/users/dgraph-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgraph-io/subscriptions","organizations_url":"https://api.github.com/users/dgraph-io/orgs","repos_url":"https://api.github.com/users/dgraph-io/repos","events_url":"https://api.github.com/users/dgraph-io/events{/privacy}","received_events_url":"https://api.github.com/users/dgraph-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dgraph-io/dgraph","description":"Highly Available, Distributed, Low Latency, High Throughput Graph Database","fork":false,"url":"https://api.github.com/repos/dgraph-io/dgraph","forks_url":"https://api.github.com/repos/dgraph-io/dgraph/forks","keys_url":"https://api.github.com/repos/dgraph-io/dgraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgraph-io/dgraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgraph-io/dgraph/teams","hooks_url":"https://api.github.com/repos/dgraph-io/dgraph/hooks","issue_events_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/events{/number}","events_url":"https://api.github.com/repos/dgraph-io/dgraph/events","assignees_url":"https://api.github.com/repos/dgraph-io/dgraph/assignees{/user}","branches_url":"https://api.github.com/repos/dgraph-io/dgraph/branches{/branch}","tags_url":"https://api.github.com/repos/dgraph-io/dgraph/tags","blobs_url":"https://api.github.com/repos/dgraph-io/dgraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgraph-io/dgraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgraph-io/dgraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgraph-io/dgraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgraph-io/dgraph/statuses/{sha}","languages_url":"https://api.github.com/repos/dgraph-io/dgraph/languages","stargazers_url":"https://api.github.com/repos/dgraph-io/dgraph/stargazers","contributors_url":"https://api.github.com/repos/dgraph-io/dgraph/contributors","subscribers_url":"https://api.github.com/repos/dgraph-io/dgraph/subscribers","subscription_url":"https://api.github.com/repos/dgraph-io/dgraph/subscription","commits_url":"https://api.github.com/repos/dgraph-io/dgraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgraph-io/dgraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgraph-io/dgraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgraph-io/dgraph/contents/{+path}","compare_url":"https://api.github.com/repos/dgraph-io/dgraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgraph-io/dgraph/merges","archive_url":"https://api.github.com/repos/dgraph-io/dgraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgraph-io/dgraph/downloads","issues_url":"https://api.github.com/repos/dgraph-io/dgraph/issues{/number}","pulls_url":"https://api.github.com/repos/dgraph-io/dgraph/pulls{/number}","milestones_url":"https://api.github.com/repos/dgraph-io/dgraph/milestones{/number}","notifications_url":"https://api.github.com/repos/dgraph-io/dgraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgraph-io/dgraph/labels{/name}","releases_url":"https://api.github.com/repos/dgraph-io/dgraph/releases{/id}","deployments_url":"https://api.github.com/repos/dgraph-io/dgraph/deployments","created_at":"2015-08-25T07:15:56Z","updated_at":"2016-11-22T22:32:22Z","pushed_at":"2016-11-23T00:18:45Z","git_url":"git://github.com/dgraph-io/dgraph.git","ssh_url":"git@github.com:dgraph-io/dgraph.git","clone_url":"https://github.com/dgraph-io/dgraph.git","svn_url":"https://github.com/dgraph-io/dgraph","homepage":"https://dgraph.io","size":76876,"stargazers_count":1945,"watchers_count":1945,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":87,"mirror_url":null,"open_issues_count":16,"forks":87,"open_issues":16,"watchers":1945,"default_branch":"master"}},"base":{"label":"dgraph-io:master","ref":"master","sha":"bf56473b1b4b58850a894812fc6b48258cd34c12","user":{"login":"dgraph-io","id":13958706,"avatar_url":"https://avatars.githubusercontent.com/u/13958706?v=3","gravatar_id":"","url":"https://api.github.com/users/dgraph-io","html_url":"https://github.com/dgraph-io","followers_url":"https://api.github.com/users/dgraph-io/followers","following_url":"https://api.github.com/users/dgraph-io/following{/other_user}","gists_url":"https://api.github.com/users/dgraph-io/gists{/gist_id}","starred_url":"https://api.github.com/users/dgraph-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgraph-io/subscriptions","organizations_url":"https://api.github.com/users/dgraph-io/orgs","repos_url":"https://api.github.com/users/dgraph-io/repos","events_url":"https://api.github.com/users/dgraph-io/events{/privacy}","received_events_url":"https://api.github.com/users/dgraph-io/received_events","type":"Organization","site_admin":false},"repo":{"id":41349039,"name":"dgraph","full_name":"dgraph-io/dgraph","owner":{"login":"dgraph-io","id":13958706,"avatar_url":"https://avatars.githubusercontent.com/u/13958706?v=3","gravatar_id":"","url":"https://api.github.com/users/dgraph-io","html_url":"https://github.com/dgraph-io","followers_url":"https://api.github.com/users/dgraph-io/followers","following_url":"https://api.github.com/users/dgraph-io/following{/other_user}","gists_url":"https://api.github.com/users/dgraph-io/gists{/gist_id}","starred_url":"https://api.github.com/users/dgraph-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgraph-io/subscriptions","organizations_url":"https://api.github.com/users/dgraph-io/orgs","repos_url":"https://api.github.com/users/dgraph-io/repos","events_url":"https://api.github.com/users/dgraph-io/events{/privacy}","received_events_url":"https://api.github.com/users/dgraph-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dgraph-io/dgraph","description":"Highly Available, Distributed, Low Latency, High Throughput Graph Database","fork":false,"url":"https://api.github.com/repos/dgraph-io/dgraph","forks_url":"https://api.github.com/repos/dgraph-io/dgraph/forks","keys_url":"https://api.github.com/repos/dgraph-io/dgraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgraph-io/dgraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgraph-io/dgraph/teams","hooks_url":"https://api.github.com/repos/dgraph-io/dgraph/hooks","issue_events_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/events{/number}","events_url":"https://api.github.com/repos/dgraph-io/dgraph/events","assignees_url":"https://api.github.com/repos/dgraph-io/dgraph/assignees{/user}","branches_url":"https://api.github.com/repos/dgraph-io/dgraph/branches{/branch}","tags_url":"https://api.github.com/repos/dgraph-io/dgraph/tags","blobs_url":"https://api.github.com/repos/dgraph-io/dgraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgraph-io/dgraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgraph-io/dgraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgraph-io/dgraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgraph-io/dgraph/statuses/{sha}","languages_url":"https://api.github.com/repos/dgraph-io/dgraph/languages","stargazers_url":"https://api.github.com/repos/dgraph-io/dgraph/stargazers","contributors_url":"https://api.github.com/repos/dgraph-io/dgraph/contributors","subscribers_url":"https://api.github.com/repos/dgraph-io/dgraph/subscribers","subscription_url":"https://api.github.com/repos/dgraph-io/dgraph/subscription","commits_url":"https://api.github.com/repos/dgraph-io/dgraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgraph-io/dgraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgraph-io/dgraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgraph-io/dgraph/contents/{+path}","compare_url":"https://api.github.com/repos/dgraph-io/dgraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgraph-io/dgraph/merges","archive_url":"https://api.github.com/repos/dgraph-io/dgraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgraph-io/dgraph/downloads","issues_url":"https://api.github.com/repos/dgraph-io/dgraph/issues{/number}","pulls_url":"https://api.github.com/repos/dgraph-io/dgraph/pulls{/number}","milestones_url":"https://api.github.com/repos/dgraph-io/dgraph/milestones{/number}","notifications_url":"https://api.github.com/repos/dgraph-io/dgraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgraph-io/dgraph/labels{/name}","releases_url":"https://api.github.com/repos/dgraph-io/dgraph/releases{/id}","deployments_url":"https://api.github.com/repos/dgraph-io/dgraph/deployments","created_at":"2015-08-25T07:15:56Z","updated_at":"2016-11-22T22:32:22Z","pushed_at":"2016-11-23T00:18:45Z","git_url":"git://github.com/dgraph-io/dgraph.git","ssh_url":"git@github.com:dgraph-io/dgraph.git","clone_url":"https://github.com/dgraph-io/dgraph.git","svn_url":"https://github.com/dgraph-io/dgraph","homepage":"https://dgraph.io","size":76876,"stargazers_count":1945,"watchers_count":1945,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":87,"mirror_url":null,"open_issues_count":16,"forks":87,"open_issues":16,"watchers":1945,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dgraph-io/dgraph/pulls/330"},"html":{"href":"https://github.com/dgraph-io/dgraph/pull/330"},"issue":{"href":"https://api.github.com/repos/dgraph-io/dgraph/issues/330"},"comments":{"href":"https://api.github.com/repos/dgraph-io/dgraph/issues/330/comments"},"review_comments":{"href":"https://api.github.com/repos/dgraph-io/dgraph/pulls/330/comments"},"review_comment":{"href":"https://api.github.com/repos/dgraph-io/dgraph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dgraph-io/dgraph/pulls/330/commits"},"statuses":{"href":"https://api.github.com/repos/dgraph-io/dgraph/statuses/96dfba2bd2b198ece677d9f3b2491fa0b6a7f7d8"}}}}
{"actor":{"display_login":"houndci-bot"}}