A vibe coded tangled fork which supports pijul.
at 2a2718a4a548236a0c704a596fd836f263e9740d 116 lines 2.5 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.repo.pull", 4 "needsCbor": true, 5 "needsType": true, 6 "defs": { 7 "main": { 8 "type": "record", 9 "key": "tid", 10 "record": { 11 "type": "object", 12 "required": [ 13 "target", 14 "title", 15 "createdAt" 16 ], 17 "properties": { 18 "title": { 19 "type": "string" 20 }, 21 "body": { 22 "type": "string" 23 }, 24 "rounds": { 25 "type": "array", 26 "items": { 27 "type": "ref", 28 "ref": "#round" 29 } 30 }, 31 "source": { 32 "type": "ref", 33 "ref": "#source" 34 }, 35 "target": { 36 "type": "ref", 37 "ref": "#target" 38 }, 39 "createdAt": { 40 "type": "string", 41 "format": "datetime" 42 }, 43 "mentions": { 44 "type": "array", 45 "items": { 46 "type": "string", 47 "format": "did" 48 } 49 }, 50 "references": { 51 "type": "array", 52 "items": { 53 "type": "string", 54 "format": "at-uri" 55 } 56 }, 57 "dependentOn": { 58 "type": "string", 59 "format": "at-uri" 60 } 61 } 62 } 63 }, 64 "target": { 65 "type": "object", 66 "required": [ 67 "repo", 68 "branch" 69 ], 70 "properties": { 71 "repo": { 72 "type": "string", 73 "format": "at-uri" 74 }, 75 "branch": { 76 "type": "string" 77 } 78 } 79 }, 80 "source": { 81 "type": "object", 82 "required": [ 83 "branch" 84 ], 85 "properties": { 86 "branch": { 87 "type": "string" 88 }, 89 "repo": { 90 "type": "string", 91 "format": "at-uri" 92 } 93 } 94 }, 95 "round": { 96 "type": "object", 97 "required": [ 98 "patchBlob", 99 "createdAt" 100 ], 101 "description": "revisions of this pull request, newer rounds are appended to this array. appviews may reject records do not treat this field as append-only. the blob format is gzipped text-based git-format-patches.", 102 "properties": { 103 "createdAt": { 104 "type": "string", 105 "format": "datetime" 106 }, 107 "patchBlob": { 108 "type": "blob", 109 "accept": [ 110 "application/gzip" 111 ] 112 } 113 } 114 } 115 } 116}