You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Radu Cotescu <ra...@apache.org> on 2015/01/27 17:35:33 UTC
Use Provide-Capability for the org.apache.sling.scripting.sightly bundle
Hi,
Given the recent update [0] of the Sightly language specification I'm
tempted to use the "Provide-Capability" OSGi header [1] for the
org.apache.sling.scripting.sightly bundle to provide information about
which specification version is actually implemented:
Provide-Capability: io.sightly; version=1.1
Do you think this would be a good idea? Should the value of this header be
different?
Thanks,
Radu
[0] -
https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.1/SPECIFICATION.md
[1] - http://wiki.osgi.org/wiki/Provide-Capability
Re: Use Provide-Capability for the org.apache.sling.scripting.sightly bundle
Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,
On Tue, Jan 27, 2015 at 5:53 PM, Radu Cotescu <ra...@apache.org> wrote:
> ...I think that for the Sightly
> bundle we should aim to offer a vendor independent capability name,...
Why not - we can just mention that "io.sightly" is used for Sightly
modules, in our specification of Sling capability names. As long as
our naming is consistent I'm fine with it.
-Bertrand
Re: Use Provide-Capability for the org.apache.sling.scripting.sightly bundle
Posted by Radu Cotescu <ra...@apache.org>.
Hi Bertrand,
I also had a look at the other thread but I think that for the Sightly
bundle we should aim to offer a vendor independent capability name, in case
somebody else would like to provide the same capability from a bundle not
related to Apache Sling.
Would this be too far-fetched?
Thanks,
Radu
On Tue, Jan 27, 2015 at 6:39 PM, Bertrand Delacretaz <bdelacretaz@apache.org
> wrote:
> On Tue, Jan 27, 2015 at 5:35 PM, Radu Cotescu <ra...@apache.org> wrote:
> > ...Should the value of this header be
> > different?...
>
> I saw SLING-4358 fly by and just started a thread here about defining
> a Sling standard for those values.
>
> -Bertrand
>
Re: Use Provide-Capability for the org.apache.sling.scripting.sightly bundle
Posted by Bertrand Delacretaz <bd...@apache.org>.
On Tue, Jan 27, 2015 at 5:35 PM, Radu Cotescu <ra...@apache.org> wrote:
> ...Should the value of this header be
> different?...
I saw SLING-4358 fly by and just started a thread here about defining
a Sling standard for those values.
-Bertrand