Hi Konrad, Are those processor required to operate in the same thread and same session as the import ?
If not, how about leveraging distribution events https://sling.apache.org/documentation/bundles/content-distribution.html#events ? We could raise an extra event before importing content. Regards, Timothee Le lun. 1 févr. 2021 à 17:11, Konrad Windszus <konra...@gmx.de> a écrit : > Hi everyone, > when looking at > https://sling.apache.org/documentation/bundles/content-distribution.html > and https://github.com/apache/sling-org-apache-sling-distribution-core I > couldn't find hooks for preprocessing/postprocessing distribution packages. > Is the only option to to apply some operations before and after the actual > installation to implement a custom distribution package or is there maybe a > more lightweight approach? > > Thanks, > Konrad > > P.S. I know of FileVault Install Hooks ( > http://jackrabbit.apache.org/filevault/installhooks.html) but since those > can only be executed by admin users, they cannot be used in this particular > use case (https://issues.apache.org/jira/browse/JCRVLT-427). > >