karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-1027) Have cave:update-repository work with proxy repositories
Date Fri, 25 Nov 2011 12:01:42 GMT

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

Jean-Baptiste Onofré commented on KARAF-1027:
---------------------------------------------

Sorry but the patch doesn't look very good for me. It doesn't make sense to change the CaveRepository
and the Felix BundleRespository DataModelHelper.
Proxy repository is not a core behavior.

I will refactore it to implement your comment.
                
> Have cave:update-repository work with proxy repositories
> --------------------------------------------------------
>
>                 Key: KARAF-1027
>                 URL: https://issues.apache.org/jira/browse/KARAF-1027
>             Project: Karaf
>          Issue Type: Improvement
>          Components: cave-repository
>    Affects Versions: cave-3.0.0
>            Reporter: Glen Mazza
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cave-3.0.0
>
>         Attachments: proxyupdate.patch
>
>
> Supplied patch makes following changes:
> 1.) cave:proxy-repository now creates the repository before populating its repository.xml
with the remote repository's contents (prior functionality would raise an exception if the
repository did not exist.)
> 2.) switches the "non-register" to OBR option from -nu to -nr (like create repository)
> 3.) Like create-repository, will raise an exception if the proxy repository already exists.
> 4.) Adds a proxiedurl attribute to the repository.xml file (for subsequent reading when
loading an already created proxy repository--functionality is not yet used.)  Warning: the
schema for the repository.xml now deviates from Felix because of this additional attribute
(unsure if that matters), although it still loads into the Karaf OBR (obr:listurl).
> 5.) cave:update-repository will now work for both normal and proxied cave repositories,
in the latter case it does a rescan of the remote repository and recreates the repository.xml
file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message