Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC84796D8 for ; Thu, 8 Dec 2011 17:45:24 +0000 (UTC) Received: (qmail 51284 invoked by uid 500); 8 Dec 2011 17:45:24 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 51226 invoked by uid 500); 8 Dec 2011 17:45:24 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 51218 invoked by uid 99); 8 Dec 2011 17:45:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 17:45:24 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gnodet@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qw0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 17:45:19 +0000 Received: by qadz30 with SMTP id z30so802633qad.11 for ; Thu, 08 Dec 2011 09:44:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=V/d/qpdxcov3xn8x16hsPPWP1BAovnK1CMH1BMwEvns=; b=Qw3t0vyjZMnICjvn+6NnyWMFQpJ3ZwMi/lb98ED5UrSEydy8bAqJmARQPncjtn7TiF ajhKodnsfCxIBsUHGHDqq56GEI/AKXmvZPH9K0eGf+NyxtrZOSVz0k67OYO5nWcJwDPJ KlmhsNgObT5eUp3Ck7GP6GwrABG3efSQ4CRH8= MIME-Version: 1.0 Received: by 10.50.160.161 with SMTP id xl1mr4683138igb.5.1323366298156; Thu, 08 Dec 2011 09:44:58 -0800 (PST) Received: by 10.231.61.212 with HTTP; Thu, 8 Dec 2011 09:44:58 -0800 (PST) In-Reply-To: <4EE0F3FE.500@die-schneider.net> References: <20111208115442.57F33FC8@athena.apache.org> <4EE0F3FE.500@die-schneider.net> Date: Thu, 8 Dec 2011 18:44:58 +0100 Message-ID: Subject: Re: [DISCUSS] - Align Camel karaf commands as Karaf is doing From: Guillaume Nodet To: dev@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org That's exactly what I had in mind. On Thu, Dec 8, 2011 at 18:29, Christian Schneider wrote: > Basically this is a good idea to wait. But then it may be best to not cha= nge > the commands at all for 2.9.0 so people have to adapt only once. > > What do you think? > > Christian > > > Am 08.12.2011 16:06, schrieb Guillaume Nodet: > >> +1 >> >> I don't see the need for a change now given that we'll have to change >> again with subshells. >> >> On Thu, Dec 8, 2011 at 12:54, jb@nanthrax.net =A0wrote: >>> >>> Hi Christian, >>> >>> I would wait the subshells and let the commands as it is. >>> >>> My 2 cents ;) >>> Regards >>> JB >>> >>> -- >>> Jean-Baptiste Onofr=E9 >>> jbonofre@apache.org >>> http://blog.nanthrax.net >>> Talend - http://wwx.talend.com >>> >>> ----- Reply message ----- >>> From: "Christian Schneider" >>> To: >>> Subject: [DISCUSS] - Align Camel karaf commands as Karaf is doing >>> Date: Thu, Dec 8, 2011 12:05 pm >>> >>> >>> The number of characters per command is the same. >>> Using tab can save you from typing most characters in both styles. >>> >>> So I think the focus on resources really makes the difference and I >>> think it is more natural to think in resources for humans than in >>> commands. >>> >>> Christian >>> >>> Am 08.12.2011 10:38, schrieb Charles Moulliard: >>>> >>>> Hi, >>>> >>>> I prefer that we keep as command family name a short name. "camel" is >>>> fine but "camel-route" or "camel-context" are too long. Imagine when >>>> operating a project on a platform, the number of characters to be >>>> typed on the keyboard. This has an impact which is not negligible. >>>> >>>> So why not using camel:lisr-routes, camel:list-contexts and their >>>> shortcut clr, clc >>>> >>>> Regards, >>>> >>>> Charles >>>> >>>> >>>> On 08/12/11 09:49, Christian Schneider wrote: >>>>> >>>>> I really like the idea of having camel:route and then simply call >>>>> list or start or stop. >>>>> >>>>> We can even do that without the sub shells already by naming the >>>>> commands slightly different. >>>>> >>>>> Instead >>>>> camel:route-list >>>>> camel:context-list >>>>> >>>>> I propose to have: >>>>> camel-route:list >>>>> camel-context:list >>>>> >>>>> This would be more similar to the later sub shell commands. >>>>> >>>>> Christian >>>>> >>>>> >>>>> Am 05.12.2011 09:54, schrieb James Strachan: >>>>>> >>>>>> On 2 December 2011 15:29, Claus Ibsen =A0 =A0= wrote: >>>>>>> >>>>>>> Hi >>>>>>> >>>>>>> On the Karaf @dev they are talking about changing the naming of the >>>>>>> commands. >>>>>>> >>>>>>> http://karaf.922171.n3.nabble.com/PROPOSAL-New-Karaf-commands-norm-= td3430815.html >>>>>>> >>>>>>> >>>>>>> eg >>>>>>> camel:list-routes =A0--> =A0 =A0camel:route-list >>>>>> >>>>>> Or we could even go with route:list so when there's sub shells we >>>>>> could do >>>>>> >>>>>> shell camel:route >>>>>> list >>>>>> start foo >>>>>> stop bar >>>>>> >>>>>> etc >>>>>> >>>>> >>> >>> -- >>> Christian Schneider >>> http://www.liquid-reality.de >>> >>> Open Source Architect >>> Talend Application Integration Division http://www.talend.com >>> >> >> > > > -- > > Christian Schneider > http://www.liquid-reality.de > > Open Source Architect > Talend Application Integration Division http://www.talend.com > --=20 ------------------------ Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com