feat(gateway): implement remote service forwarding for distributed git operations

- Add remote client functions for archive, blame, and branch services
- Implement fallback logic to forward requests to remote storage nodes
- Add logging for forwarding operations with route details
- Update Cargo.lock with new dependencies including ractor cluster libraries
- Extend .gitignore with IDE and build system files
- Remove outdated comments from bare repository implementation
This commit is contained in:
zhenyi
2026-06-08 01:21:20 +08:00
parent 5b740eecd7
commit 5c99b27421
22 changed files with 2015 additions and 98 deletions
+1 -4
View File
@@ -1,11 +1,8 @@
use gitks::bare::GitBare;
use gitks::server::GitksService;
/// Create a GitksService with a temp directory as repo_prefix
pub fn setup_service(dir: &std::path::Path) -> GitksService {
GitksService {
repo_prefix: dir.to_path_buf(),
}
GitksService::new(dir.to_path_buf())
}
pub fn run_git(work_dir: &std::path::Path, args: &[&str]) -> duct::Expression {