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 423C410D02 for ; Thu, 17 Apr 2014 00:14:49 +0000 (UTC) Received: (qmail 25688 invoked by uid 500); 17 Apr 2014 00:14:48 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 25634 invoked by uid 500); 17 Apr 2014 00:14:47 -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 25623 invoked by uid 99); 17 Apr 2014 00:14:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 00:14:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of purplecabbage@gmail.com designates 209.85.223.171 as permitted sender) Received: from [209.85.223.171] (HELO mail-ie0-f171.google.com) (209.85.223.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 00:14:42 +0000 Received: by mail-ie0-f171.google.com with SMTP id ar20so11274698iec.16 for ; Wed, 16 Apr 2014 17:14:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:from:content-type:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; bh=L8zOCv/5bM7WTWxcOuwB8plshVJeZX0AeYkXLFYLkFE=; b=usO1gMh2rlrEGqWvRKJbe6MdEwrzo9Qh5ucviog6O0GdDSCIxJiXONA0yys0vMzYit kFAppvsGSn0TXYCf5pbKYqIXqYG0uxKXoHcxUKjOxkhRVmwSRYE412xPZirhDfX5Vhg4 6vnvXjhg9wGObVmbAQHtkQsTYYUAEHcFQdCXGkeSwrxVu2q63BENS3WkS1VITODxoiBD yy/YprcmekIp9ZXZ2SWKTJ6inXTEmm65zIdodnIp1PZVNgpO9B3xMGkEsOj7Txuv7Wlx ngCLV/0bpko4rB+awvF5rqB0jWfIoAgeO27yxxZGIdK6eIvzIqah9PvZQy9mFYv8W2b3 E2eA== X-Received: by 10.42.4.201 with SMTP id 9mr32034ict.57.1397693662428; Wed, 16 Apr 2014 17:14:22 -0700 (PDT) Received: from [25.92.123.228] ([24.114.22.136]) by mx.google.com with ESMTPSA id s9sm1934348igw.16.2014.04.16.17.14.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Apr 2014 17:14:21 -0700 (PDT) Subject: Re: Proposal for cli and plugman code rearrangement References: From: purplecabbage Content-Type: text/plain; charset=utf-8 X-Mailer: iPhone Mail (11D167) In-Reply-To: Message-Id: <534f1cdd.894d320a.1ccf.31e1@mx.google.com> Date: Wed, 16 Apr 2014 17:14:05 -0700 To: "dev@cordova.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-Virus-Checked: Checked by ClamAV on apache.org Oops, I am okay with anytime tomorrow.=20 How can they not list time zones in the UI? Sent from my iPhone > On Apr 16, 2014, at 3:05 PM, Victor Sosa wrote: >=20 > Great!! Thanks Mark >=20 >=20 > 2014-04-16 17:02 GMT-05:00 Mark Koudritsky : >=20 >> I'll arrange a hangout invite link several minutes before the start. >>=20 >>=20 >> On Wed, Apr 16, 2014 at 5:44 PM, Victor Sosa >> wrote: >>=20 >>> Is this agreed? Are we going to have the meeting on Thursday, April 17, >>> 14:00 ET? >>> Who's going to send the hangout invite? >>>=20 >>>=20 >>> 2014-04-16 16:40 GMT-05:00 tommy-carlos williams : >>>=20 >>>> Cruel. >>>>=20 >>>> The only difference in the Doodle between 2pm PST and 4pm+ PST is Jesse= >>>> and Brian. >>>>=20 >>>> This won=E2=80=99t be forgotten. You two are on my list now ;) >>>>=20 >>>> 4am on Good Friday, here I come. Yay? >>>>=20 >>>> - tommy >>>>=20 >>>>> On 17 April 2014 at 6:51:47 am, Mark Koudritsky (kamrik@google.com) >>>> wrote: >>>>=20 >>>> Ok, according to the doodle >>> tomorrow >>>> 14:00 Eastern =3D 11:00 Pacific seems to be an ok time. (I hope I got t= he >>>> time zones right). >>>> Let's organized a hangout tomorrow. >>>>=20 >>>> For the calendars: >>>> Thursday, April 17, 14:00 ET >>>> Thursday, April 17, 11:00 PT >>>>=20 >>>>=20 >>>>=20 >>>>> On Wed, Apr 16, 2014 at 4:23 PM, Brian LeRoux wrote: >>>>>=20 >>>>> To clear up my intent, I'm proposing >>>>>=20 >>>>> 1. Keep the Plugman and Cordova/CLI as separate repos that we publish >>> as >>>>> discreet modules (and use npm / package.json to manage deps) >>>>> 2. Create a new placeholder repo for staging common module extraction >>>>> called cordova-lib >>>>> 3. Publish many modules from this one git repo called cordova-lib and >>>>> prefix any module from it with `cordova-lib` (for example >>>>> cordova-lib-app-create would be a great module for sharing) >>>>> 4. Evaluate if any modules can graduate from cordova-lib to more >>>> generally >>>>> useful status and get their own git repos >>>>>=20 >>>>> Thoughts? >>>>>=20 >>>>>=20 >>>>>=20 >>>>> On Wed, Apr 16, 2014 at 12:28 PM, Carlos Santana < >> csantana23@gmail.com >>>>>> wrote: >>>>>=20 >>>>>> Brian >>>>>> yep I agree with directory "cordova-lib", "node_modules", "common". >>>>>> "common-lib" >>>>>> I think we are on the same page. >>>>>>=20 >>>>>> What do you mean by "published"? in "-package.json (published as >>>>>> cordova-lib-plugin-install)" >>>>>>=20 >>>>>> no actually publishing to npm registry, but just having a >> convention >>>> for >>>>>> the naming of the modules all starting with "cordova-lib-*" and >>>> matching >>>>>> location within repo? >>>>>>=20 >>>>>> { >>>>>> "version": "0.0.1", >>>>>> "name": "cordova-lib-plugin-install", >>>>>> .. >>>>>> } >>>>>>=20 >>>>>> { >>>>>> "version": "0.0.1", >>>>>> "name": "cordova-lib-util-a", >>>>>> .. >>>>>> } >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>> On Wed, Apr 16, 2014 at 3:11 PM, Brian LeRoux wrote: >>>>>>>=20 >>>>>>> I'm thinking a clean path might look something like this: >>>>>>>=20 >>>>>>> plugman >>>>>>> '-package.json -> cordova-lib-plugin-install >>>>>>>=20 >>>>>>> cordova-cli >>>>>>> '-package.json -> cordova-lib-plugin-install >>>>>>>=20 >>>>>>> cordova-lib >>>>>>> |-plugin-install >>>>>>> | '-package.json (published as cordova-lib-plugin-install) >>>>>>> etc >>>>>>>=20 >>>>>>> Wherein all the 'meat' ends up in cordova-lib and >>> plugman/cordova-cli >>>>>>> become light CLI wrappers. I don't see any reason we >> change/remove >>>> the >>>>>>> already extracted repos for the CLI and Plugman. >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> On Wed, Apr 16, 2014 at 11:58 AM, Carlos Santana < >>>> csantana23@gmail.com >>>>>>>> wrote: >>>>>>>=20 >>>>>>>> I was going to suggest node_modules but I think it doesn't work >>> for >>>>> us >>>>>>>> since we have two top level npm pacakges. If one top level npm >>>>> pacakge >>>>>> in >>>>>>>> the repo then its fine. >>>>>>>>=20 >>>>>>>> |cli >>>>>>>> | '-package.json >>>>>>>> | '-node_modules/util_a >>>>>>>> |plugman >>>>>>>> | '-package.json >>>>>>>> | '-node_modules/util_a >>>>>>>>=20 >>>>>>>> means "util_a" will be duplicated in repo >>>>>>>> plugman/node_modules/util_a >>>>>>>> cli/node_modules/util_a >>>>>>>>=20 >>>>>>>> or >>>>>>>> if you have >>>>>>>> node_module/util_a at the root, npm link ../node_modules/util_a >>>> still >>>>>>> needs >>>>>>>> to be done for cli and plugman node modules. >>>>>>>>=20 >>>>>>>> that's why I suggested to do the node_modules at dev/publish >> time >>>> to >>>>>>>> populate the both node_modules one for cli and one for plugman >>>>>>>>=20 >>>>>>>> Or maybe I missed something. >>>>>>>>=20 >>>>>>>> The tag for smaller modules, might be tricky but at the same >> time >>>> not >>>>>>>> necessary if they are consider bundle/private and living in >> same >>>> repo >>>>>>>>=20 >>>>>>>> Thanks Brian for putting the question out there on twitter >>>>> interesting >>>>>>>> feedback. >>>>>>>>=20 >>>>>>>> --Carlos >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> On Wed, Apr 16, 2014 at 2:10 PM, Brian LeRoux >>> wrote: >>>>>>>>=20 >>>>>>>>> I thought the node_modules comment might have been cheeky. >>>>>> (Suggesting >>>>>>> we >>>>>>>>> use npm to manage deps.) >>>>>>>>>=20 >>>>>>>>> Crap. Totally forgot about Good Friday. I have a one hour >>> window >>>>> open >>>>>>> on >>>>>>>>> Thu. =3D( >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>> On Wed, Apr 16, 2014 at 10:51 AM, Mark Koudritsky < >>>>> kamrik@google.com >>>>>>>=20 >>>>>>>>> wrote: >>>>>>>>>=20 >>>>>>>>>> The tip about placing the deps under node_modules right >> away >>>>> sounds >>>>>>>> very >>>>>>>>>> useful. This way the dev environment will be ready right >>> after >>>>> git >>>>>>>> clone; >>>>>>>>>> npm install with no extra magic. >>>>>>>>>>=20 >>>>>>>>>> This Friday is a holiday in Canada (Good Friday). >>>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>> On Wed, Apr 16, 2014 at 1:45 PM, Steven Gill < >>>>>> stevengill97@gmail.com >>>>>>>>=20 >>>>>>>>>> wrote: >>>>>>>>>>=20 >>>>>>>>>>> Git tags are not something we have talked about yet. >> Thanks >>>> for >>>>>>>> sharing >>>>>>>>>>> Brian! >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>> On Wed, Apr 16, 2014 at 10:39 AM, Brian LeRoux < >> b@brian.io >>>>=20 >>>>>> wrote: >>>>>>>>>>>=20 >>>>>>>>>>>> hey guys could we add Fri to that doodle? >>>>>>>>>>>>=20 >>>>>>>>>>>>=20 >>>>>>>>>>>> I asked around for opinions and got some interesting >>>>> responses >>>>>> to >>>>>>>> add >>>>>>>>>> to >>>>>>>>>>>> the discussion: >>> https://twitter.com/brianleroux/status/456242928298381312 >>>>>>>>>>>>=20 >>>>>>>>>>>> (Nothing really negative or positive.) >>>>>>>>>>>>=20 >>>>>>>>>>>>=20 >>>>>>>>>>>> On Apr 15, 2014 6:34 PM, "Andrew Grieve" < >>>>> agrieve@chromium.org >>>>>>>=20 >>>>>>>>> wrote: >>>>>>>>>>>>=20 >>>>>>>>>>>>> We didn't have time to cover this today, but I think >>> it's >>>>>>> better >>>>>>>>> off >>>>>>>>>>>>> as its own hangout anyways. >>>>>>>>>>>>>=20 >>>>>>>>>>>>> Created a doodle for Wed/Thurs. Add yourself if you'd >>>> like >>>>> to >>>>>>>>>>>>> participate in the discussion. >>>>>>>>>>>>>=20 >>>>>>>>>>>>> http://doodle.com/uvyr9454pvepz3a3 >>>>>>>>>>>>>=20 >>>>>>>>>>>>> On Tue, Apr 15, 2014 at 11:19 AM, Mark Koudritsky < >>>>>>>>> kamrik@google.com >>>>>>>>>>>=20 >>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> A short proposal< >> https://docs.google.com/document/d/1GVtG6BD266dqRURKaS-GEDefb0tBYt56acxrJ= EKAfmE/edit >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> for >>>>>>>>>>>>>> how to rearrange cli and plugman code. Let's >> discuss >>> it >>>>>>> during >>>>>>>>> the >>>>>>>>>>>>> hangout >>>>>>>>>>>>>> today. Feel free to comment. >>>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> -- >>>>>>>> Carlos Santana >>>>>>>> >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> -- >>>>>> Carlos Santana >>>>>> >>>=20 >>>=20 >>> -- >>> Victor Adrian Sosa Herrera >>> IBM Software Engineer >>> Guadalajara, Jalisco >=20 >=20 >=20 > --=20 > Victor Adrian Sosa Herrera > IBM Software Engineer > Guadalajara, Jalisco