Netcentric / vault-upgrade-hook

Jackrabbit FileVault Install Hook to perform additional actions during package installation
Eclipse Public License 1.0
19 stars 13 forks source link

Make vault-upgrade-hook compatible to AEMaaCS #45

Open ghenzler opened 4 years ago

ghenzler commented 4 years ago

Since the package install hook event is not working for this use case, a content marker will have to be used (similar to what the implementation in https://github.com/Netcentric/accesscontroltool/issues/405 does)

kwin commented 4 years ago

Which event is not working? We are talking here about mutable parts of the repository which are touched/upgraded/migrated only once. Obviously this package should be installed only when the right content is mounted in the AEM instance.

tommix1987 commented 3 years ago

Correct me if Im wrong but basically if we deploy this alongside a package containing mutable content we should be good to run groovies on mutable content just fine (obviously you should not try to modify /apps with a groovy script)

kwin commented 3 years ago

@tommix1987 The problem is that install hooks on mutable content packages are not supported (details in https://github.com/Netcentric/aem-cloud-validator#prevent-using-install-hooks-in-mutable-content-packages). Also the Groovy Console is currently not compatible with AEMaaCS either (https://github.com/CID15/aem-groovy-console/issues/1