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
+38
-10
appview/db/pulls.go
+38
-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···························
+31
-2
appview/pulls/pulls.go
+31
-2
appview/pulls/pulls.go
···+pAtUri, err := syntax.ParseATURI(fmt.Sprintf("at://%s/%s/%s", user.Did, tangled.RepoPullNSID, p.Rkey))+"failed to parse string %s into an AT URI while resubmitting stack. this should not be possible",+// 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, err := syntax.ParseATURI(fmt.Sprintf("at://%s/%s/%s", user.Did, tangled.RepoPullNSID, pull.Rkey));+return nil, fmt.Errorf("failed to parse string %s into an AT URI. this should not be possible",
+1
cmd/gen.go
+1
cmd/gen.go
+21
lexicons/pulls/pull.json
+21
lexicons/pulls/pull.json
······