Skip to content

longfangsong/tipb

This branch is 1 commit ahead of, 67 commits behind pingcap/tipb:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ec947bd · Feb 21, 2022
Feb 1, 2021
Jul 1, 2021
Jan 18, 2022
Nov 20, 2019
Feb 15, 2022
Apr 25, 2019
Feb 15, 2022
Mar 10, 2017
Aug 6, 2019
Jun 11, 2021
Sep 17, 2021
Feb 21, 2022
Mar 7, 2016
Jun 11, 2021
Feb 21, 2022
Aug 6, 2019
Feb 1, 2021
Jun 11, 2021
Jun 2, 2021
Jun 1, 2021
Jun 1, 2021
Jun 2, 2021

Repository files navigation

tipb

TiDB protobuf files

Build with local toolchain

We use protoc 3.5.1, to download: protobuf/releases/tag/v3.5.1

Generate the Go and Rust codes

make

Build with docker

Build the docker image

docker build . -t tipb-builder

Generate codes

Basically just use the docker image instead of make:

# Generate All codes
docker run -v $(pwd):/tipb tipb-builder 
# Generate Go codes only
docker run -v $(pwd):/tipb tipb-builder go
# Generate Rust codes only
docker run -v $(pwd):/tipb tipb-builder rust

Note

Do not forget to update the dependent projects!

About

TiDB protobuf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 42.0%
  • Shell 23.7%
  • Go 23.4%
  • Makefile 5.6%
  • Rust 5.3%