You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Filip Maj <fi...@adobe.com> on 2013/01/07 23:21:09 UTC

Revert CLI tools to using git

As per below, bringing this up on the list.

The CLI tools originally used git as a dependency to handle the various
platform libraries. Then we reverted in an effort to reduce our
dependencies.

But, the CLI tools have been dysfunctional over the past month or so due
to the github mirrors being wonky. The github mirrors provide convenient
.zip archives of each tag, however the mirrors are inconsistent. First the
BlackBerry repo was incorrect for a while due to us changing the name. Now
the Android repo is way out of date for some reason.

I am of the opinion that we should revert back to using git, as we know
the repo will be up at all times, unlike the mirrors. Additionally, at
some point we have to start supporting different versions (tags) of the
libraries, where the client code will be downloading x different tags
anyways.

Discuss and decide. In the meantime I suppose I will stop working on
supporting this.

On 1/7/13 12:44 PM, "Brian LeRoux (JIRA)" <ji...@apache.org> wrote:

>
>    [ 
>https://issues.apache.org/jira/browse/CB-2164?page=com.atlassian.jira.plug
>in.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546245#commen
>t-13546245 ] 
>
>Brian LeRoux commented on CB-2164:
>----------------------------------
>
>Eh Fil, can we discuss on list? I really feel this is the wrong approach.
>                
>> Revert CLI tools to using git
>> -----------------------------
>>
>>                 Key: CB-2164
>>                 URL: https://issues.apache.org/jira/browse/CB-2164
>>             Project: Apache Cordova
>>          Issue Type: Bug
>>          Components: CLI
>>    Affects Versions: 2.3.0
>>            Reporter: Filip Maj
>>            Assignee: Filip Maj
>>             Fix For: 2.4.0
>>
>>
>> There are too many issues with removing git as a dependency.
>> First, with future support coming for moving between different
>>versions, we will likely need to download and extract multiple versions
>>of the git repos.
>> Second, removing the git dependency and going with just tag downloads
>>from github is difficult at this time as the github mirrors are
>>inconsistent and keep getting backed up.
>> One thing that is stable is the canonical source repo.
>> For this issue, remove downloading and extracting tag zipballs.
>>Instead, clone the source and checkout the needed tags as necessary.
>
>--
>This message is automatically generated by JIRA.
>If you think it was sent incorrectly, please contact your JIRA
>administrators
>For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: Revert CLI tools to using git

Posted by Brian LeRoux <b...@brian.io>.
And note that it is possible to compile a custom binary of node that
includes modules of your choosing. If we keep to a 'pure' node path we
can dist a single Cordova binary in the future which would be killer.

