-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Acceptance criteria
Given a nested file structure in settings/import (e.g. settings/import/roles.xml)
When the module package.tgz is pushed to Jahia
Then it should be interpreted as settings/import.zip
The goal is to be able to have the prepack live in the module, with benefits from a vcs (which you can't have with a big .zip file)
Notes
It's already implemented in Java, developers would expect the same API: the parent configuration automatically zip files in src/main/import to an "import.zip" file
Example:
Jahia/jahia-base-demo-templates@master/src/main/import
We don't have such a logic with JavaScript Modules, there fore it's currently not possible to import permissions, roles, and likely other content.
The goal of this ticket is to define how we want to support that use cases.
Note: This topic might be related to json export/imports and support for prepackaged sites.