Go to file
zhenyi 729604f13b feat(server): add repository prefix path configuration and service struct
- Add REPO_PREFIX_PATH environment variable support in Dockerfile and main.rs
- Introduce GitksService struct with repo_prefix field to manage repository paths
- Implement resolve and resolve_for_init methods for repository path handling
- Add path traversal protection and validation for repository operations
- Update all service implementations to use self.resolve instead of global resolve
- Modify serve function to accept repo_prefix parameter and pass to GitksService
- Remove global resolve functions and integrate them into GitksService struct
- Add proper initialization of repo directory from environment variable
2026-06-04 14:18:12 +08:00
.idea feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
archive feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
blame feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +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(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
diff feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
merge feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
pack feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +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 feat(server): add repository prefix path configuration and service struct 2026-06-04 14:18:12 +08:00
tag feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
tests feat(server): add comprehensive Git repository services with test coverage 2026-06-04 14:10:21 +08:00
tree feat(tree): add recent commit metadata and LFS support to file metadata 2026-06-04 13:47:46 +08:00
.dockerignore feat(build): add Docker support for gitks application 2026-06-04 14:11:55 +08:00
.gitignore feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
bare.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
build.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
Cargo.lock feat(server): add gitks gRPC server with environment configuration 2026-06-04 14:10:29 +08:00
Cargo.toml feat(server): add gitks gRPC server with environment configuration 2026-06-04 14:10:29 +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(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
lib.rs feat(tree): add recent commit metadata and LFS support to file metadata 2026-06-04 13:47:46 +08:00
LICENSE feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
main.rs feat(server): add repository prefix path configuration and service struct 2026-06-04 14:18:12 +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.