[
https://issues.apache.org/jira/browse/CB-8799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14488184#comment-14488184
]
ASF subversion and git services commented on CB-8799:
-----------------------------------------------------
Commit a7e71227d2157e677c3ce495341c83916f9b272f in cordova-lib's branch
refs/heads/master from [~TimBarham]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=a7e7122 ]
CB-8799 Save plugin/platform src and version to 'spec' attribute.
When --save option is used, plugin and platform source location or version
value is saved to 'spec' attribute in config.xml (source location takes
priority over version). This replaces 'version' attribute for platforms, and
'src' and 'version' attributes for plugins.
Also:
* Updated semver dependency to 2.1.0 to support tilde range.
* Ensure when save platform version (to platforms.json and config.xml) we save
the version that was actually installed.
* Ensure when save platform version to config.xml we save it as a tilde range.
github: close #202
> Ensure platforms and plugins save src/version to single attribute in
> config.xml
> -------------------------------------------------------------------------------
>
> Key: CB-8799
> URL: https://issues.apache.org/jira/browse/CB-8799
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Reporter: Tim Barham
>
> Currently when saving to config.xml, platforms save source or version into
> version attribute, and plugins save them separately into src and version
> attributes. They should both save to a single attribute (source taking
> priority over version) - that attribute might be called 'src', 'version' or
> 'spec'.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]