Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6ECBA200C61 for ; Mon, 20 Mar 2017 17:32:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6DC7E160B71; Mon, 20 Mar 2017 16:32:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A1EAA160B95 for ; Mon, 20 Mar 2017 17:32:48 +0100 (CET) Received: (qmail 64921 invoked by uid 500); 20 Mar 2017 16:32:47 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 64737 invoked by uid 99); 20 Mar 2017 16:32:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2017 16:32:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C74D61AFC09 for ; Mon, 20 Mar 2017 16:32:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id b4UC78yn7kEi for ; Mon, 20 Mar 2017 16:32:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id D88335FCD7 for ; Mon, 20 Mar 2017 16:32:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AE2F0E0BCA for ; Mon, 20 Mar 2017 16:32:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 22760254DB for ; Mon, 20 Mar 2017 16:32:42 +0000 (UTC) Date: Mon, 20 Mar 2017 16:32:42 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12570) make --fetch true by default, make --nofetch flag MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Mar 2017 16:32:49 -0000 [ https://issues.apache.org/jira/browse/CB-12570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15932986#comment-15932986 ] 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_r106771856 --- 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 [...] ........... 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 ................ Update the version of Cordova used for a specific platform; update to the latest if no is specified --save ........................ Save the latest versions for specified platforms into config.xml - --fetch ....................... Fetches the plugin into the project's node_modules directory. - Uses `npm install` to do the fetching. - list .............................. List all installed and available platforms check ............................. List platforms which can be updated by `cordova-cli platform update` save .............................. Save version of all platforms added to config.xml + nofetch ........................... Prevents fetching the plugin into the project's node_modules --- End diff -- cordova platform nofetch isn't a command. i'd remove this line > 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