On Tue, Jan 8, 2013 at 11:29 AM, Filip Maj <fi...@adobe.com> wrote:
> Node + npm + a bunch of npm modules
>
> On 1/7/13 9:20 PM, "Dave Johnson" <da...@gmail.com> wrote:
>
>>We are using other dependencies aside from git right?
>>
>>On Monday, January 7, 2013, Andrew Grieve wrote:
>>
>>> Makes perfect sense to me. We shouldn't be depending on github when our
>>> code lives on Apache servers. git is a pretty easy dependency to
>>>install,
>>> and I also think the versioning / tags use-case is important.
>>>
>>> Brian, what's your concern with using git?
>>>
>>>
>>> On Mon, Jan 7, 2013 at 5:21 PM, Filip Maj <fil@adobe.com <javascript:;>>
>>> wrote:
>>>
>>> > As per below, bringing this up on the list.
>>> >
>>> > The CLI tools originally used git as a dependency to handle the
>>>various
>>> > platform libraries. Then we reverted in an effort to reduce our
>>> > dependencies.
>>> >
>>> > But, the CLI tools have been dysfunctional over the past month or so
>>>due
>>> > to the github mirrors being wonky. The github mirrors provide
>>>convenient
>>> > .zip archives of each tag, however the mirrors are inconsistent. First
>>> the
>>> > BlackBerry repo was incorrect for a while due to us changing the name.
>>> Now
>>> > the Android repo is way out of date for some reason.
>>> >
>>> > I am of the opinion that we should revert back to using git, as we
>>>know
>>> > the repo will be up at all times, unlike the mirrors. Additionally, at
>>> > some point we have to start supporting different versions (tags) of
>>>the
>>> > libraries, where the client code will be downloading x different tags
>>> > anyways.
>>> >
>>> > Discuss and decide. In the meantime I suppose I will stop working on
>>> > supporting this.
>>> >
>>> > On 1/7/13 12:44 PM, "Brian LeRoux (JIRA)"
>>><jira@apache.org<javascript:;>>
>>> wrote:
>>> >
>>> > >
>>> > >    [
>>> > >
>>> >
>>>
>>>https://issues.apache.org/jira/browse/CB-2164?page=com.atlassian.jira.plu
>>>g
>>> >
>>>
>>>>in.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546245#comm
>>>>en
>>> > >t-13546245 ]
>>> > >
>>> > >Brian LeRoux commented on CB-2164:
>>> > >----------------------------------
>>> > >
>>> > >Eh Fil, can we discuss on list? I really feel this is the wrong
>>> approach.
>>> > >
>>> > >> Revert CLI tools to using git
>>> > >> -----------------------------
>>> > >>
>>> > >>                 Key: CB-2164
>>> > >>                 URL: https://issues.apache.org/jira/browse/CB-2164
>>> > >>             Project: Apache Cordova
>>> > >>          Issue Type: Bug
>>> > >>          Components: CLI
>>> > >>    Affects Versions: 2.3.0
>>> > >>            Reporter: Filip Maj
>>> > >>            Assignee: Filip Maj
>>> > >>             Fix For: 2.4.0
>>> > >>
>>> > >>
>>> > >> There are too many issues with removing git as a dependency.
>>> > >> First, with future support coming for moving between different
>>> > >>versions, we will likely need to download and extract multiple
>>>versions
>>> > >>of the git repos.
>>> > >> Second, removing the git dependency and going with just tag
>>>downloads
>>> > >>from github is difficult at this time as the github mirrors are
>>> > >>inconsistent and keep getting backed up.
>>> > >> One thing that is stable is the canonical source repo.
>>> > >> For this issue, remove downloading and extracting tag zipballs.
>>> > >>Instead, clone the source and checkout the needed tags as necessary.
>>> > >
>>> > >--
>>> > >This message is automatically generated by JIRA.
>>> > >If you think it was sent incorrectly, please contact your JIRA
>>> > >administrators
>>> > >For more information on JIRA, see:
>>> http://www.atlassian.com/software/jira
>>> >
>>> >
>>>
>

Re: Revert CLI tools to using git

Posted by Filip Maj <fi...@adobe.com>.
Node + npm + a bunch of npm modules

On 1/7/13 9:20 PM, "Dave Johnson" <da...@gmail.com> wrote:

