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 A450C200CEC for ; Mon, 21 Aug 2017 10:29:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A2CCB16454B; Mon, 21 Aug 2017 08:29:08 +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 E7B32164531 for ; Mon, 21 Aug 2017 10:29:07 +0200 (CEST) Received: (qmail 20322 invoked by uid 500); 21 Aug 2017 08:29:05 -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 20310 invoked by uid 99); 21 Aug 2017 08:29:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2017 08:29:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 938EBC22B0 for ; Mon, 21 Aug 2017 08:29:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 7-8TxM0yCw1K for ; Mon, 21 Aug 2017 08:29:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4110F5FB7F for ; Mon, 21 Aug 2017 08:29:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D5DFFE0E8C for ; Mon, 21 Aug 2017 08:29:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D794F2538F for ; Mon, 21 Aug 2017 08:29:00 +0000 (UTC) Date: Mon, 21 Aug 2017 08:29:00 +0000 (UTC) From: "Timothee Maret (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SLING-7066) Support mixins in repoinit "create path" statements MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 21 Aug 2017 08:29:08 -0000 [ https://issues.apache.org/jira/browse/SLING-7066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothee Maret reassigned SLING-7066: ------------------------------------- Assignee: Timothee Maret > Support mixins in repoinit "create path" statements > --------------------------------------------------- > > Key: SLING-7066 > URL: https://issues.apache.org/jira/browse/SLING-7066 > Project: Sling > Issue Type: New Feature > Components: Repoinit > Reporter: Bertrand Delacretaz > Assignee: Timothee Maret > Priority: Minor > > The repoinit "create path" statement currently supports nodetypes but no mixins, we should add support for them. > The current create path syntax is like > {code} > create path (sling:Folder) /var/discovery(nt:unstructured)/somefolder > create path /one/two/three > create path /three/four(nt:folk)/five(nt:jazz)/six > {code} > Where the first bracketed statement, before the path, is the default nodetype for all subpaths, and each subpath can have a specific nodetype. > To add mixin support I suggest the syntax of these examples for these bracketed statements: > {code} > (sling:Folder mixin mix:A, mix:B) > (nt:unstructured mixin mix:C) > (mixin mix:A) > (mixin mix:A, mix:B) > {code} > The last two forms without a nodeteype meaning "set mixins only but keep the default nodetype", which in this example > {code} > create path (sling:Folder) /var/foo(mixin mix:B) > {code} > means /var/foo is of type sling:Folder with mixin mix:B > whereas in this example > {code} > create /var/bar(mixin mix:C) > {code} > /var/bar uses the default type defined by /var's type, with mix:C added. -- This message was sent by Atlassian JIRA (v6.4.14#64029)