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 <[email protected]> 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)" <[email protected]> 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
>
>

Reply via email to