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

Ease protobuf dependency to match kvproto #181

Merged
merged 4 commits into from
Feb 18, 2019
Merged

Conversation

Hoverbear
Copy link
Contributor

This is a prepare-to-release patch for 0.5.0 which will ensure there is no required follow up version change in kvproto (https://github.com/pingcap/kvproto/blob/master/Cargo.toml#L13) leading to https://github.com/tikv/tikv/blob/master/Cargo.toml#L118 which is matches with TiKV's https://github.com/tikv/tikv/blob/master/Cargo.toml#L72.

@Hoverbear Hoverbear added the Bug Recognized misbehavior. label Feb 11, 2019
@Hoverbear Hoverbear added this to the 0.5.0 milestone Feb 11, 2019
@Hoverbear Hoverbear self-assigned this Feb 11, 2019
@Hoverbear Hoverbear mentioned this pull request Feb 11, 2019
brson
brson previously approved these changes Feb 11, 2019
Copy link

@brson brson left a comment

Choose a reason for hiding this comment

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

LGTM

BusyJay
BusyJay previously approved these changes Feb 13, 2019
src/eraftpb.rs Outdated
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.2.4. Do not edit
// This file is generated by rust-protobuf 2.2.2. Do not edit
Copy link
Member

Choose a reason for hiding this comment

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

Can it work with protobuf <2.2? For example, will code generated by new compiler use a new API missing in old version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I haven't seen a build error or test error from this. I think we could even allow "~2.0-~2.2"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PTAL

@Hoverbear Hoverbear dismissed stale reviews from BusyJay and brson via e35db8e February 15, 2019 22:54
Copy link
Member

@BusyJay BusyJay left a comment

Choose a reason for hiding this comment

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

LGTM, @overvenus PTAL.

Copy link
Member

@overvenus overvenus left a comment

Choose a reason for hiding this comment

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

LGTM

@Hoverbear Hoverbear merged commit f44c947 into master Feb 18, 2019
@Hoverbear Hoverbear deleted the ease-dependencies branch February 18, 2019 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Recognized misbehavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants