Did you think about using the deployment admin in this mix? I don't see a reason why you couldn't put deployment packages into an obr repository ... All we would have to do is to extend our client implementation a little bit to use the deployment admin to install the deployment packages. This way, you could have features that are deployment packages and could use obr to express dependencies between features (assuming there are any).
Just a thought. regards, Karl On Thu, May 7, 2009 at 8:47 AM, Guillaume Nodet <[email protected]> wrote: > Right, but I don't have much problems with OBR the spec, but mostly > with how it can be used now. > Repositories are huge xml files, slow to parse. Currently, OBR > repositories usually point directly to a download location for the > bundle (as in http://felix.apache.org/obr/releases.xml). > Furthermore, you don't really have control over what is installed with > the current implementation: if multiple bundles can be used to fulfill > a given requirement, i don't think you have any control over which one > will be installed. Additionaly, any optional requirement that can be > satisfied will be (no control here too). > > I think OBR could be used at build time to create a list of bundles > that should be installed. Using it at runtime for provisioning is a > different thing. > > > On Thu, May 7, 2009 at 08:19, Peter Kriens <[email protected]> wrote: >>> OBR is really verbose and leads to *very* big files. The existing >>> repositories don't use maven repositories, so you can't benefit from >>> any local cache (i.e. everything will be downloaded from the >>> internet). >> >> I do not think this is in any way part of OBR. Any OBR implementation can >> easily cache. The OBR file is only an index of the whole repo. There is also >> a query URL format specified that allows you to get the index partially and >> to even resolve. >> >> Kind regards, >> >> Peter Kriens >> >> >> On 7 mei 2009, at 08:02, Guillaume Nodet wrote: >> >>> On Thu, May 7, 2009 at 00:29, Moloney, Tim M <[email protected]> >>> wrote: >>>> >>>> >>>> What are the pros and cons of using feature repositories, Maven >>>> repositories, and OSGI bundle repositories in Karaf? >>>> >>>> Feature Pros >>>> - can include bundle configuration >>>> - can include other features >>>> - can group unrelated bundles/features >>>> - no required directory structure >>>> >>>> Feature Cons >>>> - manually created >>>> - no automatic dependency resolution >>> >>> We have a maven plugin that can be used to create a features >>> repository from a maven project, but there is still a bit of work >>> needed. >>> >>>> Maven Pros >>>> - no configuration required >>>> - convenient for development, can reuse local repository >>>> >>>> Maven Cons >>>> - no automatic dependency resolution >>>> - no bundle configuration >>>> - requires deep directory structure >>> >>> In theory, maven is more a protocol than a provisioning system. Using >>> the maven pax url handler which is included in Karaf, >>> you could provision features or OBR using maven repositories (we >>> usually do that when using features). >>> This provide local caching and enable using a more abstract URI so you >>> don't have to point to the real file using an http location. >>> THis can also be used from within a company to make everything point >>> to a single controlled repository, whereas plain http urls can not be >>> easily moved around. >>> >>>> OBR Pros >>>> - automatic dependency resolution >>>> - no required directory structure >>>> >>>> OBR Cons >>>> - no bundle configuration >>>> - repository isn't as dynamic since bindex must be run to assimilate >>>> changes >>> >>> OBR is really verbose and leads to *very* big files. The existing >>> repositories don't use maven repositories, so you can't benefit from >>> any local cache (i.e. everything will be downloaded from the >>> internet). >>> >>>> >>>> Did I miss anything? It appears that a combination of these is probably >>>> best. How are people using these repositories when distributing their >>>> projects? >>> >>> I tend to advocate features + maven. >>> >>>> >>>> Tim Moloney The reasonable man adapts himself to >>>> MRSL the world; the unreasonable one persists >>>> 2015 Cattlemen Road in trying to adapt the world to himself. >>>> Sarasota, FL 34232 Therefore all progress depends on the >>>> (941) 377-6775 x208 unreasonable man. - George Bernard Shaw >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>> >>> >>> >>> -- >>> Cheers, >>> Guillaume Nodet >>> ------------------------ >>> Blog: http://gnodet.blogspot.com/ >>> ------------------------ >>> Open Source SOA >>> http://fusesource.com >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Karl Pauls [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

