sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (Jira)" <>
Subject [jira] [Resolved] (SLING-9186) Use provide/require capability for the repoinit language version
Date Mon, 09 Mar 2020 14:54:00 GMT


Bertrand Delacretaz resolved SLING-9186.
    Resolution: Fixed

The {{}} OSGi capability is now provided by
and required by with a specific
version number.

> Use provide/require capability for the repoinit language version
> ----------------------------------------------------------------
>                 Key: SLING-9186
>                 URL:
>             Project: Sling
>          Issue Type: Improvement
>          Components: Repoinit
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Repoinit JCR 1.1.22, Repoinit Parser 1.4.4
> Changes to the repoinit.jcr module often require a new version of the language parser
module, which can not always be expressed in terms of Java package versions.
> OSGi capabilities will allow us to avoid out-of-sync versions of these bundles, so my
current plan is to add
> {code:java}
> Provide-Capability:;version:Version="8.0"
> {code}
> to the repoinit.parser bundle, with the corresponding {{Require-Capability}} in the jcr.repoinit
> Starting at arbitrary V8.0 of the repoinit language, I think eight is more than the number
of important language changes we've had since this module started. And we can then increment
the language version when new instructions or options are added.

This message was sent by Atlassian Jira

View raw message