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

Konrad Windszus edited comment on JCRVLT-188 at 7/3/17 6:00 AM:
----------------------------------------------------------------

Actually I am looking for a method {{JcrPackageManager.isInstalled(Archive)}} 
or {{JcrPackageManager.isInstalled(PackageProperties)}} which allows to check 
if it is necessary to install a package (before uploading it or extracting it 
as hollow package).
I think this method should compare the package properties internally similar to 
what {{JcrPackage.isInstalled()}} does. That method internally needs to rely on 
the created date.


was (Author: kwin):
Actually I am looking for a method {{JcrPackageManager.isInstalled(Archive)}} 
or {{JcrPackageManager.isInstalled(PackageProperties)}} which allows to check 
if it is necessary to install a package (before uploading it or extracting it 
as hollow package).
I think this method should compare the package properties internally similar to 
what {{JcrPackage.isInstalled()}} does.

> Allow to figure out the created date for hollow packages
> --------------------------------------------------------
>
>                 Key: JCRVLT-188
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-188
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: Packaging
>    Affects Versions: 3.1.40
>            Reporter: Konrad Windszus
>
> Currently for hollow packages (JCRVLT-50) only the following meta information 
> is stored in the repository:
> * name
> * version
> * group
> * lastUnpacked
> * lastUnpackedBy
> * lastModified
> * lastModifiedBy
> What is missing is a {{jcr:created}} date which would allow to check if a 
> to-be extracted hollow package has already been extracted previously in the 
> repository.
> I am interested to prevent duplicate installations of the same hollow 
> packages in the system and only the {{jcr:created}} would allow to achieve 
> that (compare with JCRVLT-155).



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

Reply via email to