-
Notifications
You must be signed in to change notification settings - Fork 504
Remove ZK candidate dep #2361
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
Remove ZK candidate dep #2361
Conversation
Signed-off-by: Zahari Dichev <[email protected]>
@@ -0,0 +1,728 @@ | |||
// ================================================================================================= |
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.
@@ -0,0 +1,518 @@ | |||
// ================================================================================================= |
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.
@@ -0,0 +1,168 @@ | |||
// ================================================================================================= |
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.
project/Deps.scala
Outdated
def twitterUtil(mod: String) = | ||
"com.twitter" %% s"util-$mod" % "19.5.1" | ||
|
||
def twitterCommonUtil = "com.twitter.common" % "util" % "0.0.121" |
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 think the goal here is to stop depending on com.twitter.common altogether. I think this means we also need to copy things like com.twitter.common.base.Command
into our repo if they haven't already been copied into finagle-serversets
project/Deps.scala
Outdated
def zkCandidate = | ||
("com.twitter.common.zookeeper" % "candidate" % "0.0.84") | ||
.exclude("com.twitter.common", "util") | ||
def apacheZookeeper = ("org.apache.zookeeper" % "zookeeper" % "3.5.0-alpha") |
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 think if we depend on finalge-serversets, we should automatically get this as a transitive dependency.
Signed-off-by: Zahari Dichev <[email protected]>
807a25f
to
c61fd7f
Compare
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.
🎉 👍
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.
LGTM
The artifact for com.twitter.common.zookeeper" % "candidate" % "0.0.84" on maven.twttr.com is not present anymore. Therefore we need to cpy the bits that we use from it and have it in our sourcecode.
Fixes #2360
Signed-off-by: Zahari Dichev [email protected]