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 9A5F3200C89 for ; Sat, 3 Jun 2017 14:24:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8DFB2160BCD; Sat, 3 Jun 2017 12:24:36 +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 D1F32160BBE for ; Sat, 3 Jun 2017 14:24:35 +0200 (CEST) Received: (qmail 3926 invoked by uid 500); 3 Jun 2017 12:24:34 -0000 Mailing-List: contact dev-help@polygene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@polygene.apache.org Delivered-To: mailing list dev@polygene.apache.org Received: (qmail 3915 invoked by uid 99); 3 Jun 2017 12:24:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jun 2017 12:24:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 416E4180314 for ; Sat, 3 Jun 2017 12:24:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.253 X-Spam-Level: ** X-Spam-Status: No, score=2.253 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id gx2gyp7eGrUR for ; Sat, 3 Jun 2017 12:24:32 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 59CBD5F5B3 for ; Sat, 3 Jun 2017 12:24:32 +0000 (UTC) Received: from mfilter15-d.gandi.net (mfilter15-d.gandi.net [217.70.178.143]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 85FC01720A9 for ; Sat, 3 Jun 2017 14:24:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter15-d.gandi.net Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter15-d.gandi.net (mfilter15-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id oQcCkaz4ik9N for ; Sat, 3 Jun 2017 14:24:28 +0200 (CEST) X-Originating-IP: 212.195.187.94 Received: from parangon.local (rab34-h03-212-195-187-94.dsl.sta.abo.bbox.fr [212.195.187.94]) (Authenticated sender: paul@nosphere.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 582B01720B8 for ; Sat, 3 Jun 2017 14:24:27 +0200 (CEST) Message-ID: <5932AA7A.2060605@apache.org> Date: Sat, 03 Jun 2017 14:24:26 +0200 From: Paul Merlin User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@polygene.apache.org Subject: Re: yeoman-work back to develop References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------060101090006040707070009" archived-at: Sat, 03 Jun 2017 12:24:36 -0000 --------------060101090006040707070009 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hey, I took a quick look at the project generator integration tests. First thing, I just tried on a computer where I don't have docker installed and the tests present in generated projects simply fail with a not so obvious error. We should not require docker for a successful build of generated projects. This would mean that the tests should be skiped/ignored if a docker service is not available. We should also not use `latest` tags for docker images otherwise we can't guarantee that the generated projects will work in the future. About Memcached, I noticed that the docker image used is `memcached:latest`. The extension tests (as opposed to tests of generated projects) use the Alpine Linux variant instead, see https://github.com/apache/polygene-java/blob/develop/dependencies.gradle#L281, maybe there's something different here. Lastly, the docker rule for MongoDBEntityStore is missing. Note that the extension tests use an embedded version of MongoDB. I've been quite busy this week. I'll have some time early next week to try to fix stuff and roll a second release candidate for 3.0 if we are ready. Given that the tests take quite a long time to run it's unpleasant to not be able to easily run a single permutation while working on the underlying plumbing. Even the reduced set of tests run by :tools:generator:npmTest takes several minutes. Plus I miss proper test reports with output and involved paths. Moreover, these tests are unfortunately currently disabled on CI. We can look at these problems post 3.0. Cheers /Paul Niclas Hedhman a écrit : > Gang, > I just merged back all the work that has been done on yeoman-work branch. > > I think the build is Ok, the "checkDist" worked ok locally, think I tried > with clean local setup. > > Well, if it doesn't I will deal with it tomorrow, unless someone beats me > to it. > > > The main thing outstanding is that generated testcase is marked @Ignore, > until I can figure out all the remaining Docker starts needed. For > instance, Memchched is used for most tests, and if I start an memcached > server locally, many of the tests works, but with the Docker start that I > am attempting, something is not right. > > Other thing that was fixed was the Configuration bootstrapping, now using > the Module of the ConfigurationComposite for any Deserializer service > needed. > > The stacktrace addition is there as well. > > And probably more that I have forgotten about. For instance, some name > changes to try to stay unified and simplified code generation. > > > All-in-all, I think the code generation facility is a good step towards a > really great way to get started, without the initial struggles that we all > face in the beginning to get structure working. > > > Cheers --------------060101090006040707070009--