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 78242200C8A for ; Sun, 4 Jun 2017 11:09:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 76F98160BE0; Sun, 4 Jun 2017 09:09:33 +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 BDE38160BB7 for ; Sun, 4 Jun 2017 11:09:32 +0200 (CEST) Received: (qmail 88641 invoked by uid 500); 4 Jun 2017 09:09:30 -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 88630 invoked by uid 99); 4 Jun 2017 09:09:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2017 09:09:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 97DD5C05AA for ; Sun, 4 Jun 2017 09:09:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.524 X-Spam-Level: X-Spam-Status: No, score=-2.524 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.796, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Ym4RKrqOHKq3 for ; Sun, 4 Jun 2017 09:09:28 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 096DB5FB71 for ; Sun, 4 Jun 2017 09:09:28 +0000 (UTC) Received: from mfilter12-d.gandi.net (mfilter12-d.gandi.net [217.70.178.129]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 195A041C07D for ; Sun, 4 Jun 2017 11:09:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter12-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter12-d.gandi.net (mfilter12-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 7ssGbR55S7_B for ; Sun, 4 Jun 2017 11:09:22 +0200 (CEST) X-Originating-IP: 10.58.1.149 Received: from webmail.gandi.net (webmail9-d.mgt.gandi.net [10.58.1.149]) (Authenticated sender: paul@nosphere.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPA id 95F5F41C09F for ; Sun, 4 Jun 2017 11:09:22 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sun, 04 Jun 2017 11:09:22 +0200 From: Paul Merlin To: dev@polygene.apache.org Subject: Re: yeoman-work back to develop In-Reply-To: References: <5932AA7A.2060605@apache.org> Message-ID: X-Sender: paulmerlin@apache.org User-Agent: Roundcube Webmail/1.1.2 archived-at: Sun, 04 Jun 2017 09:09:33 -0000 Le 2017-06-04 02:54, Niclas Hedhman a écrit : > As for Docker; > > Don't forget that this is code generation and it is EXPECTED that > people > tailor it to their needs. I chose ":latest" so that we don't have to > constantly maintain the version as those dependencies are likely to > upgrade > faster than we do. It is not important whether the generated project > will > break long-term for using ":latest". `:latest` could eventually start breaking the day after we release 3.0. We do already have the list of qualified docker images in a central place. It's like any other dependency. "maintaining" boils down to not repeat ourselves. BTW, it's the same with java dependencies that are also already duplicated in the templates. We should reuse those defined in ~/dependencies.gradle at some point. That can be post 3.0. > Docker being present is a similar thing. If you don't want Docker, kill > the > DockerRule and change to connect to the external system available > through > other means. > > I think the main point is; We don't need to tailor for all possible > situations, as generated code is not 'final' in any shape, way or form. > But > perhaps the generator should "check for Docker" and don't generate a > Dockerrule and disable the test if it is not present. Well, I get your point but I strongly think that the generated projects should not be broken. They are if they fail to build/run. And users will think the same way I suppose. The generated projects are just scaffoldings yes, but getting started with a broken build (as in not building/running) will confuse users and produce noise.