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 0762410F9F for ; Wed, 8 Jan 2014 19:52:39 +0000 (UTC) Received: (qmail 39709 invoked by uid 500); 8 Jan 2014 19:52:38 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 39674 invoked by uid 500); 8 Jan 2014 19:52:38 -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 39666 invoked by uid 99); 8 Jan 2014 19:52:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 19:52:38 +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 kamrik@google.com designates 209.85.128.44 as permitted sender) Received: from [209.85.128.44] (HELO mail-qe0-f44.google.com) (209.85.128.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 19:52:34 +0000 Received: by mail-qe0-f44.google.com with SMTP id nd7so2277610qeb.31 for ; Wed, 08 Jan 2014 11:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KzUp2DrWO8ffMDBfxmNkAUa/uN+/wxzaVez75BqBXPo=; b=OVN18lRxR8H+b5LysgffuUwLoe2Sfx9sNPMsVBqgCHKuSAVsGu59ytZVF8BFnZYvEc kqqn7Wro1M6lXF9WadGND9oWSPfe3CBCDyKSf05dKRSs/R0xvf4uxd/GqRFKhPQt+edg Hc35a7Ja5LwckdqRc5ZCgkP44a3KWeUWwlbooQ7Z7IuX1PmWbECSvxrqr6OVIcZruTk6 8Dd8rZ1Bo39Y6f/rpqEcg3VCQ/I3hTFOA6tCzgtieGL/FLppPi5/pHduvasCz3KH5HkA KZR99TXgCd+WC5yeGbV3rtH08bsWote3UTz6tus4R67J9l8EAiuRUeA0IvM5/xAUXw6p v1Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=KzUp2DrWO8ffMDBfxmNkAUa/uN+/wxzaVez75BqBXPo=; b=NKGoQaS/HntPI/xzEM6wBGKPAvBxFH1ppqe2DGJMdq4vgdyEMR5yOGMhB8GaA3fY5x H6tRsgHRfJpDeETOWnl57w8g/V44T4TTlD6E1SGVGG6vQbFyX0C5x+OFmQizEtDYTSCj p1OCDRoDafSfuIeda/77exx0mditKgMi89mh0r5Huw8YSTl9T0CIEuQnGb1FCyM69pXB mUP2n9qNsR53fnAIJvZN5ZQ8ytPKCRcQdVimmZyrNcOY2FXSlTugVV9i1praWfF/BMxa Oj+T+g7R678uIJR9P1ycuKl29IcR1SuNlzsUBuInoS43PfJkGEl7iGKWxXbqcKVlov/W xlKA== X-Gm-Message-State: ALoCoQljqiskId0PyUvCNrLkfoiwkYpafN3m7MdfaoMWtINyX5GvJwgoLOYXdv0jCW/0UwEzWmJd2JpTMqnckocOUWVb9ajhHM9pLD4/n2f0dbR9KvnyLn/SdLI6IFGW0bV6Ky/dhTWqUg7FYri9re2Oq0faKxscNjdNXtYhYmz603kjv5Ef0HCrqFkI6pjUyJN7ADGIhVO4TTX4heNMNP/k2g3XunLxjg== MIME-Version: 1.0 X-Received: by 10.49.24.140 with SMTP id u12mr163258895qef.78.1389210733873; Wed, 08 Jan 2014 11:52:13 -0800 (PST) Received: by 10.229.93.210 with HTTP; Wed, 8 Jan 2014 11:52:13 -0800 (PST) In-Reply-To: References: <20140108191525.11587.31548@reviews.apache.org> Date: Wed, 8 Jan 2014 14:52:13 -0500 Message-ID: Subject: Re: Review Request 16739: Change --searchpath to use repeated flag instead of delimiter From: Mark Koudritsky To: dev@cordova.apache.org Cc: Mark Koudritsky Content-Type: multipart/alternative; boundary=047d7b6d87ce4facc304ef7ad48b X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6d87ce4facc304ef7ad48b Content-Type: text/plain; charset=UTF-8 I think the use of searchpath as command line param will be rare, in most cases it will be stored in some config file (e.g. cordova.json) and it would be much better to keep it there in a platform independent format. On Wed, Jan 8, 2014 at 2:28 PM, Jesse wrote: > I think we should be using semi-colon as a delim when in a windows > environment, and colon in unix. > > Having multiple --searchpath flags on top of that is just extra sugar in my > opinion. > > Just like the system path ... > > > > @purplecabbage > risingj.com > > > On Wed, Jan 8, 2014 at 11:15 AM, Mark Koudritsky wrote: > > > > > ----------------------------------------------------------- > > This is an automatically generated e-mail. To reply, visit: > > https://reviews.apache.org/r/16739/ > > ----------------------------------------------------------- > > > > Review request for cordova. > > > > > > Bugs: CB-5006 > > https://issues.apache.org/jira/browse/CB-5006 > > > > > > Repository: cordova-plugman > > > > > > Description > > ------- > > > > Same diff on github: > > https://github.com/kamrik/cordova-plugman/compare/sp2 > > > > > > The colon can't be used as delimiter for Windows paths because > > they already contain colons e.g. C:\my_plugins > > Instead of using a delimiter, this change allows to repeat the > > --searchpath flag for each additional directory to be searched. > > The value for each path is resolved relative to the current dir. > > Example: > > --searchpath ../my_plugins --searhcpath /usr/lib/other_plugins > > > > The dirs are searched in order. Search is not recursive and will only > > look one level down. It will look for > > my_plugins/plugin_x/plugin.xml > > but not for > > my_plugins/bunch_of_plugins/plugin_y/plugin.xml > > > > > > Diffs > > ----- > > > > doc/help.txt 1ab3467 > > main.js 877c563 > > plugman.js 4c0f61b > > > > Diff: https://reviews.apache.org/r/16739/diff/ > > > > > > Testing > > ------- > > > > npm test > > plugman (un)install > > > > > > Thanks, > > > > Mark Koudritsky > > > > > --047d7b6d87ce4facc304ef7ad48b--