Closed leecalcote closed 3 years ago
Yay, your first pull request! :thumbsup: A contributor will be by to give feedback soon. In the meantime, please review the Layer5 Community Welcome Guide and sure to join the community Slack. Be sure to double-check that you have signed your commits. Here are instructions for making signing an implicit activity while peforming a commit.
@leecalcote @utkarsh-pro Could you guys write more detail about this feature?
@leecalcote @utkarsh-pro Could you guys write more detail about this feature?
Hi @Aisuko, yes, good request. Here we are - https://docs.google.com/document/d/1B2N78EdRiZF-yVo1-HY3syppwBBDumgMuYg6seD-AJ4/edit
@utkarsh-pro lets make a meshkit release to have proper versioning. We don't wanna stick to branch.
@utkarsh-pro out of interest: why are there 2 pb.go
files (meshops.pb.go
and meshops_grpc.pb.go
)? They are also quite different. How was meshops_grpc.pb.go
generated? Maybe Makefile
needs to be adjusted?
@utkarsh-pro out of interest: why are there 2
pb.go
files (meshops.pb.go
andmeshops_grpc.pb.go
)? They are also quite different. How wasmeshops_grpc.pb.go
generated? MaybeMakefile
needs to be adjusted?
@mgfeller new versions of protoc compiler spit out two files (if generating for grpc). One if the file is solely responsible for proto files serialization and deserialization while the other file contains the code for grpc (like implementing methods, interfaces etc.).
We don't have to change the makefile in my opinion, the new protoc will handle that automatically for us.
@utkarsh-pro out of interest: why are there 2
pb.go
files (meshops.pb.go
andmeshops_grpc.pb.go
)? They are also quite different. How wasmeshops_grpc.pb.go
generated? MaybeMakefile
needs to be adjusted?@mgfeller new versions of protoc compiler spit out two files (if generating for grpc). One if the file is solely responsible for proto files serialization and deserialization while the other file contains the code for grpc (like implementing methods, interfaces etc.).
We don't have to change the makefile in my opinion, the new protoc will handle that automatically for us.
@utkarsh-pro thanks for the feedback. Referring to https://github.com/layer5io/meshery/pull/2454, I had to install the latest plugin according to https://grpc.io/docs/languages/go/quickstart/ (I was probably using the github version superseded by this one). I had to update the Makefile as well:
protoc -I meshes/ meshes/meshops.proto --go-grpc_out=./meshes/ --go_out=./meshes/
Please have a look at https://github.com/layer5io/meshery/pull/2454
Thanks for your contribution to the Layer5 community! :tada:
Description
New feature support of MeshWorks and Patternfiles
Signed commits