You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "rombert (via GitHub)" <gi...@apache.org> on 2025/05/06 15:10:51 UTC

Re: [PR] SLING-12774 - Content feature launcher extension should reinstall SNAPSHOT content packages [sling-org-apache-sling-feature-extension-content]

rombert commented on PR #25:
URL: https://github.com/apache/sling-org-apache-sling-feature-extension-content/pull/25#issuecomment-2854928318

   Thinking about it some more, I think this needs to be behind a launch option. The reason is that we have two classes of applications:
   - immutable, that generate the repository once by installing the packages and keep around the registry metadata so it's available for inspection
   - mutable, that generate the repository on each startup and can potentially reprocess the SNAPSHOT packages
   
   I will update the PR to configure SNAPSHOT reinstall  to be configurable, defaulting to false. https://github.com/apache/sling-org-apache-sling-jcr-packageinit/pull/11 will need to be updated in a similar manner, with the `ExecutionPlanRepoInitializer` being configured to skip caching for snapshots by the extension.


-- 
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-unsubscribe@sling.apache.org

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