Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Makefile #5

Closed

Conversation

raghavendra-talur
Copy link

There has been a change in the protoc binary from version v1.12. For
more information refer to:
golang/protobuf#1070.

This Makefile has been kept minimal to achieve the following:

  1. Changes should be made to the replication.proto file in the root of
    the repo.
  2. The generated code is split into two files now,
    lib/go/replication.pb.go and lib/go/replication_grpc.pb.go

TODO: Add validation methods to ensure that the generated files match
with the commited files.

Signed-off-by: Raghavendra Talur [email protected]

There has been a change in the protoc binary from version v1.12. For
more information refer to:
golang/protobuf#1070.

This Makefile has been kept minimal to achieve the following:

1. Changes should be made to the replication.proto file in the root of
   the repo.
2. The generated code is split into two files now,
   lib/go/replication.pb.go and lib/go/replication_grpc.pb.go

TODO: Add validation methods to ensure that the generated files match
with the commited files.

Signed-off-by: Raghavendra Talur <[email protected]>
Copy link
Member

@Madhu-1 Madhu-1 left a comment

Choose a reason for hiding this comment

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

what is the minimum version of protoc is required?

we also need to add validation for the required version, if its
not present we need to install the required packages

@@ -0,0 +1,6 @@
all: build
Copy link
Member

Choose a reason for hiding this comment

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

I guess we should make sure that we have all dependencies as well if not download them.

@raghavendra-talur
Copy link
Author

Obsolete. Refer to #11

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.

3 participants