[ 
https://issues.apache.org/jira/browse/SLING-10205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17299337#comment-17299337
 ] 

Carsten Ziegeler commented on SLING-10205:
------------------------------------------

There are different things here:
* Should the converter try to preserve as much as possible? Yes
* Should this in general include install hooks? Yes
* Are install hooks suppored by AEM as a Cloud Service? Such questions are a 
little bit out of scope here, but as the converter is used in these scenarios 
it makes sense to talk about it. Hooks for immutable content are not supported, 
hooks for mutable content are indeed supported. The user context in which these 
are executed seems to be a totally orthogonal question which should be raised 
elsewhere
* If hooks are not preserved today, then it makes sense to have an option to 
preserve them for use cases where hooks should be preserved

> Support converting packages with custom properties and install hooks
> --------------------------------------------------------------------
>
>                 Key: SLING-10205
>                 URL: https://issues.apache.org/jira/browse/SLING-10205
>             Project: Sling
>          Issue Type: Improvement
>          Components: Feature Model
>    Affects Versions: Content-Package to Feature Model Converter 1.0.24
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Currently only specific properties are being transferred to the converted 
> package: 
> https://github.com/apache/sling-org-apache-sling-feature-cpconverter/blob/acf8c533590b9a081d64ca8e4787bed600f36386/src/main/java/org/apache/sling/feature/cpconverter/vltpkg/VaultPackageAssembler.java#L93.
>  That e.g. prevents usage of [external install 
> hooks|http://jackrabbit.apache.org/filevault/installhooks.html]
> Also no [internal install 
> hooks|http://jackrabbit.apache.org/filevault/installhooks.html] below 
> {{META-INF/vault/hooks}} are being copied to the converted package.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to