You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Ian Clelland <ic...@chromium.org> on 2013/12/10 20:14:16 UTC
Versioned plugin dependencies
Do we have a way to specify, in plugin.xml, that a plugin depends on a
given (minimum) version of another plugin?
I was sure that we did, but I can't find any documentation, code, or tests
for it, so I may have been hallucinating when I heard about it.
It's relevant for file-transfer now; I think the next version of
file-transfer is going to require v1.0.0+ of file to operate properly, and
I'd like to be able to specify that requirement in plugin.xml
Ian
Re: Versioned plugin dependencies
Posted by Anis KADRI <an...@gmail.com>.
and yeah it's not documented and it's registry only. no git, local etc...
On Tue, Dec 10, 2013 at 1:57 PM, Anis KADRI <an...@gmail.com> wrote:
> <dependency id="org.apache.cordova.file@version" />
>
>
> On Tue, Dec 10, 2013 at 1:45 PM, Steven Gill <st...@gmail.com>wrote:
>
>> Same boat as Braden. Not sure if it has been implemented yet.
>>
>>
>> On Tue, Dec 10, 2013 at 12:48 PM, Braden Shepherdson <braden@chromium.org
>> >wrote:
>>
>> > I think this has been much discussed, but I'm not aware of it actually
>> > being implemented.
>> >
>> > Braden
>> >
>> >
>> > On Tue, Dec 10, 2013 at 11:14 AM, Ian Clelland <iclelland@chromium.org
>> > >wrote:
>> >
>> > > Do we have a way to specify, in plugin.xml, that a plugin depends on a
>> > > given (minimum) version of another plugin?
>> > >
>> > > I was sure that we did, but I can't find any documentation, code, or
>> > tests
>> > > for it, so I may have been hallucinating when I heard about it.
>> > >
>> > > It's relevant for file-transfer now; I think the next version of
>> > > file-transfer is going to require v1.0.0+ of file to operate properly,
>> > and
>> > > I'd like to be able to specify that requirement in plugin.xml
>> > >
>> > > Ian
>> > >
>> >
>>
>
>
Re: Versioned plugin dependencies
Posted by Anis KADRI <an...@gmail.com>.
It should work (including with semver semantics).
On Tue, Dec 10, 2013 at 1:59 PM, Ian Clelland <ic...@chromium.org>wrote:
> Anis -- does that work, or is it just the syntax that we'd like?
>
> And does it follow semver -- can I specify "1" to mean "at least major
> version 1"
>
>
> On Tue, Dec 10, 2013 at 4:57 PM, Anis KADRI <an...@gmail.com> wrote:
>
> > <dependency id="org.apache.cordova.file@version" />
> >
> >
> > On Tue, Dec 10, 2013 at 1:45 PM, Steven Gill <st...@gmail.com>
> > wrote:
> >
> > > Same boat as Braden. Not sure if it has been implemented yet.
> > >
> > >
> > > On Tue, Dec 10, 2013 at 12:48 PM, Braden Shepherdson <
> > braden@chromium.org
> > > >wrote:
> > >
> > > > I think this has been much discussed, but I'm not aware of it
> actually
> > > > being implemented.
> > > >
> > > > Braden
> > > >
> > > >
> > > > On Tue, Dec 10, 2013 at 11:14 AM, Ian Clelland <
> iclelland@chromium.org
> > > > >wrote:
> > > >
> > > > > Do we have a way to specify, in plugin.xml, that a plugin depends
> on
> > a
> > > > > given (minimum) version of another plugin?
> > > > >
> > > > > I was sure that we did, but I can't find any documentation, code,
> or
> > > > tests
> > > > > for it, so I may have been hallucinating when I heard about it.
> > > > >
> > > > > It's relevant for file-transfer now; I think the next version of
> > > > > file-transfer is going to require v1.0.0+ of file to operate
> > properly,
> > > > and
> > > > > I'd like to be able to specify that requirement in plugin.xml
> > > > >
> > > > > Ian
> > > > >
> > > >
> > >
> >
>
Re: Versioned plugin dependencies
Posted by Ian Clelland <ic...@chromium.org>.
Anis -- does that work, or is it just the syntax that we'd like?
And does it follow semver -- can I specify "1" to mean "at least major
version 1"
On Tue, Dec 10, 2013 at 4:57 PM, Anis KADRI <an...@gmail.com> wrote:
> <dependency id="org.apache.cordova.file@version" />
>
>
> On Tue, Dec 10, 2013 at 1:45 PM, Steven Gill <st...@gmail.com>
> wrote:
>
> > Same boat as Braden. Not sure if it has been implemented yet.
> >
> >
> > On Tue, Dec 10, 2013 at 12:48 PM, Braden Shepherdson <
> braden@chromium.org
> > >wrote:
> >
> > > I think this has been much discussed, but I'm not aware of it actually
> > > being implemented.
> > >
> > > Braden
> > >
> > >
> > > On Tue, Dec 10, 2013 at 11:14 AM, Ian Clelland <iclelland@chromium.org
> > > >wrote:
> > >
> > > > Do we have a way to specify, in plugin.xml, that a plugin depends on
> a
> > > > given (minimum) version of another plugin?
> > > >
> > > > I was sure that we did, but I can't find any documentation, code, or
> > > tests
> > > > for it, so I may have been hallucinating when I heard about it.
> > > >
> > > > It's relevant for file-transfer now; I think the next version of
> > > > file-transfer is going to require v1.0.0+ of file to operate
> properly,
> > > and
> > > > I'd like to be able to specify that requirement in plugin.xml
> > > >
> > > > Ian
> > > >
> > >
> >
>
Re: Versioned plugin dependencies
Posted by Anis KADRI <an...@gmail.com>.
<dependency id="org.apache.cordova.file@version" />
On Tue, Dec 10, 2013 at 1:45 PM, Steven Gill <st...@gmail.com> wrote:
> Same boat as Braden. Not sure if it has been implemented yet.
>
>
> On Tue, Dec 10, 2013 at 12:48 PM, Braden Shepherdson <braden@chromium.org
> >wrote:
>
> > I think this has been much discussed, but I'm not aware of it actually
> > being implemented.
> >
> > Braden
> >
> >
> > On Tue, Dec 10, 2013 at 11:14 AM, Ian Clelland <iclelland@chromium.org
> > >wrote:
> >
> > > Do we have a way to specify, in plugin.xml, that a plugin depends on a
> > > given (minimum) version of another plugin?
> > >
> > > I was sure that we did, but I can't find any documentation, code, or
> > tests
> > > for it, so I may have been hallucinating when I heard about it.
> > >
> > > It's relevant for file-transfer now; I think the next version of
> > > file-transfer is going to require v1.0.0+ of file to operate properly,
> > and
> > > I'd like to be able to specify that requirement in plugin.xml
> > >
> > > Ian
> > >
> >
>
Re: Versioned plugin dependencies
Posted by Steven Gill <st...@gmail.com>.
Same boat as Braden. Not sure if it has been implemented yet.
On Tue, Dec 10, 2013 at 12:48 PM, Braden Shepherdson <br...@chromium.org>wrote:
> I think this has been much discussed, but I'm not aware of it actually
> being implemented.
>
> Braden
>
>
> On Tue, Dec 10, 2013 at 11:14 AM, Ian Clelland <iclelland@chromium.org
> >wrote:
>
> > Do we have a way to specify, in plugin.xml, that a plugin depends on a
> > given (minimum) version of another plugin?
> >
> > I was sure that we did, but I can't find any documentation, code, or
> tests
> > for it, so I may have been hallucinating when I heard about it.
> >
> > It's relevant for file-transfer now; I think the next version of
> > file-transfer is going to require v1.0.0+ of file to operate properly,
> and
> > I'd like to be able to specify that requirement in plugin.xml
> >
> > Ian
> >
>
Re: Versioned plugin dependencies
Posted by Braden Shepherdson <br...@chromium.org>.
I think this has been much discussed, but I'm not aware of it actually
being implemented.
Braden
On Tue, Dec 10, 2013 at 11:14 AM, Ian Clelland <ic...@chromium.org>wrote:
> Do we have a way to specify, in plugin.xml, that a plugin depends on a
> given (minimum) version of another plugin?
>
> I was sure that we did, but I can't find any documentation, code, or tests
> for it, so I may have been hallucinating when I heard about it.
>
> It's relevant for file-transfer now; I think the next version of
> file-transfer is going to require v1.0.0+ of file to operate properly, and
> I'd like to be able to specify that requirement in plugin.xml
>
> Ian
>