Skip to content

Conversation

@MurashovVen
Copy link
Contributor

Changing script on go generate.

@@ -0,0 +1,3 @@
package blobbercore

//go:generate protoc -I ./blobbergrpc/proto --go-grpc_out=. --go_out=. --grpc-gateway_out=. --openapiv2_out=./openapi ./blobbergrpc/proto/blobber.proto
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wont work to fix issue - #44. Since go generate only works inside a go module. The directory outside blobber core .etc. is not a go module. Also make sure @guruhubb is ok with you working on this issue.
If we made the repo outside a go module there maybe complications with nested go modules since each of the sub modules use differente versions of the same dependency.
Its low prio issue i only created it to document that this needs to be done at some point. There may be other work thats more prio right now.

@Sriep
Copy link
Contributor

Sriep commented Apr 15, 2021

Closing this as it does seem useful.

@Sriep Sriep closed this Apr 15, 2021
@platsko platsko deleted the grpc-migration-protoc branch May 9, 2021 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'blobbercore/scripts/generate-grpc.sh' should not depend on execution path

4 participants