You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/20 14:27:10 UTC

[GitHub] brodybits edited a comment on issue #18: Version pinning in Cordova CLI (via cordova-lib)

brodybits edited a comment on issue #18: Version pinning in Cordova CLI (via cordova-lib)
URL: https://github.com/apache/cordova/issues/18#issuecomment-423196303
 
 
   > In https://github.com/apache/cordova-lib/blob/master/src/platforms/platformsConfig.json
   > Cordova "pins"
   > [...]
   
   to a specific MAJOR+MINOR version using the `~` (tilde) character, which would still match if a patch is made on the same MAJOR+MINOR version.
   
   I *think* some of the `semver` rules and features would apply if used by the user, would have to investigate and test to say for sure.
   
   > 4\. Does this behavior still make sense today?
   
   I think so.
   
   Definitely should not use higher major version of a platform unless explicitly requested by user.
   
   It *should* also be possible for Cordova to the platform to specific major only by using `^` (caret). I would personally not favor this by default.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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