[
https://issues.apache.org/jira/browse/SLING-11571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603232#comment-17603232
]
Eric Norman commented on SLING-11571:
-------------------------------------
jcr-repoinit - Pull Request #38 contains improvements to the tests based on
feedback from a review by [~bdelacretaz]
> repoinit: allow add or remove mixin types
> -----------------------------------------
>
> Key: SLING-11571
> URL: https://issues.apache.org/jira/browse/SLING-11571
> Project: Sling
> Issue Type: New Feature
> Components: Repoinit
> Reporter: Eric Norman
> Assignee: Eric Norman
> Priority: Major
> Fix For: Repoinit Parser 1.7.2, Repoinit JCR 1.1.42, Feature
> Model Analyser 1.6.8, slingfeature-maven-plugin 1.6.8
>
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> The use case here is for a node that is created by a base feature. Other
> (optional) features could add a mixin to the existing node later if they are
> also included in the distribution.
> The proposed syntax would be:
> {code:java}
> add mixin mix:one to /thePath1
> add mixin mix:one,mix:two to /thePath1,/thePath2
> remove mixin mix:one from /thePath1
> remove mixin mix:one,mix:two from /thePath1,/thePath2
> {code}
> If the specified paths do not exist, a warning is logged and nothing is
> changed. Otherwise, the mixin is added (or removed) from those paths.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)