PengZheng opened a new pull request, #582:
URL: https://github.com/apache/celix/pull/582

   This PR implements basic support for uncompressed bundle. 
   The approach is fairly straightforward: when installing an uncompressed 
bundle, we create a symbolic link to the uncompressed bundle as the 
`archive->resourceCacheRoot`.
   This way, all existing mechanisms (bundle target, config.properties, etc) 
work as before, provided that the zip bundle is unzipped into the bundle path 
with the same name as the zip file.
   Whether zip/uncompressed form is preferred is left to our user as a 
deployment issue, thus out the scope of this PR.
   
   Though the required modification is minimum, there are several cases worth 
noting:
   
   - Use the last modification time of the bundle archive cache directory 
rather than that of the manifest. These two timestamps are different for 
uncompressed bundle, which leads to unnecessary disk write.
   - Deleting uncompressed bundle unintentionally will lead to dangling links 
in bundle cache, which `celix_utils_deleteDirectory` can not deal with.
   - One goal of uncompressed bundle support is to improve startup speed. 
Unnecessary syncs for async bundle operations are removed.


-- 
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: dev-unsubscr...@celix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to