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 02F6911B6E for ; Wed, 30 Jul 2014 14:46:45 +0000 (UTC) Received: (qmail 20885 invoked by uid 500); 30 Jul 2014 14:46:44 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 20845 invoked by uid 500); 30 Jul 2014 14:46:44 -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 20833 invoked by uid 99); 30 Jul 2014 14:46:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 14:46:44 +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.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 14:46:38 +0000 Received: by mail-ob0-f172.google.com with SMTP id wn1so590529obc.17 for ; Wed, 30 Jul 2014 07:46:18 -0700 (PDT) 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 :content-type; bh=SjsHBAvYyqQF6FXPIurP9wijp2coT4mh556WFxOOYhI=; b=W8eiYCzTX7tITy7NVJV7CxtcesmTkinRAl1HAAfkjx60skyryXiMU/JoZ3+oJTihh+ BY9B+O3Ai/1Ir0sRXMOVaa8dchK9Nku75ihJrCIX59y+uQ4vtvzGoxMyoO8qfcSOS4KF nK2JeFYRdwiJY3tVJJz+fGkiLOPEo8/Pn/J1MZXeJpc45jGwGrq+8Zfc81TZ32c+oKtt 6XNEhpqwnygb6VCD5G6NKQMu/QbrqqfMJKys3RqJdR5A4AlbVR/X3ptTKRjj0rBsboIm hggxincXlZb7+TcnPzEa0h4EVFnNW1ggDTHmyVTP5WRJuNhyyNeqjv8oHhsk11m4xoxR AYIA== 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:content-type; bh=SjsHBAvYyqQF6FXPIurP9wijp2coT4mh556WFxOOYhI=; b=Vuq0Pl08znobP9g461/Qt/Ov9UKp9GTMZGPfx1jDZYggxNrYC4uM2XrserYGeuRRVN Qbku5DTNeqNVNIqENqrtpWFP5VZl11d1u4zlDga3I9tv0s/coxKN9YU0KstfsVYB6OeA eNRtHNZC0ZE6FahPCEcvUTJA5AwR41CfAviCKBul3egJclHQNYdQNd2LEScePfUBflZM MejTyqf/dSLaBZ5umv/GOrxwE2TGNxdzZSA+gZBiYao+M5GEiZeuMSwfYRNrMCeZReib hHHCWVoHrb3BIJLyFfgrEEo0uT5qRrNyGxlBlf8/RYv8n78HkgrKW4Qpq9+swFjtfx5o Vl4A== X-Gm-Message-State: ALoCoQn5uIiXC86jIoGp7SRFNie6m+CaQV9Dco6rB07cNY/PDOaFn20aLyNlFO05YEBZFkO+R0zI MIME-Version: 1.0 X-Received: by 10.182.112.134 with SMTP id iq6mr6400516obb.34.1406731577734; Wed, 30 Jul 2014 07:46:17 -0700 (PDT) Received: by 10.202.193.132 with HTTP; Wed, 30 Jul 2014 07:46:17 -0700 (PDT) In-Reply-To: References: <20140729223207.6357079.13749.6173@blackberry.com> Date: Wed, 30 Jul 2014 10:46:17 -0400 Message-ID: Subject: Re: missing documentation and missing major version bump From: Mark Koudritsky To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=089e0149cf60fc5ccb04ff6a3707 X-Virus-Checked: Checked by ClamAV on apache.org --089e0149cf60fc5ccb04ff6a3707 Content-Type: text/plain; charset=UTF-8 --extraplatformargs would also be ok, but it's not really different from the -- separator as it works right now. You can do cordova run -- magicpostionarg --xcodeflag --bbflag=42 and it will pass along everything after the " -- " as is (in the original order). On Wed, Jul 30, 2014 at 10:36 AM, Carlos Santana wrote: > Mark > What about having a generic door? meaning something like -extraplatformargs > cordova run --extraplatformargs="magicpostionarg --xcodeflag --bbflag=42" > > then pass down the value of extraplatformargs, then platform scripts should > properly implement the parsing of arguments using "-" or "--" or for now if > extraplatformargs contain position args they will get what they expect. > > > > On Wed, Jul 30, 2014 at 10:24 AM, Mark Koudritsky > wrote: > > > On Wed, Jul 30, 2014 at 1:46 AM, Carlos Santana > > wrote: > > > > > Yep Michal I agree to update cli to pass down extra parameters to > > platform > > > scripts like it used. this allow for greater flexibility in platform > > > scripts and no hardcoded platform concerns in cli. No need to remove > nopt > > > if the this can be achieved. > > > > > > > > The list of flags to pass down to run will have to be hard coded in the > > cli, unless we want to go back to the manual position based argument > > parsing. > > > > I don't think we want > > cordova run --verbose > > to mean something different than > > cordova --verbose run > > but I think it's ok to expect that > > cordova run -- --verbose will mean something different. > > And it also allows things like > > cordova --verbose run -- --verbose > > > > The -- separation is exactly what allows the flexibility to pass anything > > to the run and build scripts without telling the cli what to expect or > not > > expect after the -- . > > > > But going back to the origins of this discussion. The lack of > documentation > > in help.txt about the -- thing is my bad. Thanks to Josh for adding it > > yesterday. But why revert the behavior? (and why only for the pre-4.0 > > versions) If webworks is not affected, who is? Are those real people? If > > they have already hit, and possibly solved the problems caused by this > > change, do they want to revert back? Would be glad to hear from them. > > > > > > -- > Carlos Santana > > --089e0149cf60fc5ccb04ff6a3707--