You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2017/08/23 08:57:00 UTC

[jira] [Comment Edited] (JCRVLT-200) Vault should support suppressSnapshots property

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

Tobias Bocanegra edited comment on JCRVLT-200 at 8/23/17 8:56 AM:
------------------------------------------------------------------

the _problem_ is, that the attribute in the Adobe packages is called: {{granite.suppressSnapshots}}. So it would look wrong to add support for this here. 

also the API clearly distinguishes between {{extract()}} and {{install()}}, where as the first doesn't create snapshots. so the users of the API can choose. so maybe this bug rather belongs to the _Adobe CRX Package Manager_ component.

otoh, when auto-installing sub-packages, the user doesn't have control over the snapshot handling anymore. i.e. if the container package is _extracted_, then all sub-packages are extracted as well. and vice versa, if the container package is _installed_, then all sub-packages are installed as well (i.e. create snapshots).

suggest to add a new property:
- {{suppressSnapshots}}; if true, packages installed recursively will not create snapshots.
- add support for Adobe's {{granite.suppressSnapshots}}




was (Author: tripod):
the _problem_ is, that the attribute in the Adobe packages is called: {{granite.suppressSnapshots}}. So it would look wrong to add support for this here. 

also the API clearly distinguishes between {{extract()}} and {{install()}}, where as the first doesn't create snapshots. so the users of the API can choose. so maybe this bug rather belongs to the _Adobe CRX Package Manager_ component.

otoh, when auto-installing sub-packages, the user doesn't have control over the snapshot handling anymore. i.e. if the container package is only _extracted_, then all sub-packages are extracted as well. and vice versa, if the container package is _installed_, then all sub-packages are installed as well (i.e. create snapshots).

suggest to add a new property:
- {{suppressSnapshots}}; if true, packages installed recursively will not create snapshots.
- add support for Adobe's {{granite.suppressSnapshots}}



> Vault should support suppressSnapshots property
> -----------------------------------------------
>
>                 Key: JCRVLT-200
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-200
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: vlt
>    Affects Versions: 3.1.40
>            Reporter: Mohit Arora
>             Fix For: 3.1.42
>
>
> Currently, OSGI installer supports suppressSnapshots property where if a content package has this property set then no snapshot is created for that package while installing it in package manager.
> But on installing the same content package through package manager, snapshot is created irrespective of the flag being set. JCR installer should also support suppressSnapshots flag.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)