two rounds, each a gzipped format-patch blob
+92
api/tangled/gitkeepCommit.go
+89
lexicons/git/keepCommit.json
+2
appview/oauth/scopes.go
+1
consts/consts.go
+149
knotserver/xrpc/git_keep_commit.go
+17
knotserver/xrpc/git_keep_commit_test.go
+4
-1
knotserver/xrpc/version.go
+17
-5
knotserver/xrpc/xrpc.go
+39
api/tangled/tempgetMergeBase.go
+54
lexicons/git/temp/getMergeBase.json
+57
knotmirror/xrpc/git_get_merge_base.go
+3
-1
knotmirror/xrpc/xrpc.go
+17
api/tangled/gitdefs.go
+59
api/tangled/gitmergeCheck.go
+53
api/tangled/gitmergeCommit.go
+25
lexicons/git/defs.json
+96
lexicons/git/mergeCheck.json
+68
lexicons/git/mergeCommit.json
+1
-1
lexicons/repo/merge.json
+225
knotserver/xrpc/git_merge_check.go
+374
knotserver/xrpc/git_merge_commit.go
+33
api/tangled/tempformatPatch.go
+43
lexicons/git/temp/formatPatch.json
+54
knotmirror/xrpc/git_format_patch.go
+268
-1
api/tangled/cbor_gen.go
+22
-11
api/tangled/repopull.go
+1
cmd/cborgen/cborgen.go
+32
-2
lexicons/pulls/pull.json
+2
.gitattributes
+1455
-35
Cargo.lock
+6
-1
Cargo.toml
+29
-18
docker-compose.yml
+3
flake.nix
+28
gitmirror/Cargo.toml
+4
gitmirror/README.md
+12
gitmirror/buf.gen.yaml
+4
gitmirror/build.rs
+42
gitmirror/example/client.go
+1470
gitmirror/proto/gen/gitmirror.pb.go
+324
gitmirror/proto/gen/gitmirror_grpc.pb.go
+172
gitmirror/proto/gitmirror/v1/gitmirror.proto
+365
gitmirror/src/diff.rs
+46
gitmirror/src/main.rs
+289
gitmirror/src/merge.rs
+523
gitmirror/src/service.rs
+10
localinfra/Caddyfile
+29
localinfra/gitmirror.Dockerfile
+5
-2
localinfra/tailwind.Dockerfile
+2
-1
appview/config/config.go
+294
-4
appview/models/pull.go
+289
-37
appview/pages/pages.go
+22
-15
appview/pulls/pulls.go
+1
appview/state/router.go
+11
appview/state/state.go
+1
-1
go.mod
+42
appview/db/db.go
+10
-7
appview/db/entity_state_test.go
+4
-3
appview/db/focus.go
+6
-6
appview/db/notifications.go
+1
-1
appview/db/profile.go
+206
-586
appview/db/pulls.go
+15
-14
appview/indexer/pulls/indexer.go
+89
-80
appview/ingester.go
+3
-3
appview/labels/labels.go
-44
appview/middleware/middleware.go
+3
-3
appview/migration/backfill_entity_state_test.go
+19
appview/models/entity_state.go
+2
-3
appview/notify/db/db.go
+2
-2
appview/notify/db/db_test.go
+2
-16
appview/notify/posthog/notifier.go
+13
-13
appview/notify/webhook/notifier.go
-324
appview/pages/compose_parse_test.go
+9
-7
appview/pages/funcmap.go
+1
-1
appview/pages/templates/layouts/base.html
+5
-1
appview/pages/templates/repo/fragments/diff.html
+84
appview/pages/templates/repo/pulls/fragments/composediff.html
+334
appview/pages/templates/repo/pulls/fragments/diff.html
+18
appview/pages/templates/repo/pulls/fragments/diffFile.html
+29
appview/pages/templates/repo/pulls/fragments/diffSettings.html
+10
-25
appview/pages/templates/repo/pulls/fragments/pullActions.html
+1
-1
appview/pages/templates/repo/pulls/fragments/pullCompareBranches.html
+1
-1
appview/pages/templates/repo/pulls/fragments/pullCompareForks.html
+1
-1
appview/pages/templates/repo/pulls/fragments/pullCompareForksBranches.html
+3
-7
appview/pages/templates/repo/pulls/fragments/pullComposeHost.html
+1
-1
appview/pages/templates/repo/pulls/fragments/pullPatchUpload.html
+2
-2
appview/pages/templates/repo/pulls/fragments/pullResubmit.html
+1
appview/pages/templates/repo/pulls/fragments/pullStepDetails.html
+54
-364
appview/pages/templates/repo/pulls/fragments/pullStepReview.html
+8
-34
appview/pages/templates/repo/pulls/fragments/pullStepSource.html
-629
appview/pages/templates/repo/pulls/pull.html
+4
-47
appview/pages/templates/repo/pulls/pulls.html
+652
appview/pages/templates/repo/pulls/single.html
+2
-2
appview/pages/url.go
+160
appview/pulls/actions.go
+208
-308
appview/pulls/compose.go
-463
appview/pulls/compose_helpers_test.go
+96
-449
appview/pulls/create.go
+168
appview/pulls/diff.go
+380
appview/pulls/diff_helpers.go
+10
-6
appview/pulls/edit.go
+120
appview/pulls/interdiff.go
+51
-76
appview/pulls/labels.go
+17
-40
appview/pulls/lifecycle.go
+8
-72
appview/pulls/list.go
+47
-82
appview/pulls/merge.go
+45
appview/pulls/middleware.go
+13
-15
appview/pulls/opengraph.go
+93
-548
appview/pulls/resubmit.go
+22
-51
appview/pulls/resubmit_check_test.go
+15
-18
appview/pulls/router.go
+372
-357
appview/pulls/single.go
+9
-23
appview/pulls/state.go
+36
-17
appview/pulls/trigger_ci.go
+11
-11
appview/repo/feed.go
+2
-2
appview/state/profile.go
+4
-3
appview/timeline/timeline.go
-38
cmd/interdiff/main.go
+53
input.css
-325
patchutil/interdiff.go
-9
patchutil/patchutil_test.go
+5
-52
spindle/tapclient.go
History
2 rounds
0 comments
14 commits
Expand
Collapse
git.keepCommit
Signed-off-by: Seongmin Lee <git@boltless.me>
git.keepCommit
Signed-off-by: Seongmin Lee <git@boltless.me>
git.temp.getMergeBase
Signed-off-by: Seongmin Lee <git@boltless.me>
git.getMergeBase
Signed-off-by: Seongmin Lee <git@boltless.me>
git.merge* method schema
Signed-off-by: Seongmin Lee <git@boltless.me>
git.mergeCheck and git.mergeCommit
Signed-off-by: Seongmin Lee <git@boltless.me>
git.formatPatch
Signed-off-by: Seongmin Lee <git@boltless.me>
git.formatPatch
Signed-off-by: Seongmin Lee <git@boltless.me>
round to version
The old `rounds` field is remain required for backwards compatibility
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
gitmirror is just another name of knotmirror/v2. Current Knotmirror will
be gradually replaced by gitmirror except the knot-relay part.
gitmirror implements cross-repo operations like diff or merge-check
which cannot be done from individual knots when PR source is from
different Knot.
Signed-off-by: Seongmin Lee <git@boltless.me>
file mount breaks when file is modified
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Expand 0 comments
13 commits
Expand
Collapse
git.keepCommit
Signed-off-by: Seongmin Lee <git@boltless.me>
git.keepCommit
Signed-off-by: Seongmin Lee <git@boltless.me>
git.temp.getMergeBase
Signed-off-by: Seongmin Lee <git@boltless.me>
git.getMergeBase
Signed-off-by: Seongmin Lee <git@boltless.me>
git.merge* method schema
Signed-off-by: Seongmin Lee <git@boltless.me>
git.mergeCheck and git.mergeCommit
Signed-off-by: Seongmin Lee <git@boltless.me>
git.formatPatch
Signed-off-by: Seongmin Lee <git@boltless.me>
git.formatPatch
Signed-off-by: Seongmin Lee <git@boltless.me>
round to version
The old `rounds` field is remain required for backwards compatibility
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
gitmirror is just another name of knotmirror/v2. Current Knotmirror will
be gradually replaced by gitmirror except the knot-relay part.
gitmirror implements cross-repo operations like diff or merge-check
which cannot be done from individual knots when PR source is from
different Knot.
Signed-off-by: Seongmin Lee <git@boltless.me>
file mount breaks when file is modified
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>