[ 
https://issues.apache.org/jira/browse/SLING-9172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060961#comment-17060961
 ] 

Bertrand Delacretaz edited comment on SLING-9172 at 3/17/20, 2:41 PM:
----------------------------------------------------------------------

{quote}...I think it's also a big departure from how things worked so far, even 
though opt-in, hence the suggestion for the version change..
{quote}
Big +1 to this, this might be a small change in terms of implementation but a 
BIG thing in terms of changing existing assumptions.

-As for the DynamicClassLoader I think we need at least a ticket for the 
changes required there.- I see that this is now provided at SLING-9210, thanks 
[~kwin] !

Regarding docs, please add at least a short note to 
[https://sling.apache.org/documentation/bundles/osgi-installer.html] about this 
feature, that shouldn't take more than a few minutes. The source of that page 
is 
[https://github.com/apache/sling-site/blob/master/src/main/jbake/content/documentation/bundles/osgi-installer.md]


was (Author: bdelacretaz):
{quote}...I think it's also a big departure from how things worked so far, even 
though opt-in, hence the suggestion for the version change..
{quote}
Big +1 to this, this might be a small change in terms of implementation but a 
BIG thing in terms of changing existing assumptions.

As for the DynamicClassLoader I think we need at least a ticket for the changes 
required there.

Regarding docs, please add at least a short note to 
[https://sling.apache.org/documentation/bundles/osgi-installer.html] about this 
feature, that shouldn't take more than a few minutes. The source of that page 
is 
https://github.com/apache/sling-site/blob/master/src/main/jbake/content/documentation/bundles/osgi-installer.md

> Allow Sling Installer to install and handle multiple versions of bundles 
> instead of updating
> --------------------------------------------------------------------------------------------
>
>                 Key: SLING-9172
>                 URL: https://issues.apache.org/jira/browse/SLING-9172
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>    Affects Versions: Installer Core 3.10.2
>            Reporter: Dominik Süß
>            Assignee: Carsten Ziegeler
>            Priority: Major
>              Labels: Sling-12-ReleaseNotes
>             Fix For: Installer Core 3.11.0
>
>          Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> Sling Installer currently always updates bundles when different versions of 
> bundles get installed. Since Apache Felix does support multiple versions of 
> bundles to exist in parallel it should be possible to change the behavior 
> with via property to install and uninstall multiple versions in parallel 
> instead of updating them.
> To achieve this two changes are required:
> a) DefaultTransformer should change the EntityID of bundles to include the 
> version to make sure the state handling of Installer handles each version as 
> own entity
> b) BundleTaskCreator must be adjusted to create install task over update task 
> as the detection currently checks for the existence of BSN



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to