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 etcd v3 api support #4

Merged
merged 2 commits into from
Aug 28, 2017
Merged

Add etcd v3 api support #4

merged 2 commits into from
Aug 28, 2017

Conversation

abronan
Copy link
Owner

@abronan abronan commented Aug 20, 2017

Initial support for etcd v3 API.

Signed-off-by: Alexandre Beslic abeslic@abronan.com

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 84.086% when pulling d2df21e on etcdv3 into eb70185 on master.

if options.Username != "" {
setCredentials(cfg, options.Username, options.Password)
}
if options.SyncPeriod != 0 {
Copy link

Choose a reason for hiding this comment

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

SyncPeriod is not in docker/libkv/store.Config. It's only in your fork. The import statement should be changed IMHO.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thanks, you're right. I'm still working on the main repository, pushing to my remote. I don't like renaming import paths (kinda dirty), but I don't think these features will end up being included upstream anyways. So I'll have to do it eventually 😞

(I also thought about creating a new repository with a new name to clearly mark a separation from the upstream libkv, I'm not sure yet)

Copy link
Owner Author

Choose a reason for hiding this comment

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

Oh and another solution: people could still reference the fork with their dependency manager (glide, etc.).

It's still one more step to contribute though: you have to add my remote and rebase on top of my master branch before submitting a PR with a feature/patch to the fork. I can write some docs for this though.

Copy link

Choose a reason for hiding this comment

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

I also thought about creating a new repository with a new name to clearly mark a separation from the upstream libkv, I'm not sure yet

From my POV that would be the best solution. I would be interested in contributing. Right now it's not clear if it's temporary fork, if the changes will be merged to upstream repo. Based on the number of issues in upstream repo looks like there is high demand for that lib and for improving it.

Oh and another solution: people could still reference the fork with their dependency manager (glide, etc.).

That's true but only if you use package managers that support that. I've recently migrated to dep because of significant speed improvements and dep doesn't have that feature.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thank you for the feedback. I'll certainly take that into account. I will keep on working on it and prepare for a rename if needs be. I have no intention to contribute to the upstream repo because it does not seem active anymore, so this fork is actually where the work will be happening. I guess a rename makes sense in this case.

Copy link

Choose a reason for hiding this comment

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

One question. Why have you disabled Issues in your fork?

Copy link
Owner Author

Choose a reason for hiding this comment

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

I haven't disabled them, I forgot to turn them on 🤣 I thought they were enabled by default on forks somehow, seems not. Thanks for pointing that out.

Signed-off-by: Alexandre Beslic <abeslic@abronan.com>
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 84.086% when pulling 4bff552 on etcdv3 into 4e64edb on master.

Signed-off-by: Alexandre Beslic <abeslic@abronan.com>
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 84.086% when pulling 5f8e8ab on etcdv3 into 4e64edb on master.

@abronan abronan merged commit 38be65d into master Aug 28, 2017
@abronan abronan deleted the etcdv3 branch August 28, 2017 00:18
@renan
Copy link

renan commented Sep 15, 2017

What is needed in order for this to go back to the original project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants