Skip to content

Controller around the internal git server for paastech.cloud

License

Notifications You must be signed in to change notification settings

charley04310/git-repo-manager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git repo manager

Table of Contents

Description

Git repo manager is a vice to provide a simple way to manage git repositories on a machine. The communication between the client and the server is done via a GRPC Protol.

In addition to the server implementation, a client-debug binary is also present to enhance the debugging capabilities of the system. The client-debug allows developers to perform debugging operations on the Git repo manager service.

Requirements

Before running the server, make sure you have the following installed:

Dependencies

  • Tonic is used as the GRPC framework allowing the client to be written in any language that supports GRPC. Tonic provides the necessary tools and libraries to implement and interact with gRPC services. It allows you to define gRPC APIs, generate code from Protocol Buffers, and build both gRPC servers and clients.

  • Prost is a Protocol Buffers implementation for Rust. It enables you to define your message and service definitions using .proto files, and then generate Rust code from them. This allows you to easily create a backend for your GRPC client.

  • Tokio is an asynchronous runtime for the Rust programming language. It provides the building blocks needed for writing network applications. It is used to implement the server and client.

  • Dotenv is used to load environment variables from a .env file into std::env.

  • Log is used to provide a logging facade for the server.

  • Pretty_env_logger is used to provide a pretty logger for the server.

Usage

To run the server, run the following command:

cargo run

# or
cargo run --bin server

To run the client-debug, run the following command:

cargo run --bin client

About

Controller around the internal git server for paastech.cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 66.8%
  • Shell 30.2%
  • Dockerfile 3.0%