From dev-return-111253-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Tue Apr 10 16:20:21 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 62DCC18067B for ; Tue, 10 Apr 2018 16:20:21 +0200 (CEST) Received: (qmail 85291 invoked by uid 500); 10 Apr 2018 14:20:19 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 85041 invoked by uid 99); 10 Apr 2018 14:20:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2018 14:20:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3AB07C030C; Tue, 10 Apr 2018 14:20:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id t9XzdoLr361l; Tue, 10 Apr 2018 14:20:16 +0000 (UTC) Received: from mail-it0-f54.google.com (mail-it0-f54.google.com [209.85.214.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6ED9A5FAD9; Tue, 10 Apr 2018 14:20:16 +0000 (UTC) Received: by mail-it0-f54.google.com with SMTP id 71-v6so15014327ith.2; Tue, 10 Apr 2018 07:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/PaLjRPA+vpGe6CqXAL+THAHjYhIDnATSI8Ag4lShU8=; b=XemACRcf7VJr4RU97mL5IDnNlI/xSQRBtO+/33s7yVyhu/t35BRs+nEciBTDZ1s03t iipkq0xlUvN3YYBfiJU+8sH7227hayp7nPahTTyo65VqEaiweraVveoGSpIdOIpfX70/ 1P5Xz3g5pLVMKpMQjLTNTZCPGWmhTPE7ZZJGehgb52tWkTRDkz9s6C4e24KU600swDUZ Rn0Zuaen2UGFSBh4tl//ls41ZpEoUMvjJpMGP12m2LgpShkTnJxoN5n/a46XjNJvetxv 22NngO13Qego1AeookzrnWt6/jsPuts1nX9TinQb3/6U/U5/TOZQieYRmd0whh54iHMy tTbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/PaLjRPA+vpGe6CqXAL+THAHjYhIDnATSI8Ag4lShU8=; b=bRueKnjRM2dBMAtgS4C2NCiABibKGU7hTO6On1x3M068yrxuss32VyBGMbSCIlSSw4 tP77aAESD829jv/VTwjXSDGQkmthVV50z9fqn5QxG+h7Gt+5AhVC5VNdbZ2N0mGRm6Kh RYpkg0lWwZ8Bxnm/LpaRLxOya2ojv6ggShzZfG9gjonAGmxFgKcJNEx2FNlyex6V7cRm uOcDPOIwWUzfyRg5mOI2McASWr+EXtaAw+hY+ifQNcBRgeyIpohwldO46Z+qA/tqZkCN vDF1lLatlbt4gneMDMCzT6yvqgF/cOgE3F9yYz0Q7pUrZxOfRWObSoOIXxTTgG4WGXZZ Aoow== X-Gm-Message-State: ALQs6tApZcXyM4nHJFjs14BN3cBGXIRoVCahzc7xg0Fn7VdVKoAlyC/O TbXUuPi/qtrub1M0qFDJeCnchVURHu5NT4RDQxk= X-Google-Smtp-Source: AIpwx48N4KPl+iew/dL+JyIUg8Vous5Ln2gDGJvgrHwOP9y8xP8/OANgsW5wWTTDvwl1dxps5gk1BoO57AQOo0wXY6I= X-Received: by 2002:a24:4153:: with SMTP id x80-v6mr2465104ita.14.1523370009867; Tue, 10 Apr 2018 07:20:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: ilya musayev Date: Tue, 10 Apr 2018 14:19:59 +0000 Message-ID: Subject: Re: [DISCUSS] CloudMonkey 6.0.0-alpha (about six years after initial version in 2012) To: dev@cloudstack.apache.org Cc: users Content-Type: multipart/alternative; boundary="0000000000004cb79605697f389f" --0000000000004cb79605697f389f Content-Type: text/plain; charset="UTF-8" This is great news and cloud monkey is used more than you think :) I will share the news with my team. On Tue, Apr 10, 2018 at 5:07 AM Will Stevens wrote: > +1. It has been a great tool for years. Looking forward to the golang > version. > > On Apr 10, 2018 7:59 AM, "Rohit Yadav" wrote: > > All, > > > Few months ago, I started porting the current code to be compatible with > both Python2 and Python3 to make it run with both Python2 (for older > systems such as CentOS6 etc) and Python3 (for newer platforms). The work > was not a success, another problem was that cloudmonkey was not easy to > install and required several dependencies that would certainly fail on > older systems with Python 2.6.x. > > > Considering all things, I started working on an experimental golang port > [2] and happy to announce that the initial alpha version shows a lot of > promise and is 5-20x faster than the python based cli [1]. The compiled > binary runs on several targets, including windows [1]. > > > I cannot commit to a timeline/release date yet but the aim of this thread > is to discuss and propose the simplification of the CLI which may require > removal of some features and some breaking changes may be introduced: > > > - Make json the default output format > > - Remove coloured output > > - Remove unpopular, least user output formats? xml, default (line-separate > key=value), table? > > - Remove `set` options: color, expires, (custom) prompt > > - Remove `paramcompletion` option, this will be true/enabled by default > > - Remove signature version and expires (I'm not sure why this is needed or > used) > > - Remove history_file, cache_file, log_file options, use the default paths > in folder at (user's home directory)/.cloudmonkey. > > - Remove shell based execution from interactive interpreter mode (using ! > or shell keywords) > > - Remove support for CloudStack older than 4.5, i.e. it won't be tested > against older cloudstacks. > > - Remove a default API cache with the client, for a fresh env without any > ~/.cloudmonkey/cache; users can run `sync` command against a management > server. > > - Interactive API parameter completion in CLI mode: the current API > parameter completion requires the user to manually copy/paste the uuids, or > autocomplete by typing parts of the uuids/option. > > - Improve how maps are passed. > > - Good to have: bash/zsh completion. > > > Please share your thoughts, and objections (especially if you're using the > proposed features to be removed in version 6.x). > > > [1] https://twitter.com/rhtyd/status/983448788059770882 > > [2] https://github.com/rhtyd/cmk > > > - Rohit > > > > > > rohit.yadav@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > --0000000000004cb79605697f389f--