cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mirko Nasato (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-11143) creating app with template using git url new app ends up with .git repository from the template
Date Sun, 23 Oct 2016 14:28:59 GMT

    [ https://issues.apache.org/jira/browse/CB-11143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15599757#comment-15599757
] 

Mirko Nasato edited comment on CB-11143 at 10/23/16 2:28 PM:
-------------------------------------------------------------

Using a git template doesn't seem to work at all now.

{code}
$ cordova -v
6.3.1
$ cordova create myapp --template https://github.com/apache/cordova-app-hello-world.git
Error: Only local paths for custom www assets are supported.
{code}

Edit: raised CB-12055


was (Author: mirkonasato):
Using a git template doesn't seem to work at all now.

{code}
$ cordova -v
6.3.1
$ cordova create myapp --template https://github.com/apache/cordova-app-hello-world.git
Error: Only local paths for custom www assets are supported.
{code}

> creating app with template using git url new app ends up with .git repository from the
template
> -----------------------------------------------------------------------------------------------
>
>                 Key: CB-11143
>                 URL: https://issues.apache.org/jira/browse/CB-11143
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Carlos Santana
>            Assignee: Carlos Santana
>              Labels: triaged
>
> creating app with template using git url new app ends up with .git repository from the
template
> this creates a problem when user wants to add new app to git, since there is already
a .git there.
> Also having the git history of a template is something that a template provider doesn't
want.
> to reproduce
> 👻  $ cordova create myapp --template https://github.com/apache/cordova-app-hello-world.git
> Creating a new cordova project.
> Retrieving https://github.com/apache/cordova-app-hello-world.git using git...
> Repository "https://github.com/apache/cordova-app-hello-world.git" checked out to git
ref "master".
> /tmp
> 👻  $ ls myapp/.git
> HEAD        config      hooks       info        objects     refs
> branches    description index       logs        packed-refs



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message