Go to file
zhenyi 8c95eb230d refactor(actor): implement replica sync and ref update notification system
- Add is_write parameter to remote clients for read/write routing distinction
- Introduce RepoEntry struct with role tracking (primary/replica) for repositories
- Replace HashSet with HashMap for repository storage with role metadata
- Add ROLE_PRIMARY and ROLE_REPLICA constants for node role identification
- Implement FindPrimary and FindReplica RPC methods for role-based routing
- Add RefUpdateEvent message type for propagating reference updates
- Create sync module with BundleApplicator for handling replica synchronization
- Implement notify_ref_update calls after branch/tag/commit operations
- Add broadcast_ref_update function to propagate events across cluster nodes
- Modify route_repository to prioritize primary for writes and replicas for reads
- Update actor message handling to support role-based repository discovery
- Implement sync_from_primary function using pack protocol for incremental updates
2026-06-08 01:54:08 +08:00
actor refactor(actor): implement replica sync and ref update notification system 2026-06-08 01:54:08 +08:00
archive feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
blame feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
blob feat(tree): add recent commit metadata and LFS support to file metadata 2026-06-04 13:47:46 +08:00
branch feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
commit feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
diff feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
merge feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
pack feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
pb feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
proto feat(tree): add recent commit metadata and LFS support to file metadata 2026-06-04 13:47:46 +08:00
refs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
server refactor(actor): implement replica sync and ref update notification system 2026-06-08 01:54:08 +08:00
tag feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
tests feat(gateway): implement remote service forwarding for distributed git operations 2026-06-08 01:21:20 +08:00
tree feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
.dockerignore feat(build): add Docker support for gitks application 2026-06-04 14:11:55 +08:00
.gitignore feat(gateway): implement remote service forwarding for distributed git operations 2026-06-08 01:21:20 +08:00
bare.rs feat(gateway): implement remote service forwarding for distributed git operations 2026-06-08 01:21:20 +08:00
build.rs chore(deps): update dependencies and migrate to tonic-prost 2026-06-04 18:07:17 +08:00
Cargo.lock feat(gateway): implement remote service forwarding for distributed git operations 2026-06-08 01:21:20 +08:00
Cargo.toml feat(gateway): implement remote service forwarding for distributed git operations 2026-06-08 01:21:20 +08:00
Dockerfile feat(server): add repository prefix path configuration and service struct 2026-06-04 14:18:12 +08:00
error.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
init.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
lib.rs feat(gateway): implement remote service forwarding for distributed git operations 2026-06-08 01:21:20 +08:00
LICENSE feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
main.rs refactor(actor): implement replica sync and ref update notification system 2026-06-08 01:54:08 +08:00
oid.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
paginate.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
README.md feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00

gitks

A Git bare repository operation library based on gRPC.

License

PolyForm Noncommercial 1.0.0 — Free for noncommercial use. For commercial licenses, please contact us.