-
Notifications
You must be signed in to change notification settings - Fork 21
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
Code transfer of SWISS TXT cloudstack-cloud-controller-manager to the Apache project #1
Conversation
Much of the imported code are vendored dependencies. Also note that the code wasn't updated to use modules from the latest k8s release - but I'd like to postpone this until after the code is merged. |
@onitake LGTM, can you remove/clean the vendor directory? I'm not sure if gcp/azure etc dependencies are useful? I'm OK to keep the dependencies in vendor but not if they are not used. What's the standard practice? |
A very good point! These dependencies are not useful in any way, but they were pulled in by the dependency on the k8s cloud provider code used by the controller. At the point when we forked the code, they were required because the old kube-controller code still contained all the dependencies on the internal cloud providers. I will try to update all k8s dependencies to 1.15 and see if this removes the cloud provider stuff. |
Does not build yet - transitive deps still pull in a ton of crap and exact versioning is still needed on some of said crap.
…rrides are enough
@rhtyd Dependency cleanup was harder than expected due to the incompatible versioning scheme on the k8s.io packages. Go expects semantic versions, but the tags on these repositories are not consistent with that (kubernetes-1.x.y).
@joschi36 and I are also addressing swisstxt/cloudstack-cloud-controller-manager#9 right now and we will update the documentation and example deployment shortly. |
Thanks @onitake keep me posted when you think this is ready. |
@rhtyd I think we're ready to push now. I built a last beta release (0.0.3), fixed some build steps and replaced the remaining references to the old swisstxt repo with the new home. The README still has a bit of copyright text at the end, please advise if we should remove or replace it. Will you give @joschi36 and myself commit access to the new repository, or should we handle further contributions via PRs from personal repos? |
@rhtyd Any update? |
@onitake hi, I'll get back to you by next week. Currently at a conference and then travelling till Tuesday next week. |
Thanks @rhtyd ! In the meantime, we fixed another bug due to the API change introduced in apache/cloudstack#3066 - our cloudstack-go version was a bit outdated. |
@onitake thanks, let me know when you think it's ready for merge. Can you also add documentation (if not already added to the README?) how to build/use/integrate the provider? |
@rhtyd I believe we're ready to merge, unless you still have legal, formal or moral objections. In particular, please advise on the copyright and author references in the README. The README already includes instructions on compilation and use. Please take a look and try it out for yourself. One important question is also about future contributions: Will you consider giving @joschi36 and me direct commit rights or should we handle future contributions via PRs from private repos? |
@onitake thanks, can you check and add the Apache license 2.0 to all files (wherever possible) and perhaps remove |
All right, I followed https://www.apache.org/legal/src-headers.html as closely as possible. The source files contain the required license header, and I moved all previous copyright text into the NOTICE file, as required. |
This merges the history of https://github.com/swisstxt/cloudstack-cloud-controller-manager into the Apache foundation project https://github.com/apache/cloudstack-kubernetes-provider and transfers custody and ownership of the code to the Apache foundation.
The original code from the Kubernetes project as well as the modifications done by @swisstxt are covered by the Apache 2.0 license, so there is no change with respect to the license conditions.
Other things that may need to be transferred or recreated:
Please advise on how to proceed on these points.