cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8784) Prepare with no platforms should restore all platforms
Date Thu, 02 Apr 2015 22:28:53 GMT

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

ASF GitHub Bot commented on CB-8784:
------------------------------------

Github user purplecabbage commented on the pull request:

    https://github.com/apache/cordova-lib/pull/200#issuecomment-89064360
  
    +1 Restore platforms if none specified (like you're doing here)
    +1 Restore the given platform(s) if they are not yet added but are listed in the config.xml
    +1  to this pull request
    
    The `cordova run missingPlatform` discussion is somewhat different.  We don't know for
certain that that is the user's intent except perhaps if they explicitly said `cordova run
android@3.7.1` 
    I want to avoid adding android@3.8.0 to a project that is perhaps using an older version
of other platforms.  But this could/should be in the discuss thread ...


> Prepare with no platforms should restore all platforms
> ------------------------------------------------------
>
>                 Key: CB-8784
>                 URL: https://issues.apache.org/jira/browse/CB-8784
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: Master
>            Reporter: Tim Barham
>            Assignee: Tim Barham
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> If you call {{cordova prepare}} with no platforms specified, we prepare all platforms
that are currently added, but we don't restore any that are in {{config.xml}}.
> However, If you call {{cordova prepare}} with a list of platforms, we restore those platforms
from {{config.xml}} first.
> To be consistent, if you call {{cordova prepare}} with no platforms, we should restore
all platforms listed in {{config.xml}}.



--
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