[jira] [Commented] (CB-5218) config.json should also carry the the engine information
[ https://issues.apache.org/jira/browse/CB-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13814928#comment-13814928 ] Gorkem ERCAN commented on CB-5218: -- It is the one that travels with the project ie $PROJECT/.cordova/config.json This is basically the first step in treating platforms folder as a build artifact. I think with this information CLI can just recreate all the platforms. I have opened up this one separate from a larger expand/squash request because JBoss tools is already able to do those and needs a common place to capture metadata. config.json should also carry the the engine information Key: CB-5218 URL: https://issues.apache.org/jira/browse/CB-5218 Project: Apache Cordova Issue Type: New Feature Components: CLI Affects Versions: 3.1.0 Reporter: Gorkem ERCAN CLI should add the engine information that it has used to create a project. This would allow us to share Cordova CLI projects without the platforms directory and CLI to regenerate them Also it would help IDEs and tools work with CLI generated proects. As a note phonegap build adds a lib[1] object with version and uri to the fetch the engine. Although the approach is correct the information on the Cordova version should allow git URIs in addition to packaged ones. [1] {lib:{www:{id:phonegap,version:3.0.0,uri:https://github.com/phonegap/phonegap-app-hello-world/archive/3.0.0.tar.gz}},id:AAA,name:HelloWorld} -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5218) config.json should also carry the the engine information
[ https://issues.apache.org/jira/browse/CB-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13814950#comment-13814950 ] Braden Shepherdson commented on CB-5218: I like the idea of putting this metadata into that file. We need to make sure it gets updated on a platform upgrade. We also need to be careful about version: dev, when installing from a local directory instead of downloading. config.json should also carry the the engine information Key: CB-5218 URL: https://issues.apache.org/jira/browse/CB-5218 Project: Apache Cordova Issue Type: New Feature Components: CLI Affects Versions: 3.1.0 Reporter: Gorkem ERCAN CLI should add the engine information that it has used to create a project. This would allow us to share Cordova CLI projects without the platforms directory and CLI to regenerate them Also it would help IDEs and tools work with CLI generated proects. As a note phonegap build adds a lib[1] object with version and uri to the fetch the engine. Although the approach is correct the information on the Cordova version should allow git URIs in addition to packaged ones. [1] {lib:{www:{id:phonegap,version:3.0.0,uri:https://github.com/phonegap/phonegap-app-hello-world/archive/3.0.0.tar.gz}},id:AAA,name:HelloWorld} -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5218) config.json should also carry the the engine information
[ https://issues.apache.org/jira/browse/CB-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13814340#comment-13814340 ] Braden Shepherdson commented on CB-5218: Which file is this? $PROJECT/.cordova/config.json? $HOME/.cordova/config.json? I don't really understand what this bug is asking for. I'm beginning to wonder, given the frequency with which I copied the project between machines and it's no longer working bugs are turning up, if we shouldn't build a cordova squash and cordova expand or whatever that can bundle up an app, with the necessary metadata to re-create it captured in some special file by the tools, which the expanding side can read and use to install the right versions of the various platforms and plugins. config.json should also carry the the engine information Key: CB-5218 URL: https://issues.apache.org/jira/browse/CB-5218 Project: Apache Cordova Issue Type: New Feature Components: CLI Affects Versions: 3.1.0 Reporter: Gorkem ERCAN CLI should add the engine information that it has used to create a project. This would allow us to share Cordova CLI projects without the platforms directory and CLI to regenerate them Also it would help IDEs and tools work with CLI generated proects. As a note phonegap build adds a lib[1] object with version and uri to the fetch the engine. Although the approach is correct the information on the Cordova version should allow git URIs in addition to packaged ones. [1] {lib:{www:{id:phonegap,version:3.0.0,uri:https://github.com/phonegap/phonegap-app-hello-world/archive/3.0.0.tar.gz}},id:AAA,name:HelloWorld} -- This message was sent by Atlassian JIRA (v6.1#6144)