Additionally, the OSGi repository format defines the "referral" [1] element
which points at another index file. This way you can combine repos whoever
you like.

- Ray

[1]
https://osgi.org/specification/osgi.cmpn/7.0.0/service.repository.html#i3236527



On Sun, Oct 21, 2018, 12:57 Peter Kriens via osgi-dev, <
osgi-dev@mail.osgi.org> wrote:

> The bnd code contains an AggregateRepository class that aggregates a
> number of repositories defined by the OSGi Repository standard. It is
> actually used in the bnd resolver API.
>
> Kind regards,
>
>         Peter Kriens
>
>
>
> > On 21 Oct 2018, at 12:26, Mark Raynsford via osgi-dev <
> osgi-dev@mail.osgi.org> wrote:
> >
> > Hello!
> >
> > As the subject says: Is there already a standard for aggregating
> > repositories?
> >
> > I'm putting together a small proof of concept API and application that
> > allows a user to browse a set of bundle repositories [0], select bundles
> > from those repositories, get all of the bundle dependencies resolved
> > automatically, download all of the bundles, and finally start up an
> > OSGi container with all of the selected and downloaded bundles.
> >
> > I have all of that working (using the Bnd resolver), but the main pain
> > point is the need to initially specify a (possibly rather large) set of
> > repositories. I could very easily come up with an API or an XML schema
> > that allows a server to deliver a set of repository URLs, but before I
> > do that: Is there already a standard for this?
> >
> > [0] A Compendium chapter 132 repository.
> >
> > --
> > Mark Raynsford | http://www.io7m.com
> >
> > _______________________________________________
> > OSGi Developer Mail List
> > osgi-dev@mail.osgi.org
> > https://mail.osgi.org/mailman/listinfo/osgi-dev
>
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to