Comments (8)
@rhtyd
OK, I finally have got the point. Hope the new tool will get enough adoption soon.
from cloudstack-cloudmonkey.
To play devils advocate here, we (ENA) have far more Go coders than python experts.
from cloudstack-cloudmonkey.
Python based cloudmonkey will continue to exist, but deprecated over time. May be supported till python 2.7 is supported on a platform. I did discuss about this effort a very long time ago on dev ML and did not receive any negative feedback, since then I've actually rewritten cmk in Go twice.
Let me share my reasons of rewriting cloudmonkey in go:
- missing support for python 2.7 runtime on older distros such as centos6/el6, difficulty in installation esp for windows users
- python 2 vs 3 issues, before going to rewrite I tried to make the same code compatible with both py2/3 runtime and it turned out to be an ugly exercise
- biggest reason was due to maintenance problem around installation and usage on different platforms
go
is a very small language, easy/fast to learn (note: I'm largely a Python programmer, but could pickup quickly, I think others may quickly learn too)- the rewrite is generally 5-20x faster, easy to build, install and ship as a single binary for various platforms, even works on windows
- cloudmonkey is a very small tool, rewriting it was justifiable; go-based cmk aims to be largely backward compatible for users and does not aim to bring major features
Most new infra opensource projects such as docker, k8s, hashicorp tools, few dbs, etc are all go-based, with the compatibility gurantee from the golang team for 1.x, I see a long term future and also for cmk release and maintenance.
I'm open to a healthy discussion.
from cloudstack-cloudmonkey.
@rhtyd well, I understand that. Just wanted to point that pyinstaller
allows packing python into SFX which can be executed even in outdated OSes, so it's possible to rewrite to python3 as well and run SFX to execute everywhere.
from cloudstack-cloudmonkey.
There is a python based 5. 3 branch that you may maintain to support pyinstaller etc. @bwsw. From my PoV, we should move to go based version soon.
from cloudstack-cloudmonkey.
Ok, I get the point. Then, at least the documentation must be changed as well here:
https://cloudstack.apache.org/downloads.html
because, I suppose the current adoption of a new version is almost zero. E.g. I've known that there is some Cloudmonkey in Golang, but documentation states to use pip.
from cloudstack-cloudmonkey.
You're missing the point, there is no official go based release yet. We're yet to work on it and we'll update the website once there is an official release.
from cloudstack-cloudmonkey.
@bwsw thanks for being involved and your feedback. Anyone is welcome to continue to support and maintain the python based 5.3
branch. I'm closing the ticket, but if you're not satisfied please start a discussion thread on dev@ ML to gather feedback from a wider community than those tagged on this issue. Thanks.
from cloudstack-cloudmonkey.
Related Issues (20)
- filter is ignored on e.g. deploy virtual machine HOT 9
- associatednetworkid= does not autocomplete HOT 7
- verifycert option does not disable certificate signed by unknown authority error HOT 4
- Migrate to Github Actions HOT 2
- Create Role Permission Deny Rule Fails! HOT 1
- Provide "NOT" option when querying with cmk HOT 3
- Allow for CTRL-C to break the current operation HOT 6
- Allow cmk to pass * as parameter value HOT 2
- Readline issues when line goes beyond screen width HOT 1
- In CLI mode, cmk calls sync and doesn't cache it HOT 1
- Support POST method
- In CLI mode getting error: failed to authenticate, please check the credentials HOT 3
- How to run a cross-platform build? HOT 3
- hour value in the startdate,enddate parameter for command list usagerecords is ignored HOT 2
- Explore template/iso file upload from cmk
- Add support for 2FA in cmk HOT 3
- Validation for set cmd attributes (profile, url, etc)
- serviceofferingid autocomplete in deploy virtualmachine api cmd doesn't list the offering ids, instead picks some integer id
- Reverse parameter filtering
- 6.4.0 add host -> authentication error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudstack-cloudmonkey.