Signed-off-by: nelind nel.n.lindberg@gmail.com
+202
-1
api/tangled/cbor_gen.go
+202
-1
api/tangled/cbor_gen.go
·········if _, err := cw.Write(cbg.CborEncodeMajorType(cbg.MajMap, uint64(fieldCount))); err != nil {······
+16
-7
api/tangled/repopull.go
+16
-7
api/tangled/repopull.go
···-LexiconTypeID string `json:"$type,const=sh.tangled.repo.pull" cborgen:"$type,const=sh.tangled.repo.pull"`+LexiconTypeID string `json:"$type,const=sh.tangled.repo.pull" cborgen:"$type,const=sh.tangled.repo.pull"`···+// changeId: Change ID of this commit/change. Principly also available in the patch itself as a line in the commit footer.
+7
appview/db/db.go
+7
appview/db/db.go
+37
-10
appview/db/pulls.go
+37
-10
appview/db/pulls.go
············-repo_at, owner_did, pull_id, title, target_branch, body, rkey, state, source_branch, source_repo_at, stack_id, change_id, parent_change_id+repo_at, owner_did, pull_id, title, target_branch, body, rkey, state, source_branch, source_repo_at, stack_id, change_id, parent_at, parent_change_id···························
+22
-2
appview/pulls/pulls.go
+22
-2
appview/pulls/pulls.go
······+// build map from change id to existing at uris (ignore error as it shouldnt be possible here)+pAtUri, _ := syntax.ParseATURI(fmt.Sprintf("at://%s/%s/%s", user.Did, tangled.RepoPullNSID, p.Rkey))+// if change id has already been given a PR use its at uri instead of the newly created (and thus incorrect)············+// this is a bit of an ugly way to create the ATURI but its the best we can do with the data flow here+parsedParentAt, _ := syntax.ParseATURI(fmt.Sprintf("at://%s/%s/%s", user.Did, tangled.RepoPullNSID, pull.Rkey));
+1
cmd/gen.go
+1
cmd/gen.go
+21
lexicons/pulls/pull.json
+21
lexicons/pulls/pull.json
······