+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"`···
+7
appview/db/db.go
+7
appview/db/db.go
···
+17
-4
appview/db/pulls.go
+17
-4
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···············
+5
appview/models/pull.go
+5
appview/models/pull.go
······
+24
-2
appview/pulls/pulls.go
+24
-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
+96
lexicons/pulls/round.json
+96
lexicons/pulls/round.json
···+"description": "A patch describing this change. Either gotten directly from the user (patch-based PR) or from the knot based on a commit from another repo. The source of the patch and it's potential details are described by sourceInfo"