danilobanjac opened a new pull request, #117:
URL: 
https://github.com/apache/sling-org-apache-sling-distribution-journal/pull/117

   ### Title
   Add option to overwrite primary node types of folders during extraction
   
   ### Description
   This commit introduces a new feature that allows users to decide whether the 
primary node types of folders should be overwritten during content package 
extraction. By default, this option is set to `true`.
   
   Changes include:
   
   1. Add a new parameter `extractorOverwriteFolderPrimaryTypes` to the 
`BookKeeperConfig` class and update its constructor and `toString()` method.
   
   2. Pass the new parameter to the `ContentPackageExtractor` class in the 
`BookKeeperFactory`.
   
   3. Update the `ContentPackageExtractor` class to accept the new parameter 
and use it while setting the `overwritePrimaryTypesOfFolders` option in the 
`installPackage()` method.
   
   4. Pass the new parameter to the `BookKeeperConfig` constructor in the 
`DistributionSubscriber` class.
   
   5. Add a new attribute 
`contentPackageExtractor_overwritePrimaryTypesOfFolders` with a default value 
of `true` in the `SubscriberConfiguration` interface.
   
   6. Modify the tests in `BookKeeperTest` and `ContentPackageExtractorTest` to 
accommodate the changes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to