[
https://issues.apache.org/jira/browse/SLING-11571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17602768#comment-17602768
]
Eric Norman commented on SLING-11571:
-------------------------------------
Merged Pull Request #39 at:
[{{f67baea}}|https://github.com/apache/sling-org-apache-sling-feature-analyser/commit/f67baea7c31f035d3dffbf6683963b2396f693a7]
> 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: 1h 40m
> 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)