cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12517) config.xml name value and id values should be copied into pkgjson
Date Sat, 15 Apr 2017 01:11:41 GMT

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

ASF subversion and git services commented on CB-12517:
------------------------------------------------------

Commit 08d47d86e55b5e471d1a8eac709d2191eecb09cb in cordova-lib's branch refs/heads/common-2.0.x
from [~auso]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=08d47d8 ]

CB-12425 & CB-12517 :12425: autocreate a package.json if it doesn't exist during restore
& 12517: pkgJson name is config id and pkgJson displayname is config's name
CB-12517 : pkgJson's name is config.xml's id and pkgjson's displayName is config.xml's name

 This closes #521


> config.xml name value and id values should be copied into pkgjson
> -----------------------------------------------------------------
>
>                 Key: CB-12517
>                 URL: https://issues.apache.org/jira/browse/CB-12517
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-create
>            Reporter: Steve Gill
>            Assignee: Audrey So
>              Labels: cordova-7.0.0
>
> cordova create currently takes config.xml name value and copies it over to package.json
name value. It makes more sense to copy that over to a new value in package.json called displayName
and copy config.xml's id field as package.json name. 
> The config.xml ID is lowercase and has no spaces where the config.xml name can have spaces
which is invalid for package.json



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message