You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/02/19 18:52:27 UTC

[jira] Commented: (FELIX-2106) Resolver scoped Repository

    [ https://issues.apache.org/jira/browse/FELIX-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835850#action_12835850 ] 

Guillaume Nodet commented on FELIX-2106:
----------------------------------------

I may be wrong, but I think another limitation is the fact that you can't access which local resources are used in the output of the resolution.  All local resource are simply removed.
This may be a problem for Aries because I think we want to know all the bundles that are "part" of the application somehow.
We might want to consider adding two fields to the resolver to hold mandatory local resources and optional local resources.

One way to work around that would be to allow the creation of a resolver without the local repository and be able to add the local repository as an external repository.

I think one way to work around all those issues would be to add a method like:
     Resolver resolver(Repository[] repositories);
     Repository getLocalRepository();
to teh RepositoryAdmin.


> Resolver scoped Repository
> --------------------------
>
>                 Key: FELIX-2106
>                 URL: https://issues.apache.org/jira/browse/FELIX-2106
>             Project: Felix
>          Issue Type: Improvement
>          Components: Bundle Repository (OBR)
>            Reporter: Alasdair Nottingham
>
> I'm a committer on the apache aries podling and I have been involved
> in creating an application resolver that makes use of OBR to resolve
> dependencies. In our model we resolve applications against configure
> OBR repositories, and against a private repository that exists just
> for that application.
> From what I can tell when you add a repository to RepositoryAdmin it
> has a global effect which means that any other calls to resolve will
> use the repository. This means my private repository isn't necessarily
> private. I currently remove it again after resolving and synchronise
> so I only resolve one application at a time, but any other
> RepositoryAdmin client will be exposed to my externals.
> I am raising this JIRA to get an enhancement to the Resolver interface to
> add an addRepository method so I can add a repository that is only
> used by that Resolver instance and isn't global.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.