>We are using other dependencies aside from git right?
>
>On Monday, January 7, 2013, Andrew Grieve wrote:
>
>> Makes perfect sense to me. We shouldn't be depending on github when our
>> code lives on Apache servers. git is a pretty easy dependency to
>>install,
>> and I also think the versioning / tags use-case is important.
>>
>> Brian, what's your concern with using git?
>>
>>
>> On Mon, Jan 7, 2013 at 5:21 PM, Filip Maj <fil@adobe.com <javascript:;>>
>> wrote:
>>
>> > As per below, bringing this up on the list.
>> >
>> > The CLI tools originally used git as a dependency to handle the
>>various
>> > platform libraries. Then we reverted in an effort to reduce our
>> > dependencies.
>> >
>> > But, the CLI tools have been dysfunctional over the past month or so
>>due
>> > to the github mirrors being wonky. The github mirrors provide
>>convenient
>> > .zip archives of each tag, however the mirrors are inconsistent. First
>> the
>> > BlackBerry repo was incorrect for a while due to us changing the name.
>> Now
>> > the Android repo is way out of date for some reason.
>> >
>> > I am of the opinion that we should revert back to using git, as we
>>know
>> > the repo will be up at all times, unlike the mirrors. Additionally, at
>> > some point we have to start supporting different versions (tags) of
>>the
>> > libraries, where the client code will be downloading x different tags
>> > anyways.
>> >
>> > Discuss and decide. In the meantime I suppose I will stop working on
>> > supporting this.
>> >
>> > On 1/7/13 12:44 PM, "Brian LeRoux (JIRA)"
>><jira@apache.org<javascript:;>>
>> wrote:
>> >
>> > >
>> > >    [
>> > >
>> >
>> 
>>https://issues.apache.org/jira/browse/CB-2164?page=com.atlassian.jira.plu
>>g
>> >
>> 
>>>in.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546245#comm
>>>en
>> > >t-13546245 ]
>> > >
>> > >Brian LeRoux commented on CB-2164:
>> > >----------------------------------
>> > >
>> > >Eh Fil, can we discuss on list? I really feel this is the wrong
>> approach.
>> > >
>> > >> Revert CLI tools to using git
>> > >> -----------------------------
>> > >>
>> > >>                 Key: CB-2164
>> > >>                 URL: https://issues.apache.org/jira/browse/CB-2164
>> > >>             Project: Apache Cordova
>> > >>          Issue Type: Bug
>> > >>          Components: CLI
>> > >>    Affects Versions: 2.3.0
>> > >>            Reporter: Filip Maj
>> > >>            Assignee: Filip Maj
>> > >>             Fix For: 2.4.0
>> > >>
>> > >>
>> > >> There are too many issues with removing git as a dependency.
>> > >> First, with future support coming for moving between different
>> > >>versions, we will likely need to download and extract multiple
>>versions
>> > >>of the git repos.
>> > >> Second, removing the git dependency and going with just tag
>>downloads
>> > >>from github is difficult at this time as the github mirrors are
>> > >>inconsistent and keep getting backed up.
>> > >> One thing that is stable is the canonical source repo.
>> > >> For this issue, remove downloading and extracting tag zipballs.
>> > >>Instead, clone the source and checkout the needed tags as necessary.
>> > >
>> > >--
>> > >This message is automatically generated by JIRA.
>> > >If you think it was sent incorrectly, please contact your JIRA
>> > >administrators
>> > >For more information on JIRA, see:
>> http://www.atlassian.com/software/jira
>> >
>> >
>>


Re: Revert CLI tools to using git

Posted by Dave Johnson <da...@gmail.com>.
We are using other dependencies aside from git right?

On Monday, January 7, 2013, Andrew Grieve wrote:

> Makes perfect sense to me. We shouldn't be depending on github when our
> code lives on Apache servers. git is a pretty easy dependency to install,
> and I also think the versioning / tags use-case is important.
>
> Brian, what's your concern with using git?
>
>
> On Mon, Jan 7, 2013 at 5:21 PM, Filip Maj <fil@adobe.com <javascript:;>>
> wrote:
>
> > As per below, bringing this up on the list.
> >
> > The CLI tools originally used git as a dependency to handle the various
> > platform libraries. Then we reverted in an effort to reduce our
> > dependencies.
> >
> > But, the CLI tools have been dysfunctional over the past month or so due
> > to the github mirrors being wonky. The github mirrors provide convenient
> > .zip archives of each tag, however the mirrors are inconsistent. First
> the
> > BlackBerry repo was incorrect for a while due to us changing the name.
> Now
> > the Android repo is way out of date for some reason.
> >
> > I am of the opinion that we should revert back to using git, as we know
> > the repo will be up at all times, unlike the mirrors. Additionally, at
> > some point we have to start supporting different versions (tags) of the
> > libraries, where the client code will be downloading x different tags
> > anyways.
> >
> > Discuss and decide. In the meantime I suppose I will stop working on
> > supporting this.
> >
> > On 1/7/13 12:44 PM, "Brian LeRoux (JIRA)" <jira@apache.org<javascript:;>>
> wrote:
> >
> > >
> > >    [
> > >
> >
> https://issues.apache.org/jira/browse/CB-2164?page=com.atlassian.jira.plug
> >
> >in.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546245#commen
> > >t-13546245 ]
> > >
> > >Brian LeRoux commented on CB-2164:
> > >----------------------------------
> > >
> > >Eh Fil, can we discuss on list? I really feel this is the wrong
> approach.
> > >
> > >> Revert CLI tools to using git
> > >> -----------------------------
> > >>
> > >>                 Key: CB-2164
> > >>                 URL: https://issues.apache.org/jira/browse/CB-2164
> > >>             Project: Apache Cordova
> > >>          Issue Type: Bug
> > >>          Components: CLI
> > >>    Affects Versions: 2.3.0
> > >>            Reporter: Filip Maj
> > >>            Assignee: Filip Maj
> > >>             Fix For: 2.4.0
> > >>
> > >>
> > >> There are too many issues with removing git as a dependency.
> > >> First, with future support coming for moving between different
> > >>versions, we will likely need to download and extract multiple versions
> > >>of the git repos.
> > >> Second, removing the git dependency and going with just tag downloads
> > >>from github is difficult at this time as the github mirrors are
> > >>inconsistent and keep getting backed up.
> > >> One thing that is stable is the canonical source repo.
> > >> For this issue, remove downloading and extracting tag zipballs.
> > >>Instead, clone the source and checkout the needed tags as necessary.
> > >
> > >--
> > >This message is automatically generated by JIRA.
> > >If you think it was sent incorrectly, please contact your JIRA
> > >administrators
> > >For more information on JIRA, see:
> http://www.atlassian.com/software/jira
> >
> >
>

