Artifact 7f37e0cf0751436050a76cf72563d28402553d162fdc7498c6009c581cdddd61:
- File
repo_sync.go
-
2026-10-25 23:29:04
— part of check-in
[8d16b7289c]
on branch main
— fix(sync): export OriginNamer so an embedder's transport keeps a horizon cursor
Sync and Clone keyed the horizon cursor (draft-fossil-horizon-00 ยง6.2.6) on an unexported syncOrigin method, which only the HTTP transport could satisfy. Any other Transport kept no cursor and announced its whole holding with igot on every pull.
OriginNamer is an optional interface, discovered by type assertion like FramedTransport, with SyncOrigin() string. The HTTP transport implements it in place of the unexported method, so one assertion serves both. The name must identify the peer stably and carry no credential.
Tracked in #488. (user: [email protected], size: 13006) [annotate] [blame] [check-ins using]
-
2026-10-25 23:36:32
— part of check-in
[a52911df25]
on branch main
— Merge pull request #498 from danmestas/fix/horizon-cursor-embedder-transport
fix(sync): export OriginNamer so an embedder's transport keeps a horizon cursor (user: [email protected], size: 13006) [annotate] [blame] [check-ins using]
-
2026-10-25 23:29:04
— part of check-in
[8d16b7289c]
on branch main
— fix(sync): export OriginNamer so an embedder's transport keeps a horizon cursor