Closed SemyonSinchenko closed 2 weeks ago
@acezen May you make a look please?
To generate files do the following:
protoc
if you don't have it: https://grpc.io/docs/protoc-installation/buf
(>=1.32) if you don't have it: https://buf.build/docs/installationbuf generate
It creates:
maven-projects/info/src/main/java/org/apache/grarphar/info/proto
cpp/src/proto
(I have no understanding where to place them, I'm not a cpp person and I need ur help here)pyspark/graphar_pyspark/proto
Using of buf v2
is questionable because it was introduced only in the latest version. Anyway, I see no benefits of v1
because we will need to migrate sooner or later
@acezen May you make a look please?
To generate files do the following:
- Install
protoc
if you don't have it: https://grpc.io/docs/protoc-installation/- Install
buf
(>=1.32) if you don't have it: https://buf.build/docs/installation- From the root of the project run
buf generate
It creates:
- Java classes in
maven-projects/info/src/main/java/org/apache/grarphar/info/proto
- Cpp classes in
cpp/src/proto
(I have no understanding where to place them, I'm not a cpp person and I need ur help here)- Python files in
pyspark/graphar_pyspark/proto
I think the cpp classes may puts to cpp/proto
.
@acezen May you make a look please? To generate files do the following:
- Install
protoc
if you don't have it: https://grpc.io/docs/protoc-installation/- Install
buf
(>=1.32) if you don't have it: https://buf.build/docs/installation- From the root of the project run
buf generate
It creates:
- Java classes in
maven-projects/info/src/main/java/org/apache/grarphar/info/proto
- Cpp classes in
cpp/src/proto
(I have no understanding where to place them, I'm not a cpp person and I need ur help here)- Python files in
pyspark/graphar_pyspark/proto
I think the cpp classes may puts to
cpp/proto
.
Hi, Sem, I think we can merge this change and I would update the cpp related configuratio.
Reason for this PR
Introduce using of buf-tool
What changes are included in this PR?
Actual changes are related to the following files:
format
buf.yaml
buf.gen.yaml
Are these changes tested?
.
Are there any user-facing changes?
.