Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 67155200D4F for ; Wed, 22 Nov 2017 05:00:23 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 658BF160C0E; Wed, 22 Nov 2017 04:00:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 85142160BFC for ; Wed, 22 Nov 2017 05:00:22 +0100 (CET) Received: (qmail 81821 invoked by uid 500); 22 Nov 2017 04:00:21 -0000 Mailing-List: contact dev-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list dev@openwhisk.apache.org Received: (qmail 81804 invoked by uid 99); 22 Nov 2017 04:00:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Nov 2017 04:00:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 24D671A038C for ; Wed, 22 Nov 2017 04:00:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.129 X-Spam-Level: ** X-Spam-Status: No, score=2.129 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id JRJwmyZEeLGs for ; Wed, 22 Nov 2017 04:00:17 +0000 (UTC) Received: from mail-ua0-f180.google.com (mail-ua0-f180.google.com [209.85.217.180]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 116E15FD33 for ; Wed, 22 Nov 2017 04:00:17 +0000 (UTC) Received: by mail-ua0-f180.google.com with SMTP id j14so9735605uag.11 for ; Tue, 21 Nov 2017 20:00:17 -0800 (PST) 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; bh=Y6g6t4WPf0CxensweDn2CFb0ns3LlMg7QWr2jBuXW2o=; b=fGMsPWUdR3qNTQqcpfQayen+VqsLivumdh2e9dpZLvt//MUopEDrGN1o/ZHX2ITUGu wtfWPbZheM9J5V8bZzUl3t3uu2rJN//ZcV0pVDbBOsBAS2vwiPpIwNyVVP2Lhv+jeUd0 cPjce+8mzdxRzysuZyndDEmrYQbOPAlEIGr6mnXxpuZ1sd1yIXpX+GkgIW6SSr7g0hhd 1g5lNRxDb5DRSIE5wpupvTKxG7JUsvPtJe7LDjiJc1NZL4yE69TJvxmEiQKsKTEdzPfW wh2OiuAdPwxOc2loCzr9MBPM4+gYp6hT+pQHnMIc6/0JSrgJEpQ14MbSy6fwY9FqJgwf xYMA== 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; bh=Y6g6t4WPf0CxensweDn2CFb0ns3LlMg7QWr2jBuXW2o=; b=TJ7m1D0WyStYhnquoTT13skHW1hQ0NpZ6FQLKWFzpFK4/ONOZ5DiHLRX1UhDPeGVbE AiZPEUIxUp8Rvaopx0+ltBDZ/Fq2OMGikE5jUG+kgoo4GdG0u+breIeXZdDUfrI+Hsnu o0dJdDZTrNN6kwxFssTcS4F+tcMb8QaS/Itn7UcM1VRs9C3kY7lD2XrlBCmtlofH3trF YC0JGey8K0CW1ODYG4Jp65cEdUVYz5+u0Uhjz7bG1YP1BVhryLisJYkPOu4Cb6JhXzEA HyqfQJ9P5jOiK9phlKa5pu6lNJx8+0QnWbNEGiN732CeQw12DkX+05xWnLfC6r/ydmie t0gA== X-Gm-Message-State: AJaThX6yw04GUcPzB0RmvZFvgn7wPkV/qQOq8hSSrcTMV9dKUKFGY29P 8X2LJTyQAZ7d2yyAK7ulQzVlUA0MQ8wlvTB0j1M= X-Google-Smtp-Source: AGs4zMaf+oylmLlOkG1uoMsGBc/bsRBCOi7ud384Uvmk5xyZJSMhPF5FM+bM3oQsuYmLrqLyejVyc5sX1aJSFOmLdzc= X-Received: by 10.176.4.16 with SMTP id 16mr17395493uav.161.1511323216428; Tue, 21 Nov 2017 20:00:16 -0800 (PST) MIME-Version: 1.0 References: <0900B1C6-1DE9-4B6F-ACF2-DB8EC524D78D@ge.com> In-Reply-To: From: Carlos Santana Date: Wed, 22 Nov 2017 04:00:05 +0000 Message-ID: Subject: Re: OpenWhisk CLI separation from openwhisk repo: status and help To: dev@openwhisk.apache.org Content-Type: multipart/alternative; boundary="001a114d881874c61e055e8a5b60" archived-at: Wed, 22 Nov 2017 04:00:23 -0000 --001a114d881874c61e055e8a5b60 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable As promised the go CLI source code and all issues have being moved to the openwhisk-cli repo https://github.com/apache/incubator-openwhisk-cl i Main repo: merged https://github.com/apache/incubator-openwhisk/pull/2979 Dependencies: merged https://github.com/apache/incubator-openwhisk-runtime-swift/pull/7 merged https://github.com/apache/incubator-openwhisk-runtime-nodejs/pull/12 merged https://github.com/apache/incubator-openwhisk-runtime-java/pull/4 merged https://github.com/apache/incubator-openwhisk-runtime-python/pull/2 merged https://github.com/apache/incubator-openwhisk-runtime-docker/pull/1 merged https://github.com/apache/incubator-openwhisk-runtime-php/pull/1 merged https://github.com/apache/incubator-openwhisk-apigateway/pull/263 CLI issue tracker: https://github.com/apache/incubator-openwhisk-cli/issues Now the fun part, if you or know a friend that knows goLang or want to learn goLang we have 51 open issues for the CLI !!! We need help, send them to the issue tracker. One thing we would do is that for new code, bug fixes, that the test cases are written in goLang instead of Scala. And of course if you want to port some scala tests to goLang I know some go guys would have a smile. Thanks again Vincent for the work on getting this done. --Carlos On Fri, Nov 17, 2017 at 2:58 PM Carlos Santana wrote= : > > Dear OpenWhiskers > > Want to first congratulate on Vincent on taking on the this major task on > separating the CLI from the openwhisk core repo, which required many > changes and a test framework based on REST API to replace the test cases > that were using the CLI. > > During the last 5 months Vincent have also being manually syncing the CLI > code and related scala tests cases to the openwhiks-cli [1] and the > openwhisk-client-go [2] repositories. > > Now what's left is to remove the CLI source code from the main repo, > Vincent have open PR #29179 [3], and I will merge the PR by silent > consensus if there are no objections in 72 hours, we'll merge the PR #297= 9. > > After the merge I will start moving the CLI open issues from the core rep= o > to the openwhisk-cli repo [1]. > > We are also updating the runtimes and apigateway repos to adjust to the > change. > > [1] https://github.com/apache/incubator-openwhisk-cli > [2] https://github.com/apache/incubator-openwhisk-client-go > [3] https://github.com/apache/incubator-openwhisk/pull/2979 > > > On Fri, Jun 30, 2017 at 7:29 PM Carlos Santana > wrote: > >> This is great progress on CLI, Vincent >> >> It's very important to do it in this way to keep quality on both backend >> API and CLI >> >> It's going be a bit annoying to keep duplicates code and tests between >> repos >> >> But it's key to have tests on the REST API independent of the client >> side, we have a few client side libraries for the API golang, JavaScript= , >> python, etc. >> >> We need the help from folks on best practices and implementation for the >> two go packages base library and CLI/cobra >> >> -- Carlos >> >> On Wed, Jun 28, 2017 at 10:58 PM David ZL Liu >> wrote: >> >>> Hi Vincent, >>> >>> Very great job you have done, amazing! >>> >>> yes, please count me one and don't hesitate to assign me issues to >>> investigate if you think I can help. It's my pleasure. >>> >>> >>> Kind Regards, >>> dliu >>> >>> >>> >>> >>> From: "Vincent S Hou" >>> To: dev@openwhisk.apache.org >>> Date: 2017-06-28 =E4=B8=8A=E5=8D=88 02:20 >>> Subject: OpenWhisk CLI separation from openwhisk repo: status an= d >>> help >>> >>> >>> >>> >>> Hi openwhiskers, >>> >>> OpenWhisk CLI is currently on the stage to separate from the main >>> openwhisk >>> repo for better modularity. We have already established two new >>> repositories >>> to respectively host the the Go client code and the Go CLI code: >>> >>> OpenWhisk Client Go: >>> https://github.com/apache/incubator-openwhisk-client-go, originating >>> from OpenWhisk Go Whisk( >>> >>> >>> https://github.com/apache/incubator-openwhisk/tree/master/tools/cli/go-= whisk >>> >>> ) >>> OpenWhisk CLI: https://github.com/apache/incubator-openwhisk-cli, >>> originating from OpenWhisk Go Whisk CLI( >>> >>> >>> https://github.com/apache/incubator-openwhisk/tree/master/tools/cli/go-= whisk-cli >>> >>> ) >>> >>> Current status: >>> All the source code has been copied and adjusted in the new repos. Scal= a >>> tests related to CLI have been moved into cli repo. Travis CIs for both >>> repos are running >>> the test cases in Scala to make sure the code works. The source code of >>> each repo has already synchronized with openwhisk repo, and is able to = do >>> further sync-up. However, there is no integration test in openwhisk >>> client >>> go, and only a few integration tests implemented in Go for openwhisk cl= i. >>> >>> Most urgent work items to do next: >>> >>> OpenWhisk Client Go: Unit tests for all the Go files, and Integratio= n >>> tests against openwhisk service in Go. >>> Issues opened: >>> https://github.com/apache/incubator-openwhisk-client-go/issues/17, >>> https://github.com/apache/incubator-openwhisk-client-go/issues/14 >>> >>> OpenWhisk Cli: Integration tests against openwhisk service in Go. >>> (Unit >>> tests remain to be discussed, since this repo is implemented in cobr= a >>> package and calls openwhisk client go.) >>> Issues opened: >>> https://github.com/apache/incubator-openwhisk-cli/issues/17 >>> >>> OpenWhisk: We need to reimplement the Scala tests by calling the RES= T >>> APIs instead of calling the binaries, which means the basic Wsk clas= s >>> needs to be rewritten: >>> >>> https://github.com/apache/incubator-openwhisk/blob/master/tests/src/tes= t/scala/common/Wsk.scala >>> >>> , and invoked by all the other tests when accessing the openwhisk >>> services. >>> The current Wsk.scala is calling the CLI binary, and we need to call th= e >>> rest api to order to departure the CLI. >>> Issues opened: >>> https://github.com/apache/incubator-openwhisk/issues/2430 >>> >>> We are moving forward in this direction now. Anyone interested in the >>> contribution to this piece of work? Welcome to reach out to me. >>> >>> >>> Best wishes. >>> Vincent Hou >>> >>> >>> >>> >>> --001a114d881874c61e055e8a5b60--