-
Notifications
You must be signed in to change notification settings - Fork 188
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
Extract Protocol Buffers encoding/decoding from client #57
Conversation
Don't run tests for deps.
@@ -1,6 +1,6 @@ | |||
{cover_enabled, true}. | |||
{erl_opts, [warnings_as_errors]}. | |||
{deps, [ | |||
{protobuffs, "0.6.*", {git, "git://github.com/basho/erlang_protobuffs", {tag, "protobuffs-0.6.0"}}} | |||
{riak_pb, "1.2.*", {git, "git://github.com/basho/riak_pb", "master"}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no reason to fix on version for master.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean to use a ".*" version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, IIRC that's what we do for everything else on master.
I walked through this code making sure what was removed was migrated to +1 to merge. |
+1 to merge |
Extract Protocol Buffers encoding/decoding from client
This is one of a series of pull requests to refactor the PBC interface of Riak and make it more general.
Related: basho/riak_kv#321, basho/riak#138, basho/riak_pb, basho/riak_api
All encoding and decoding functions and
.proto
files were removed from the client library and moved into the newriak_pb
application. This enables us to keep a single source-of-truth about the serialization format of protocol messages that is reused in the client and server and independent of both of them, and to remove the dependency of the server on the client library (a needless coupling).