Re: Revert CLI tools to using git

Posted by Andrew Grieve <ag...@chromium.org>.
Makes perfect sense to me. We shouldn't be depending on github when our
code lives on Apache servers. git is a pretty easy dependency to install,
and I also think the versioning / tags use-case is important.

Brian, what's your concern with using git?


On Mon, Jan 7, 2013 at 5:21 PM, Filip Maj <fi...@adobe.com> wrote:

> As per below, bringing this up on the list.
>
> The CLI tools originally used git as a dependency to handle the various
> platform libraries. Then we reverted in an effort to reduce our
> dependencies.
>
> But, the CLI tools have been dysfunctional over the past month or so due
> to the github mirrors being wonky. The github mirrors provide convenient
> .zip archives of each tag, however the mirrors are inconsistent. First the
> BlackBerry repo was incorrect for a while due to us changing the name. Now
> the Android repo is way out of date for some reason.
>
> I am of the opinion that we should revert back to using git, as we know
> the repo will be up at all times, unlike the mirrors. Additionally, at
> some point we have to start supporting different versions (tags) of the
> libraries, where the client code will be downloading x different tags
> anyways.
>
> Discuss and decide. In the meantime I suppose I will stop working on
> supporting this.
>
> On 1/7/13 12:44 PM, "Brian LeRoux (JIRA)" <ji...@apache.org> wrote:
>
> >
> >    [
> >
> https://issues.apache.org/jira/browse/CB-2164?page=com.atlassian.jira.plug
> >in.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546245#commen
> >t-13546245 ]
> >
> >Brian LeRoux commented on CB-2164:
> >----------------------------------
> >
> >Eh Fil, can we discuss on list? I really feel this is the wrong approach.
> >
> >> Revert CLI tools to using git
> >> -----------------------------
> >>
> >>                 Key: CB-2164
> >>                 URL: https://issues.apache.org/jira/browse/CB-2164
> >>             Project: Apache Cordova
> >>          Issue Type: Bug
> >>          Components: CLI
> >>    Affects Versions: 2.3.0
> >>            Reporter: Filip Maj
> >>            Assignee: Filip Maj
> >>             Fix For: 2.4.0
> >>
> >>
> >> There are too many issues with removing git as a dependency.
> >> First, with future support coming for moving between different
> >>versions, we will likely need to download and extract multiple versions
> >>of the git repos.
> >> Second, removing the git dependency and going with just tag downloads
> >>from github is difficult at this time as the github mirrors are
> >>inconsistent and keep getting backed up.
> >> One thing that is stable is the canonical source repo.
> >> For this issue, remove downloading and extracting tag zipballs.
> >>Instead, clone the source and checkout the needed tags as necessary.
> >
> >--
> >This message is automatically generated by JIRA.
> >If you think it was sent incorrectly, please contact your JIRA
> >administrators
> >For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>