Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-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 B6E1B17859 for ; Fri, 17 Oct 2014 12:03:14 +0000 (UTC) Received: (qmail 59817 invoked by uid 500); 17 Oct 2014 12:03:14 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 59740 invoked by uid 500); 17 Oct 2014 12:03:14 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 59724 invoked by uid 99); 17 Oct 2014 12:03:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Oct 2014 12:03:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of clement.escoffier@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Oct 2014 12:03:10 +0000 Received: by mail-wg0-f48.google.com with SMTP id k14so746084wgh.31 for ; Fri, 17 Oct 2014 05:02:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type; bh=APLUoPB8tUaXB2AMxmzUA13reXcfrTUew/8QoeE4JwA=; b=yZY5m5n0Vop2t1F8jgDa2D2yNRTJGNpa8CEM7b+EHinzVFfyCFLvsx6bvhwsYRoyaJ 38gFgaiMN5RltS448zQpGqsviadlyNfUuyHgQXjPas23FMLw6nxMrOTzW3dvcqV5Rgm1 XCseMbyMLBhEE2Qk5GnwoTOuPoojftDucA2qlO9XpGcGzcs3digHA0sLm76vZtXHG44q yFgAp/Dh/e8W4gRZJAQ9QyqNdAUr28Ejg3ir5B9lv2G3bHvyOrgarzicj3gdVkqnRe6M j+BhVLWR//a6Prm0u6JV7p5ocboiFtxRHpqn76DG7fOmmDBjkomiqSOaikrGh5oirU8i BuJQ== X-Received: by 10.180.19.74 with SMTP id c10mr13438931wie.1.1413547369078; Fri, 17 Oct 2014 05:02:49 -0700 (PDT) Received: from mac-escoffier.imag.fr ([2001:660:5301:18:ed90:f097:db3d:71f1]) by mx.google.com with ESMTPSA id fm10sm5407402wib.21.2014.10.17.05.02.45 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 05:02:46 -0700 (PDT) Date: Fri, 17 Oct 2014 14:02:48 +0200 From: Clement Escoffier To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: Re: [DISCUSS] Release gogo runtime 0.14.0 X-Mailer: Airmail (249) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="54410568_3352255a_5268" X-Virus-Checked: Checked by ClamAV on apache.org --54410568_3352255a_5268 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline +1, Regards, Clement On 17 octobre 2014 at 13:26:40, Jamie G. (jamie.goodyear=40gmail.com) wro= te: +1 =20 On Thu, Oct 16, 2014 at 4:40 AM, David Bosschaert =20 wrote: =20 > +1 I like it=21 =20 > =20 > David =20 > =20 > On 15 October 2014 18:19, Achim Nierbeck wr= ote: =20 >> +1 (non binding) =20 >> =20 >> Regards, Achim =20 >> =20 >> sent from mobile device =20 >> Am 15.10.2014 18:57 schrieb =22Jean-Baptiste Onofr=C3=A9=22 : =20 >> =20 >>> +1 for me (non binding) =20 >>> =20 >>> Regards =20 >>> JB =20 >>> =20 >>> =20 >>> -------- Original message -------- =20 >>> =46rom: Guillaume Nodet =20 >>> Date:15/10/2014 18:44 (GMT+01:00) =20 >>> To: dev=40felix.apache.org =20 >>> Cc: =20 >>> Subject: =5BDISCUSS=5D Release gogo runtime 0.14.0 =20 >>> =20 >>> I'd like to release gogo runtime 0.14.0 =20 >>> =20 >>> ** Bug =20 >>> * =5B=46ELIX-4637=5D - Gogo can't cope without several commands with = defined =20 >>> service.ranking =20 >>> =20 >>> ** New =46eature =20 >>> * =5B=46ELIX-4671=5D - Provide an expression parser =20 >>> =20 >>> The first issue is when you end up with several functions with the sa= me =20 >>> scope/name registered at the same time. Gogo now tracks them properly= and =20 >>> use service ranking to choose the one to execute. =20 >>> =20 >>> The second one provides an expression parser activate by (( xxx )) in= which =20 >>> arithmetic operators, assignments, comparisons (numeric or string) ca= n be =20 >>> done easily. =20 >>> A few raw examples are provided in the test below: =20 >>> =20 >>> https://github.com/apache/felix/blob/051a3ee00b2df87ba787056e5423bdea= 9f95b17d/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/expr/Ex= pressionTest.java =20 >>> =20 >>> Coupled with a while loop command taking 2 closures as arguments, one= could =20 >>> now execute the following: =20 >>> =20 >>> karaf=40root()> a =3D 0 ; while =7B ((a < 10)) =7D =7B echo =24a ; ((= a +=3D 1)) =7D =20 >>> =20 >>> =20 >>> Note that I haven't provided support for ++ and -- operators, but tha= t =20 >>> could be added later. The +=3D and -=3D operators can be used as a wo= rkaround. =20 >>> =20 >>> Please have a look and try it, I'd like to release it asap. =20 >>> =20 >>> Cheers, =20 >>> Guillaume Nodet =20 >>> =20 --54410568_3352255a_5268--