day 1

【新手】快速上手 Curve 指南 https://ask.opencurve.io/t/topic/70 https://github.com/opencurve/curve/wiki

【CurveFS设计文档】 https://github.com/opencurve/curve-meetup-slides/tree/main/CurveFS

【coode】 http://github.com/opencurve/curve。 【ppt】 http://github.com/opencurve/curve-meetup-slides

动手:如何给curve提交你的第一条pr

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16


git clone git@github.com:watchpoints/curve.git
git remote add upstream https://github.com/opencurve/curve.git
git fetch upstream 
git rebase upstream/master

bazel是Google开源的一套类似于Make的编译构建工具。
bazel 安装 centos8
dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/vbatts/bazel/repo/epel-8/vbatts-bazel-epel-8.repo
dnf install bazel

bazel build //src/mds/...

如果修改了proto目录下的proto文件,那么编译命令是\
 protoc --cpp_out=. proto/*.proto

FQA

  1. 编译错误 ERROR: Unrecognized option: –incompatible_blacklisted_protos_requires_proto_info=false

https://github.com/opencurve/curve/issues/1668

  1. 版本错误。 bazel version must 4.2.2 now version is 1.2.1