Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E4F7C5FD for ; Wed, 12 Mar 2014 17:41:51 +0000 (UTC) Received: (qmail 59278 invoked by uid 500); 12 Mar 2014 17:41:51 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 59181 invoked by uid 500); 12 Mar 2014 17:41:50 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 59173 invoked by uid 99); 12 Mar 2014 17:41:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 17:41:49 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mmocny@google.com designates 209.85.128.169 as permitted sender) Received: from [209.85.128.169] (HELO mail-ve0-f169.google.com) (209.85.128.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 17:41:45 +0000 Received: by mail-ve0-f169.google.com with SMTP id pa12so10802594veb.0 for ; Wed, 12 Mar 2014 10:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=SNhA/cSK8dZ/2MGKbyTkp0OYptrWOeN2SYGOMCMFzKA=; b=Gy5UEUwSpbBp7AqqtKcubKLoBSH8H/YmB/OZElSjoAmjqhnZPWo7tSv6WFq9s+J+Pp i1bpeipJioVk4wtmQLm4LwfWCMiRpBI9OkctLppk//wEWSk8N3UIon2Vwj4dBTs5bmMT lFTV5RudX3UeBefZhsvL4rPtytjQHxTV5PQPrfraW/j6aoswuUDGLmRJndBeF1IoK34B 5bMqh0F8/ozxHdU+uybpt2z0Wf9uT2LGxcZZiRG2EswVID6mc+q76MVcCYxR61iS7zQt Gv/TfWkqwAp+v2pLkRHU9+cTnzwmIlpg5ZdLpm5ZGJ9M4F/qNSzAxjuby8BmQVBoKrJl uH4w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=SNhA/cSK8dZ/2MGKbyTkp0OYptrWOeN2SYGOMCMFzKA=; b=H4bacbgeEbYMOR/nf1AkmsR26V5XtQ55jvellb6RoDssoIq0GPGM1oTzVVjS9wxadQ 5t2jXftoO94NotFPoQwqqTiPjnyPpvK6cyU2SgaEs2EPaZnie2jfaPSclFChoWVvDdZG 9p1U34iT039R1pTu1vXgSY4Hxtwoj6+J/u2l8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=SNhA/cSK8dZ/2MGKbyTkp0OYptrWOeN2SYGOMCMFzKA=; b=J/El3Uuh8ez0X3lD5fi+V4Mf9UGYNefJregXYKCSTwQcNMZi63f6YHBpaJqdnxee2m Awh7XuKfZKmAmub83gDR3MEq0KZy/lfEn++GDIC9r5GWevkofNOMdT9h9jxEuPJbrvFR WVXSOVrLMaztGwtxqbCGjjJZdj0i2CVweXiiMWLuVV6jZhZokVmNdXLZ+J8rgDJx5et+ My2GcrLg+iRhdFr/gTtFBhChexhqy2QauxJUjgxVeHLmJ+FTo7zT7zGlE7qz7stcvghY Y3HMjmZz9YXmQH1kDaP7DPMnL2psC8hB1vy9NBdsjWb1wMVwuJcZxwRairvd1gIHSxzN G6XQ== X-Gm-Message-State: ALoCoQlHAgUrQArFhdGWDSyZE5EwYY8Bo4AMaKU2SWjdRJLYAqmtwc6wtpj73RgeSI3JAEVVYfreLE0Quy8lBh+Qum7F+iH7G6i1F/lubuD+Vu7cqbnLvlxLwUPYf6KPbEsPiNPaAsX697aNEPSQxu3G+ujld47813Xsh7VsaEJXX/qgmLKOWHZhW430H/axmHq+A1KYr7alakCQ1McCkvJ5M8NAeA36ig== X-Received: by 10.52.188.41 with SMTP id fx9mr31349423vdc.19.1394646084737; Wed, 12 Mar 2014 10:41:24 -0700 (PDT) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.52.135.9 with HTTP; Wed, 12 Mar 2014 10:41:04 -0700 (PDT) In-Reply-To: References: From: Michal Mocny Date: Wed, 12 Mar 2014 13:41:04 -0400 X-Google-Sender-Auth: XYOyFLbSGiLCVWwKF27jLudDB6s Message-ID: Subject: Re: Explicitly added plugin gets deleted as dependent of other plugin To: dev Content-Type: multipart/alternative; boundary=bcaec5485ca077f27404f46c585c X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5485ca077f27404f46c585c Content-Type: text/plain; charset=UTF-8 If its dependant is removed, it will stop working anyway -- so why is it a bug to remove it? I think we should warn when this happens (if it happens silently, thats bad experience), or better yet prompt for input to confirm removal, but I'm not sure what it would mean to just leave pluginA installed when its dependant is removed, regardless of if each plugin was explicitly installed. -Michal On Wed, Mar 12, 2014 at 12:58 PM, Shazron wrote: > Just tested it with File and File-Transfer - looks like a bug. Please file > it, thanks! > > > On Wed, Mar 12, 2014 at 7:46 AM, Li, Jonathan wrote: > > > When testing with cordova 3.4.0-0.1.3, if a plugin A is a dependent of > > plugin B, then running the following command will automatically delete > > plugin B from the project > > > > cordova plugin add PluginB > > cordova plugin add pluginA > > cordova plugin rm pluginB > > > > As pluginA is explicitly added into the project, unless it is explicated > > removed from project by using "cordova plugin rm pluginA" command, then > it > > should not be deleted from the project when deleting pluginB. > > > > The test is done on iOS platform. > > > > Please let me know if this is a known issue, or whether I need to submit > a > > bug for it > > > > Thanks > > Jonathan > > > > > > > --bcaec5485ca077f27404f46c585c--