How to prevent overwriting edited content models when bulk importing models?

Whe have an application that contains cms data besides other models (document models, form models, overiew models, application models, relationship models). The project is based on project template and deployment template.

The content models are supposed to be an initial starting point but should be edited over time. This means that initially we need to import all models. But in subsequent updates of the application we want to skip content models that already exist. But we want to import other types of models that were updated due to busines logic changes (document models for example).

By using configuration property mgmtp.a12.dataservices.initialization.import.models.path we can easily skip the import of all cms models. But this means no newly setup test environments won’t have the content models imported and therefore are not working as expected. And also newly added content models won’t be added to existing deployments as well.

How must the init be configured to skip the import of already existing content models?

There is a configuration option to specify which model types can be overwritten during bulk import. See Model Overwriting Configuration on getA12.

In my case the following needs to be used:

mgmtp.a12.dataservices.initialization.import.models.overwrite.models.content=false

Note that the linked documentation currently specifies the configuration property to be named
mgmtp.a12.dataservices.import.models.model-overwrite.my-custom-model-type=false which doesn’t work for me.

Yes, that the mgmtp.a12.dataservices.initialization.import.models.overwrite.models should be used, unfortunately the provided example in documentation is no longer valid. It will be fixed.