Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8DE33DA07 for ; Tue, 11 Sep 2012 18:02:32 +0000 (UTC) Received: (qmail 82634 invoked by uid 500); 11 Sep 2012 18:02:32 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 82614 invoked by uid 500); 11 Sep 2012 18:02:32 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 82606 invoked by uid 99); 11 Sep 2012 18:02:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 18:02:32 +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.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vb0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 18:02:27 +0000 Received: by vbbez10 with SMTP id ez10so1024495vbb.6 for ; Tue, 11 Sep 2012 11:02:06 -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:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-system-of-record; bh=JnhOWRfHc/yeDZdRU4ZkyanWS7URbSXrM3aq0+bIU/c=; b=U9YcITe7WjBXmQlIYhy64me96fQqNcuKmuxBR4/w687Pzw9yfmX2EI5g6xHlWxQBA9 gNHQCDGmeF+EyZoI3FrIo9Y4LK2SIsXrvKHPcjNQ1RQyuq7FKoi1M1nUBfwzXQuo4HuI 3Oq/Lyqm4mvryy094uIFmgyPqTyubn+d5RfXxjmZOjEVMuF0Y3OBJgQCKP4ukuxCkOvD uvBgydYnzlNpjz0Qsz1c26Kwl9E1+ch9qWcK3SpV2nEomMwDmQkf8ZCFIS9kdIqGlZdj DMf724LFDFvEv1mkEepooAS2yghfeD0hPSYOCUW/Xy4tgaCag8MAmVSjYZ+DYQlTIjPn KiNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-system-of-record:x-gm-message-state; bh=JnhOWRfHc/yeDZdRU4ZkyanWS7URbSXrM3aq0+bIU/c=; b=W1xRaBBC2v9eq7AuMAasPTatcX3dqnuSOA2vATO6mtpeyJ+nb1p/RUKa8ayhObvboD 1lDfjkTjNk6ntXvAR1Lb3OXDqZ+T4KwX9ijjVvdW2kIbHePgfhRLOUPX2RofCq+4nGdJ AAYurVbXV9PBC97w/JmfYRx2xAg97taN1J9vNpWs/s2ndUeV4fanPOizWKOso9XcBZJP G3BD1WwDe6D+zkL/J2cs/xKVIjb7a1NMhLWhrNOKvhjaCj9+EAr0ZNyE9i/8Y44F/Da1 KS+wtbYjsDddzSumorupkQ5JevuF4Gz4uuiBZI9SFR5PBJs4/RTwSh6LFdWW+dWe3ZOm V4NQ== Received: by 10.220.221.203 with SMTP id id11mr10698246vcb.42.1347386526843; Tue, 11 Sep 2012 11:02:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.221.203 with SMTP id id11mr10698224vcb.42.1347386526645; Tue, 11 Sep 2012 11:02:06 -0700 (PDT) Sender: mmocny@google.com Received: by 10.58.236.4 with HTTP; Tue, 11 Sep 2012 11:02:06 -0700 (PDT) In-Reply-To: References: Date: Tue, 11 Sep 2012 14:02:06 -0400 X-Google-Sender-Auth: ppJrDi5Lf-YCS54uquEBfuMIndM Message-ID: Subject: Re: plugin tooling/specification From: Michal Mocny To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=14dae9ccdd4e4bbdc404c970df0e X-System-Of-Record: true X-Gm-Message-State: ALoCoQkVOJ52XdN6oVICd34XaO1OJ6nl3KMVjAywawwWB58DA3IrHyJQAPvxG3ul+QnOTqTXGIoDWZGCTOHXcbSCvnxLqLewqElpROdqELThlX2eRbGcyzPrnGGdf81tfopbfd3nhjFJWbofeTPMu6CnD5lbknQSG/jhClsMXZZt3SmR1B6vQDoXt89Pf1e+JkFTk/DImE2VdJnUUTYv94NelfXasLFwpA== X-Virus-Checked: Checked by ClamAV on apache.org --14dae9ccdd4e4bbdc404c970df0e Content-Type: text/plain; charset=ISO-8859-1 I no longer see missing commits, very odd! I assume that they had just backed up from some older version in time and rolled changes forward or something.. Anyway, final comments: * create [ []]] -- spurious ']' (after " [") * "scordova" -- spurious 's' * also noticed a missing space in the file and directory structure ascii tree before ".cordova/" (trivial detail, I know!) -Michal On Tue, Sep 11, 2012 at 1:48 PM, Mike Reinstein wrote: > Looks like Github is back to normal. Michal, I don't see any missing > commits though...maybe I forgot to include changes from your original > feedback? What seems to be missing? > > -Mike > > On Tue, Sep 11, 2012 at 11:32 AM, Mike Reinstein > wrote: > > > Oof, major service disruption in progress on github: > > https://status.github.com/ > > > > I really hope my changes weren't reverted! Wish I could check. :( > > > > -Mike > > > > > > On Tue, Sep 11, 2012 at 11:26 AM, Michal Mocny >wrote: > > > >> Maybe I am getting lost with all the urls/branches listed here (*cough* > >> surprise *cough), but it seems as though all the changes made recently > >> have > >> been reverted ( > >> > https://github.com/mreinstein/incubator-cordova-labs/tree/cordova-client > >> )? > >> > >> Anyway, I agree with changing the wiki to point to these new > instructions, > >> but am not sure where else those instructions may exist. > >> > >> Anyway, good job Mike, instructions are looking good. > >> > >> -Michal > >> > >> > >> On Tue, Sep 11, 2012 at 11:05 AM, Mike Reinstein > >> wrote: > >> > >> > I'd like to propose we replace the contents of this wiki page > >> > http://wiki.apache.org/cordova/CommandLineToolingDesign with a > simple > >> > note > >> > that points at the correct url "This documentation has merged into > >> > https://github.com/apache/incubator-cordova-labs/tree/cordova-client" > >> > > >> > Are there any other copies of this doc in other places? Other forks > we > >> can > >> > eliminate to reduce confusion? > >> > > >> > Has anyone heard from Andrew Lunny recently? I still have my change > docs > >> > that I submitted as a pull request but havent gotten any feedback, and > >> it > >> > seems like he hasn't been active on github in a few weeks. I'd prefer > to > >> > get the changes for pluginstall merged in so I can remove my copy. > >> > > >> > -Mike > >> > > >> > On Tue, Sep 11, 2012 at 10:52 AM, Mike Reinstein > >> > wrote: > >> > > >> > > > Subcommand argument formats still look off a bit > >> > > Fixed > >> > > > >> > > > I think the $ is unneeded. All the other shell code > >> > > > examples don't include the leading shell character. > >> > > > >> > > Actually, the opposite. Every example did have leading $ except for > >> the > >> > > first usage, which was inconsistent. But I agree $ is essentially > just > >> > > noise and have removed all instances from the doc. :) > >> > > > >> > > It would be nice to clean up the Random notes section. I think there > >> may > >> > > be some context associated with those chat discussion snippets that > >> were > >> > > copy/pasted in, so expanding on those points would be helpful for > >> > everyone > >> > > else (including me.) > >> > > > >> > > > >> > > > >> > > On Tue, Sep 11, 2012 at 10:41 AM, Michal Mocny >> > >wrote: > >> > > > >> > >> Subcommand argument formats still look off a bit, I think they > should > >> > look > >> > >> as follows: > >> > >> > >> > >> create [ []] > >> > >> platform ls > >> > >> platform add > >> > >> platform remove > >> > >> plugin ls > >> > >> plugin add (NOTE: why use "path-to-" here? Seems > >> > >> inconsistant with the other examples of add/remove) > >> > >> plugin remove > >> > >> build > >> > >> emulate > >> > >> > >> > >> > >> > >> > >> > >> Also, in the line "you can access the tool via $ cordova" I think > >> the $ > >> > >> is > >> > >> unneeded. All the other shell code examples don't include the > >> leading > >> > >> shell character. Alternatively we can add shell character to all > the > >> > >> other > >> > >> shell command examples. > >> > >> > >> > >> > >> > >> On Tue, Sep 11, 2012 at 10:24 AM, Mike Reinstein > >> > >> wrote: > >> > >> > >> > >> > I've updated my copy of the README.md, pulling changes from > Filip, > >> > >> Michal, > >> > >> > and Brian: > >> > >> > > >> > >> > >> > > >> > https://github.com/mreinstein/incubator-cordova-labs/tree/cordova-client > >> > >> > > >> > >> > If I've missed anything please let me know. > >> > >> > > >> > >> > -Mike > >> > >> > > >> > >> > On Tue, Sep 11, 2012 at 10:22 AM, Michal Mocny < > >> mmocny@chromium.org> > >> > >> > wrote: > >> > >> > > >> > >> > > I'm still unsure what a "baked in" plugin/platform would be, in > >> that > >> > >> > > context. Anyway, its not super important as the actual > argument > >> > types > >> > >> > may > >> > >> > > change over time. The gist of it is just that you can > reference > >> a > >> > >> > > plugin/platform using various typical methods and I think that > >> point > >> > >> gets > >> > >> > > across well enough. > >> > >> > > > >> > >> > > > >> > >> > > On Tue, Sep 11, 2012 at 8:38 AM, Brian LeRoux > >> wrote: > >> > >> > > > >> > >> > > > Considering the source I'd say 'baked' was intentional. > >> > >> > > > > >> > >> > > > > >> > >> > > > On Tue, Sep 11, 2012 at 5:29 AM, Mike Reinstein > >> > >> > > > wrote: > >> > >> > > > >> assumed to be a 'backed in' platform/plugin > >> > >> > > > > > >> > >> > > > > This must be a typo, eh? 'baked' was intended? > >> > >> > > > > > >> > >> > > > > On Tue, Sep 11, 2012 at 4:15 AM, Brian LeRoux > >> > wrote: > >> > >> > > > > > >> > >> > > > >> > * You will be able to access the client interface via: $ > >> > >> > > ./bin/cordova > >> > >> > > > >> > * * suggest replacing ./ with $(CORDOVA_CLIENT_DIR)/ > >> > >> > > > >> > >> > >> > > > >> Agree...tho the npm install should be global (in > >> > /usr/local/bin) > >> > >> > > > >> ....maybe we say as much? > >> > >> > > > >> > >> > >> > > > >> > >> > >> > > > >> > * Subcommands section > >> > >> > > > >> > * * Typical unix manpage style is to use [] to surround > >> > >> optional > >> > >> > > > >> arguments > >> > >> > > > >> > <> to surround explanations and nothing for keywords. > >> > Examples > >> > >> > that > >> > >> > > > need > >> > >> > > > >> > fixing include: > >> > >> > > > >> > * * * create [] [] > >> > >> > > > >> > * * * platform ls > >> > >> > > > >> > * * * platform add > >> > >> > > > >> > * * * etc > >> > >> > > > >> > * * even if we aren't aiming for manpage style here, > there > >> > >> > > > >> > are inconsistencies > >> > >> > > > >> > >> > >> > > > >> Sure > >> > >> > > > >> > >> > >> > > > >> > >> > >> > > > >> > * * File and Directory Structure ascii tree diagram > >> > >> > > > >> > * * * suggest appending / after directory names > >> > >> > > > >> > >> > >> > > > >> +1 > >> > >> > > > >> > >> > >> > > > >> > >> > >> > > > >> > * * ... it's assumed to be a 'backed in' > platform/plugin. > >> > >> > Otherwise, > >> > >> > > > it's > >> > >> > > > >> > assumed to be a URL to a gzipped tar archive... > >> > >> > > > >> > * * * Not sure what 'backed in' means here, nor how to > >> > identify > >> > >> > > > something > >> > >> > > > >> > as not being backed in so as to fallback to gzipped tar > >> > >> > > > >> > * * * Also wording sounds more like "else .. else" > >> instead of > >> > >> > "else > >> > >> > > > if .. > >> > >> > > > >> > else" (if that makes sense) :P > >> > >> > > > >> > >> > >> > > > >> Ya not sure what this is about? > >> > >> > > > >> > >> > >> > > > >> > >> > >> > > > >> > * * KewlApp directory structure ascii tree diagram > >> > >> > > > >> > * * * based on my understanding of the text, the > >> ios/android > >> > >> > > platforms > >> > >> > > > >> > should be subdirs of platforms/ and there should also > be a > >> > >> subdir > >> > >> > > > listed > >> > >> > > > >> in > >> > >> > > > >> > plugins/ > >> > >> > > > >> > >> > >> > > > >> Yes. > >> > >> > > > >> > >> > >> > > > >> > >> > >> > > > >> > * * Running tests warning > >> > >> > > > >> > * * * Perhaps explain how to bootstrap so as not to have > >> > >> failing > >> > >> > > tests > >> > >> > > > >> > instead of assuming the reverse? > >> > >> > > > >> > >> > >> > > > >> Yes. > >> > >> > > > >> > >> > >> > > > >> > >> > >> > > > >> > Also, I will look into bash completions in some spare > >> cycles > >> > >> and > >> > >> > if > >> > >> > > it > >> > >> > > > >> > looks reasonable I may volunteer for the task. I've > been > >> > >> curious > >> > >> > to > >> > >> > > > >> learn > >> > >> > > > >> > how those work :) > >> > >> > > > >> > >> > >> > > > >> That'd be awesome...but I'm thinking in a future iteration > >> once > >> > >> the > >> > >> > > > >> actual CLI API is more solid. (But knock yourself out!) > >> > >> > > > >> > >> > >> > > > > >> > >> > > > >> > >> > > >> > >> > >> > > > >> > > > >> > > >> > > > > > --14dae9ccdd4e4bbdc404c970df0e--