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 DD191200BC7 for ; Fri, 25 Nov 2016 12:51:24 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DBAF5160B01; Fri, 25 Nov 2016 11:51:24 +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 2D776160AF6 for ; Fri, 25 Nov 2016 12:51:24 +0100 (CET) Received: (qmail 96504 invoked by uid 500); 25 Nov 2016 11:51:23 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 96492 invoked by uid 99); 25 Nov 2016 11:51:22 -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; Fri, 25 Nov 2016 11:51:22 +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 1BFD8C0333 for ; Fri, 25 Nov 2016 11:51:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.899 X-Spam-Level: ** X-Spam-Status: No, score=2.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LIVE=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=codecentric.de Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id I0aKk1LgLvzX for ; Fri, 25 Nov 2016 11:51:18 +0000 (UTC) Received: from mail-ua0-f176.google.com (mail-ua0-f176.google.com [209.85.217.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id EF5445F4A9 for ; Fri, 25 Nov 2016 11:51:17 +0000 (UTC) Received: by mail-ua0-f176.google.com with SMTP id b35so74745826uaa.3 for ; Fri, 25 Nov 2016 03:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codecentric.de; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=eWE6omprs6bKhWXsLwf6ZL6W4mefDHPy3/fOo10hbCo=; b=izmcaxRW4guecihG9ZSrNHBXfqsv9n+0amyj6t069Gh5my3SAOgXQvweg7pYqImdBI x90/Jz7FD5z1a49e2jY8OU4NPO61VH+rbimwT9N8Gi1yRTDkS4lHvqpHe42AXeqUghg7 YU9d2DyZNc+ge5awHXouMSrQQBL4vyjTzZ68E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=eWE6omprs6bKhWXsLwf6ZL6W4mefDHPy3/fOo10hbCo=; b=mD88Ft54F44tXOKwUZekvubk0SzugWWMdYFc5go6fLPUO6WoEqdPrHxLcnxW6+PnU2 Zob5xYi3QCHVuxNw1vex1tnLucXOwDfIdH6xexjo72xK97RYnQ24B7xf/ma+Rt2HwOrn dwJoYS+pkDnES6KxeQpA2qvxjmXQvfgNm2Bv4ZHPVZX+90y8H2fLPgGgUX0dvarl/pAW ARFpAXd5/LovUEBRaYSWeM8sIcB4Fjt7nNPgWSb/eCR3Uk+1wtwMXvLsm5/RRPrauZEW oLV9SPVGv6bVz+FCbIYWSpkI2CuijcKp3+yKUE5V/A4ymhP3pRgtPCWZPDitfYAeX4Xu 05ag== X-Gm-Message-State: AKaTC03OQcMwcgNJJWmCbZstxn6EJSNqC4UcAEFEUdrwrWgKcVRI1QkJ2PpXAKgWGM/+kM0ipIinKtHFtZ32LoIA X-Received: by 10.159.34.42 with SMTP id 39mr5539753uad.84.1480074610052; Fri, 25 Nov 2016 03:50:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.85.148 with HTTP; Fri, 25 Nov 2016 03:50:09 -0800 (PST) In-Reply-To: References: From: Fabian Lange Date: Fri, 25 Nov 2016 12:50:09 +0100 Message-ID: Subject: Re: [DISCUSS] Trim down the number of config files in etc/ in the distributions To: dev@karaf.apache.org Content-Type: multipart/alternative; boundary=001a113d01e25fa66105421eb95a archived-at: Fri, 25 Nov 2016 11:51:25 -0000 --001a113d01e25fa66105421eb95a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Guillaume, We are building a distribution, and we modify these files: -rw-r--r-- 1 fabian staff 0 Sep 6 16:13 blacklisted.properties -rw-r--r-- 1 fabian staff 977 Dec 11 2015 branding.properties -rw-r--r-- 1 fabian staff 2414 Oct 28 17:35 custom.properties -rw-r--r-- 1 fabian staff 2867 Nov 11 14:10 org.apache.karaf.features.cfg -rw-r--r--@ 1 fabian staff 1935 Dec 21 2015 org.apache.karaf.log.cfg -rw-r--r-- 1 fabian staff 3317 Dec 11 2015 org.apache.karaf.shell.cfg -rw-r--r-- 1 fabian staff 2818 Nov 21 08:08 org.ops4j.pax.logging.cfg -rw-r--r--@ 1 fabian staff 3889 Oct 6 09:07 org.ops4j.pax.url.mvn.cfg -rw-r--r-- 1 fabian staff 0 Sep 6 16:13 overrides.properties -rw-r--r--@ 1 fabian staff 5430 Oct 5 10:02 system.properties -rw-r--r-- 1 fabian staff 1701 Apr 2 2016 users.properties the 0 byte properties are just to avoid the file not found exception And we have the following excludes bin/** deploy/README system/README lib/**/README etc/org.apache.karaf.jaas.cfg etc/org.apache.karaf.management.cfg etc/org.apache.karaf.features.repos.cfg etc/org.apache.karaf.command.acl* etc/jmx.acl* I am very much in favor of removing the files. The only issue i see is that I was able to modify above files, because I saw them being present. Fabian -- Fabian Lange | Performance Expert mobil: +49 (0) 160.3673393 codecentric AG | Merscheider Stra=C3=9Fe 1 | 42699 Solingen | Deutschland Sitz der Gesellschaft: Solingen | HRB 25917| Amtsgericht Wuppertal Vorstand: Michael Hochg=C3=BCrtel . Mirko Novakovic . Rainer Vehns Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Klaus J=C3=A4ger . J=C3=BCr= gen Sch=C3=BCtz On Fri, Nov 25, 2016 at 8:19 AM, Guillaume Nodet wrote: > I'd like to trim down a bit the number of files in the etc/ directory. > The distribution contains a bunch of config files for the ACLs, but I'm n= ot > sure people usually modify those. I think this may be the same for vario= us > configuration. > What I'm proposing is the following: > * make sure all those configurations are moved into their respective > feature > * remove them from the assemblies/base maven module which is embedded b= y > the framework and static kars > * add a flag on the AssemblyMojo so that we can choose using glob > patterns which config pids should be extracted as files at build time > * the other ones are extracted automatically by the FeaturesService > anyway during boot features installation > > The idea would be that distributions only contains configurations that ar= e > actually used. > > Also, I'm going to removing some additional files from the static framewo= rk > (bin/contrib/, bin/instance(.sh|.bat), deploy/). > > Thoughts ? > Guillaume > > > -- > ------------------------ > Guillaume Nodet > ------------------------ > Red Hat, Open Source Integration > > Email: gnodet@redhat.com > Web: http://fusesource.com > Blog: http://gnodet.blogspot.com/ > --001a113d01e25fa66105421eb95a--