Mirror of @tangled.org/core. Running on a Raspberry Pi Zero 2 (Please be gentle).
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

lexicons: pulls: remove pull id from the pull record and instead generate ids purely appview side

Signed-off-by: nelind <nel.n.lindberg@gmail.com>

authored by

nelind and committed by
Tangled
7147495e 93607be8

-7
api/tangled/cbor_gen.go

This is a binary file and will not be displayed.

api/tangled/repopull.go

This is a binary file and will not be displayed.

-1
appview/db/pulls.go
··· 94 94 Title: p.Title, 95 95 Body: &p.Body, 96 96 CreatedAt: p.Created.Format(time.RFC3339), 97 - PullId: int64(p.PullId), 98 97 TargetRepo: p.RepoAt.String(), 99 98 TargetBranch: p.TargetBranch, 100 99 Patch: p.LatestPatch(),
-2
appview/pulls/pulls.go
··· 1035 1035 Record: &lexutil.LexiconTypeDecoder{ 1036 1036 Val: &tangled.RepoPull{ 1037 1037 Title: title, 1038 - PullId: int64(pullId), 1039 1038 TargetRepo: string(f.RepoAt()), 1040 1039 TargetBranch: targetBranch, 1041 1040 Patch: patch, ··· 1605 1606 Record: &lexutil.LexiconTypeDecoder{ 1606 1607 Val: &tangled.RepoPull{ 1607 1608 Title: pull.Title, 1608 - PullId: int64(pull.PullId), 1609 1609 TargetRepo: string(f.RepoAt()), 1610 1610 TargetBranch: pull.TargetBranch, 1611 1611 Patch: patch, // new patch
-4
lexicons/pulls/pull.json
··· 12 12 "required": [ 13 13 "targetRepo", 14 14 "targetBranch", 15 - "pullId", 16 15 "title", 17 16 "patch", 18 17 "createdAt" ··· 23 24 }, 24 25 "targetBranch": { 25 26 "type": "string" 26 - }, 27 - "pullId": { 28 - "type": "integer" 29 27 }, 30 28 "title": { 31 29 "type": "string"