From dev-return-94292-archive-asf-public=cust-asf.ponee.io@sling.apache.org Mon Dec 10 16:14:31 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7E256180627 for ; Mon, 10 Dec 2018 16:14:30 +0100 (CET) Received: (qmail 36016 invoked by uid 500); 10 Dec 2018 15:14:29 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 36004 invoked by uid 99); 10 Dec 2018 15:14:28 -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; Mon, 10 Dec 2018 15:14:28 +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 715F6C1D05 for ; Mon, 10 Dec 2018 15:14:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.797 X-Spam-Level: * X-Spam-Status: No, score=1.797 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 RocysG1YYROI for ; Mon, 10 Dec 2018 15:14:27 +0000 (UTC) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 90FBE5F2A9 for ; Mon, 10 Dec 2018 15:14:26 +0000 (UTC) Received: by mail-wm1-f54.google.com with SMTP id n190so11380395wmd.0 for ; Mon, 10 Dec 2018 07:14:26 -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=G9GYZ8Oznnr5aUz/4wDCzVrS78mt18zcNVlJ2IbFvoE=; b=CprrYqJlHiCE2eBnyuMLm2YP+Y/8VO3AiIPGHYHZsqafEbgEqR27SVPXLMDyoSLnkE gou+kpADX7DbkDqzlRN5eOuCcb/uwCEJtck32XrUpVYo2NS170c4oHsrNceOqG2Nfe8u 7s73kFkaxxNityTXX1WoMwUtCcr+PR0IYW1J/fqlXmj4nF5w7AmHrAEzn7MLuccAeo85 uyqCJ8PXxTFl8HBhmSNJekgPmBkx1QpSjoQSdIfQvv6HnxZ/ypDdZjbAQ2XipzSWaR0E PXKOU5u2QJppNxfL9uotwmcF3FQKDOjrruhOfdzDZzSkQY0mT8X3V095CpDBM51IMmkZ Uo1Q== 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=G9GYZ8Oznnr5aUz/4wDCzVrS78mt18zcNVlJ2IbFvoE=; b=JBZXzZTyz+4uXqINZ1L1b4Mm3f/zZN4K6FkVzYMqowJ4atmH/yAYHnsLL76nuGbfsl JWE3s+0Sjdwo0ZoxUV4E7f4cjkEXn0i6VmkeekhuXSiWZdgwKFzQN790GvI0rV7EqnIt 6mLLxiqX20fQVMvtk6eWbDZ7qWg3iBM7qO4e866Y6AlPf45ylJDJRh9+IbLDn+pxM4RA eejfshlSGNdmK16v4LLDTkL+SRxiEcgQppBOjutWrwDBZGcgZwU1Pce2c1HAfSD6pkzS XgoHkfwVupHO/fElHYzIB3RHsTcYBRzi6NwHjaSNm0AZDmeehzEo7YPuUYr5MYnKIUXR CJRw== X-Gm-Message-State: AA+aEWZmdKuyfFNPxIoDmso/sNsd6F/mEDeYqs0w8J9W2QcR9N1z6hj9 22/eEOS9PomXQ+VWW4OtJBFo42xWTVSDKliLgnEAXYd3 X-Google-Smtp-Source: AFSGD/XFuyNoBp/fXL1pM3f/GNaKumROuKaSsUCuRwAC3wE2FeO4nyGDHim/aGDqS2d6SVOrKAtxzb4phz79++NvKM4= X-Received: by 2002:a1c:8791:: with SMTP id j139mr10570715wmd.86.1544454865902; Mon, 10 Dec 2018 07:14:25 -0800 (PST) MIME-Version: 1.0 References: <4fc988d4bdff2b6d49149a474542251dbba31bbc.camel@apache.org> <844463ab755549f28a3205e2f2685417f0fdf00a.camel@apache.org> <1791eb80f47855110805b72de38bf7d1b56771c7.camel@apache.org> In-Reply-To: <1791eb80f47855110805b72de38bf7d1b56771c7.camel@apache.org> From: David Bosschaert Date: Mon, 10 Dec 2018 15:14:14 +0000 Message-ID: Subject: Re: [feature-model] Removing features after installation To: dev@sling.apache.org Content-Type: multipart/alternative; boundary="000000000000a760e0057cac6b2a" --000000000000a760e0057cac6b2a Content-Type: text/plain; charset="UTF-8" On Mon, 10 Dec 2018 at 14:31, Robert Munteanu wrote: > On Mon, 2018-12-10 at 15:15 +0100, Karl Pauls wrote: > > ... > > > > Would that cause trouble in your case? I tend to think that it > > > > would > > > > help people move to a devops mindset, where Sling instances are > > > > throwaway. > > ... > > > But yes, I guess this is a valid reply, just drop everything ( > > > except > > > persisted state ) and start over. > > > > Yeah, fwiw, that was the underlying idea - there are no restarts > > anymore. I guess we might want to consider emphasising this by making > > it the default to clear the cache on restarts so that you always > > start > > from a clean state. > > That could work, and we should consider if this should be the default > or behind a feature flag. The reason for not making it the default is > that people might mess around with their setup, e.g. create configs, > stop bundles, and if the changes are not persisted between restarts it > will be confusing and unpleasant. > AFAIK you need to delete the 'launcher' cache directory yourself to get a clean sheet. I think it would make sense to do this via a command line option. Best, David --000000000000a760e0057cac6b2a--