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-12570) make --fetch true by default, make --nofetch flag
Date Mon, 20 Mar 2017 16:32:42 GMT

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

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

Github user stevengill commented on a diff in the pull request:

    https://github.com/apache/cordova-cli/pull/271#discussion_r106767456
  
    --- Diff: doc/platform.txt ---
    @@ -11,29 +11,24 @@ Manage project platforms
                                             library directly instead of making a copy of
it (support
                                             varies by platform; useful for platform development)
             
    -        --fetch ....................... Fetches the plugin into the project's node_modules
directory. 
    -                                        Uses `npm install` to do the fetching.
    -
    -
    -
    +        --nofetch ..................... Prevent fetching the plugin into the project's
node_modules 
    +                                        directory. Prevent using `npm install` to do
the fetching.
     
         remove <platform> [...] ........... Remove specified platforms
             --save ........................ Delete specified platforms from config.xml after
removing them
    -        --fetch ....................... Removes the plugin from the project's node_modules
directory.
    -                                        Runs `npm uninstall` under the hood.
    -
    +        --nofetch ..................... Prevent removing the plugin from the project's
node_modules 
    +                                        directory. Prevent running `npm uninstall` under
the hood.
     
         update <plat-spec> ................ Update the version of Cordova used for
a specific platform;
                                             update to the latest <version> if no <plat-spec>
is specified
     
             --save ........................ Save the latest versions for specified platforms
into config.xml
     
    -        --fetch ....................... Fetches the plugin into the project's node_modules
directory. 
    --- End diff --
    
    yes


> make --fetch true by default, make --nofetch flag
> -------------------------------------------------
>
>                 Key: CB-12570
>                 URL: https://issues.apache.org/jira/browse/CB-12570
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI
>            Reporter: Steve Gill
>            Assignee: Audrey So
>              Labels: cordova-7.0.0
>             Fix For: 7.0.0
>
>
> We want to make --fetch true by default so all platform/plugin add/rm uses cordova-fetch
under the hood.
> Similar to how autosave was handled in https://github.com/apache/cordova-cli/pull/266



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