Here is a link to the design doc: https://docs.google.com/document/d/1r6Iv4Efu8v8IBrcUTjgYkvZ32WVscgYqrD07OyIglsA/edit?ts=57573bba#
It sounds like people would like to see the CLI written in C++. However, the reference implementation we have is written completely in python. Please see the section on "Reference Implementation" in the design doc for a discussion of why we chose this. Do people consider a C++ implementation of the CLI a requirement or simply a desirable. Is there strong opposition to python for any reason other than code parity? On Wed, Jun 22, 2016 at 1:01 PM, Joris Van Remoortere <jo...@mesosphere.io> wrote: > +1 for maintaining in repo. > +1 for C++. Are the tools in libprocess not sufficient to make this easy to > write? What is missing that would make it easier to write in C++? > > — > *Joris Van Remoortere* > Mesosphere > > On Wed, Jun 22, 2016 at 2:24 AM, Zhou Z Xing <xingz...@cn.ibm.com> wrote: > >> +1 for keeping it in Mesos repo and rewrite it in C++. >> >> Also, do we need a CLI work group on this? >> >> Thanks & Best Wishes, >> >> Tom Xing(邢舟) >> Emerging Technology Institute, IBM China Software Development Lab >> ---------------------- >> IBM China Software Development Laboratory (CSDL) >> Notes ID:Zhou Z Xing/China/IBM >> Phone :86-10-82450442 >> e-Mail :xingz...@cn.ibm.com >> Address :Building No.28, ZhongGuanCun Software Park, No.8 Dong Bei Wang >> West Road, Haidian District, Beijing, P.R.China 100193 >> 地址 :中国北京市海淀区东北旺西路8号 中关村软件园28号楼 100193 >> >> >> [image: Inactive hide details for Benjamin Mahler ---2016-06-22 上午 >> 06:12:40---+1 for keeping it in the repo. We can establish maint]Benjamin >> Mahler ---2016-06-22 上午 06:12:40---+1 for keeping it in the repo. We can >> establish maintainers for the CLI to ensure that it can mainta >> >> From: Benjamin Mahler <bmah...@apache.org> >> To: dev <dev@mesos.apache.org>, jfarr...@apache.org >> Date: 2016-06-22 上午 06:12 >> Subject: Re: Mesos CLI >> ------------------------------ >> >> >> >> +1 for keeping it in the repo. >> >> We can establish maintainers for the CLI to ensure that it can maintain a >> reasonable update cadence. Note that we haven't done this well for the >> webui and CLI, so we need to make sure we do it better this time around. >> >> If the architecture allows for easy integration of custom commands (written >> in any language) then it should enable users to create their own helpful >> CLI commands that we can eventually pull in and support in a first class >> way. >> >> On Tue, Jun 21, 2016 at 1:26 PM, Jake Farrell <jfarr...@apache.org> wrote: >> >> > +1 to in repo >> > >> > C++ would be nice to maintain language parity, GO would be a great choice >> > also >> > >> > -Jake >> > >> > On Tue, Jun 21, 2016 at 3:15 PM, Vinod Kone <vi...@mesosphere.io> wrote: >> > >> > > +1 for keeping it in repo. >> > > >> > > Would be nice if the CLI can be written entirely in C++ though, to >> avoid >> > > supporting more languages. >> > > >> > > On Tue, Jun 21, 2016 at 12:12 PM, Jie Yu <yujie....@gmail.com> wrote: >> > > >> > > > I personally prefer it being part of the Mesos repo so that when >> people >> > > > install our package, they'll get the command line tools as well. That >> > > also >> > > > avoids the potential version mismatch between Mesos and CLI (as you >> > > > mentioned). >> > > > >> > > > What does others think? >> > > > >> > > > - Jie >> > > > >> > > > On Tue, Jun 21, 2016 at 10:20 AM, Kevin Klues <klue...@gmail.com> >> > wrote: >> > > > >> > > > > I've created an Epic to track this: >> > > > > https://issues.apache.org/jira/browse/MESOS-5676 >> > > > > >> > > > > There have been efforts on this that have failed in the past (e.g. >> > > > > https://github.com/mesosphere/mesos-cli) >> > > > > >> > > > > I'm curious what people's thoughts are in terms of keeping the CLI >> > > > > integrated into mesos itself vs. maintaining it outside in a >> separate >> > > > > repo. There are advantages / disadvantages to both. The primary >> > > > > advantage of keeping it in is (in theory) it can keep better pace >> > with >> > > > > Mesos itself and will be fixed if any new / changed features break >> > its >> > > > > unit tests. The advantage of keeping it out is that it evolve more >> > > > > easily and is not subject to the limitations of the Mesos build >> > > > > system. >> > > > > >> > > > > On Mon, Jun 20, 2016 at 11:05 AM, Haris Choudhary >> > > > > <hchoudh...@mesosphere.io> wrote: >> > > > > > Hey All, >> > > > > > >> > > > > > We are finalizing a Design Doc for the redesign and hope to send >> it >> > > out >> > > > > in >> > > > > > the next few days. >> > > > > > >> > > > > > >> > > > > > >> > > > > > On Mon, Jun 20, 2016 at 9:47 AM, Zhitao Li < >> zhitaoli...@gmail.com> >> > > > > wrote: >> > > > > > >> > > > > >> +1 >> > > > > >> >> > > > > >> Very interested in participating on design/feature discussions >> and >> > > > > making >> > > > > >> some contributions here. >> > > > > >> >> > > > > >> On Sun, Jun 19, 2016 at 10:23 PM, tommy xiao <xia...@gmail.com> >> > > > wrote: >> > > > > >> >> > > > > >> > +1 >> > > > > >> > >> > > > > >> > 2016-06-20 11:23 GMT+08:00 Zhou Z Xing <xingz...@cn.ibm.com>: >> > > > > >> > >> > > > > >> > > Hi Haris, >> > > > > >> > > >> > > > > >> > > Is there any detail plan on the Mesos CLI redesign? we are >> now >> > > at >> > > > > the >> > > > > >> > same >> > > > > >> > > time want to improve Mesos CLI, such as leveraging new >> > > > HTTP/Operator >> > > > > >> > APIs, >> > > > > >> > > add new commands to CLI. We definitely want to join you in >> the >> > > > > >> discussion >> > > > > >> > > and develop a new CLI for Mesos. >> > > > > >> > > >> > > > > >> > > Thanks & Best Wishes, >> > > > > >> > > >> > > > > >> > > Tom Xing(邢舟) >> > > > > >> > > Emerging Technology Institute, IBM China Software >> Development >> > > Lab >> > > > > >> > > ---------------------- >> > > > > >> > > IBM China Software Development Laboratory (CSDL) >> > > > > >> > > Notes ID:Zhou Z Xing/China/IBM >> > > > > >> > > Phone :86-10-82450442 >> > > > > >> > > e-Mail :xingz...@cn.ibm.com >> > > > > >> > > Address :Building No.28, ZhongGuanCun Software Park, No.8 >> Dong >> > > Bei >> > > > > Wang >> > > > > >> > > West Road, Haidian District, Beijing, P.R.China 100193 >> > > > > >> > > 地址 :中国北京市海淀区东北旺西路8号 中关村软件园28号楼 100193 >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > [image: Inactive hide details for Haris Choudhary >> > ---2016-06-18 >> > > 上午 >> > > > > >> > > 01:11:16---Hey All, The Mesos CLI is going through a >> redesign. >> > > > > W]Haris >> > > > > >> > > Choudhary ---2016-06-18 上午 01:11:16---Hey All, The Mesos CLI >> > is >> > > > > going >> > > > > >> > > through a redesign. We are aware that the >> > > > > >> > > >> > > > > >> > > From: Haris Choudhary <hchoudh...@mesosphere.io> >> > > > > >> > > To: dev@mesos.apache.org >> > > > > >> > > Date: 2016-06-18 上午 01:11 >> > > > > >> > > Subject: Mesos CLI >> > > > > >> > > ------------------------------ >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > Hey All, >> > > > > >> > > >> > > > > >> > > The Mesos CLI is going through a redesign. We are aware that >> > the >> > > > > >> > > "mesos-execute" command is used pretty often, so that will >> be >> > > > ported >> > > > > >> into >> > > > > >> > > the new CLI. However we're not sure if any of the other >> > current >> > > > CLI >> > > > > >> > > commands are being used at all. The remaining list of >> commands >> > > are >> > > > > as >> > > > > >> > > follow: >> > > > > >> > > - cat >> > > > > >> > > - ps >> > > > > >> > > - tail >> > > > > >> > > - scp >> > > > > >> > > >> > > > > >> > > If anyone is still using them, please let us know. *If a >> > command >> > > > is >> > > > > not >> > > > > >> > > being used it may be removed completely without a >> deprecation >> > > > > notice. * >> > > > > >> > > >> > > > > >> > > Thanks! >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > >> > > > > >> > >> > > > > >> > -- >> > > > > >> > Deshi Xiao >> > > > > >> > Twitter: xds2000 >> > > > > >> > E-mail: xiaods(AT)gmail.com >> > > > > >> > >> > > > > >> >> > > > > >> >> > > > > >> >> > > > > >> -- >> > > > > >> Cheers, >> > > > > >> >> > > > > >> Zhitao Li >> > > > > >> >> > > > > >> > > > > >> > > > > >> > > > > -- >> > > > > ~Kevin >> > > > > >> > > > >> > > >> > >> >> >> >> -- ~Kevin