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 39C4ED05F for ; Tue, 12 Mar 2013 19:57:14 +0000 (UTC) Received: (qmail 74845 invoked by uid 500); 12 Mar 2013 19:57:13 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 74805 invoked by uid 500); 12 Mar 2013 19:57:13 -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 74733 invoked by uid 99); 12 Mar 2013 19:57:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Mar 2013 19:57:13 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of braden@google.com designates 209.85.214.46 as permitted sender) Received: from [209.85.214.46] (HELO mail-bk0-f46.google.com) (209.85.214.46) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Mar 2013 19:57:08 +0000 Received: by mail-bk0-f46.google.com with SMTP id j5so112488bkw.5 for ; Tue, 12 Mar 2013 12:56:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=auHy608s1IUKZC+6EHe/Hy5VC/xfFg3suUZV/EjMRI4=; b=ZUZHSECMdUxDkb6VpLEAzYw9J66ZuZ0y2HxaQeOXVqeWzF7hK/vYiaBYU7EoVTpkNR ZYxFMbjbDLxpdJv4wrz82EvRKEzYuWB58Zeifl0Hk95UMBCEdv5gV672WzOQf7OiJhye 78OWiMbV6sI17W5oMdQcKoD+mofxF8yhRHsYVulMhheB7jT/dbl/Z+aaLhIQLF6LOFHc p4+f8uEFubxn6bFDDdyZu9USCOAf/ffOrUcE1NT93ZGtCatd+iZouaZitkHnLOdwTgB9 Wnkc3kNzy9bVhOJRSUmFkFSn+1bbQAT393ukZIUR4RsXnkUtaNSUmOdKNna9VXIf7EhH ciNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=auHy608s1IUKZC+6EHe/Hy5VC/xfFg3suUZV/EjMRI4=; b=Q2b0aBGKsg7iSMmasEvWRfTZ5XJ28Pqeq0pdj582xV+Ftpe80vkXW7op2637Y3Tcq2 CmRDgoIVn7UJfJrcg4U/RmL+wefZ4uTsUMNDM8UM4dCbuTnhi9veWs11wYthB/P0bpOP UKuxjtsLC062KZ1KJMRdGQhIwtrPHuV3hWfvs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-gm-message-state; bh=auHy608s1IUKZC+6EHe/Hy5VC/xfFg3suUZV/EjMRI4=; b=Cx0xTKcnn6+7vI1oh5b/y5v/5nl0/gs5nPEMN7JuH6spEHj3fhYiJuw8ztMr0qY+Sn zExur1a0jqpfo2RezLY0hjZViwMo8LOfM4Z7+sdJDNgxKFjL3nd+azyJMtwTuy+4jDj6 XPJs5SJ91n97Zhu3eRnf3C1OAh08KpEXVl53WbxX5KXkOCl9quHdejTTXOlf0vowLPjF MZlwReCbdzI1TO48ePZ+6rbKLPq0Tp00OvACvvFBHWkbTAokwfZez1dojgupS3T5N9PH rDy8ANXlVix1FvRAIvIHLfkye2B9IlsDTGORZG/uE5nGL44gUs8ru7d5htSMr5Eo+NwX 5gEQ== MIME-Version: 1.0 X-Received: by 10.205.43.9 with SMTP id ua9mr6710793bkb.126.1363118207532; Tue, 12 Mar 2013 12:56:47 -0700 (PDT) Sender: braden@google.com Received: by 10.204.36.214 with HTTP; Tue, 12 Mar 2013 12:56:47 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Mar 2013 15:56:47 -0400 X-Google-Sender-Auth: ZgX_W5nc5VJjPEhEUmm9JgeqmYs Message-ID: Subject: Re: A word about plugins From: Braden Shepherdson To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=bcaec52bf02b8c4bc204d7bfb047 X-Gm-Message-State: ALoCoQmDFNU0ImfPGHSz/4a59cfy2UROf8Cy9GmZHXNiBDGwAAb7tBFO0v5ZMLalGBdZ+YtN6teYFSpCD0nYKXYOOp4VcxuBIT9RQSbnE6s0gtasTikLSUfIp316yIMIpEMWhB1Bn30tZH3qH3Cz/VhLQVe36YL0ScUUYa01+vYFeBk4TPTCPyepINfrQF8+BL95Hyfdrmvs X-Virus-Checked: Checked by ClamAV on apache.org --bcaec52bf02b8c4bc204d7bfb047 Content-Type: text/plain; charset=ISO-8859-1 Well, people keep making this implicit assumption and I have to keep fixing it to keep my several JS-only plugins working. The problem with plugman is a higher-level problem. If we want to keep plugman as a separate tool to support building Cordova apps manually, then we need a solution to detecting what plugins are installed. I'm not sure what that approach should be. On Tue, Mar 12, 2013 at 3:36 PM, Filip Maj wrote: > So should we file a plugman issue or is this a bigger problem around what > committers are doing? I'm confused, it sounds like someone did something > wrong? > > On 3/12/13 2:33 PM, "Braden Shepherdson" wrote: > > >This is a problem for adding and removing plugins in plugman. cordova-cli > >can use the existence of directories in plugins/ to know what's installed, > >but plugman can't do that. It currently looks for a tag or > > tag, and assumes they exist, which causes errors. So I check > >whether the tag is defined before trying to read attributes from it. > > > >That avoids the error but doesn't solve the problem of knowing what is and > >isn't installed. Plugman just assumes JS-only plugins are never installed, > >so they can be double installed, and can't be removed. > > > > > >On Tue, Mar 12, 2013 at 3:24 PM, Brian LeRoux wrote: > > > >> Hey Braden, is there a specific place this happened? > >> > >> On Tue, Mar 12, 2013 at 8:45 AM, Braden Shepherdson > >> > >> wrote: > >> > There are JS-only plugins with no native side. Stop writing code that > >> > expects there will always be a or directive in > >> > plugins.xml > >> > > >> > There are native-only plugins with no Javascript, too. > >> > > >> > Braden > >> > > --bcaec52bf02b8c4bc204d7bfb047--