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 D79471023D for ; Wed, 7 Aug 2013 19:14:40 +0000 (UTC) Received: (qmail 66887 invoked by uid 500); 7 Aug 2013 19:14:40 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 66662 invoked by uid 500); 7 Aug 2013 19:14:39 -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 66644 invoked by uid 99); 7 Aug 2013 19:14:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 19:14:38 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.78 as permitted sender) Received: from [64.18.1.78] (HELO exprod6og127.obsmtp.com) (64.18.1.78) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 19:14:31 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob127.postini.com ([64.18.5.12]) with SMTP ID DSNKUgKcgpWnrpSlnD3ofJ/tGyQre1prv7ax@postini.com; Wed, 07 Aug 2013 12:14:11 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r77JAeD8000335 for ; Wed, 7 Aug 2013 12:10:40 -0700 (PDT) Received: from SJ1SWM219.corp.adobe.com (sj1swm219.corp.adobe.com [10.5.77.61]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r77JE96A008297 for ; Wed, 7 Aug 2013 12:14:09 -0700 (PDT) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by SJ1SWM219.corp.adobe.com ([fe80::d55c:7209:7a34:fcf7%11]) with mapi; Wed, 7 Aug 2013 12:14:09 -0700 From: Filip Maj To: "dev@cordova.apache.org" Date: Wed, 7 Aug 2013 12:14:06 -0700 Subject: Re: PROPOSAL: node.js all the script things Thread-Topic: PROPOSAL: node.js all the script things Thread-Index: Ac6TokqzGazZOkgTRhax2YWm7I5wUg== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.5.130515 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I resent that comment about lack of Windows testing! Have you seen my sweet swivel-monitor laptop that I have Windows 7 on? On 8/7/13 12:11 PM, "Jesse" wrote: >Well, given that only Benn, and myself have contributed to the windows 8, >and windows phone platform scripts, and no one else even seems willing to >test the windows phone platform, it seems unfair to suggest we throw away >working code, and rewrite it just for fun. > >Having a dependency on node is not a big deal, it is the 30+ other npm >libraries that always seem to come along, each with varying support for >windows, that I have issues with. > >I will consider writing you a node callable facade, that still calls the >.bat and wsh files behind the scenes. > > > >@purplecabbage >risingj.com > > >On Wed, Aug 7, 2013 at 11:40 AM, Steven Gill >wrote: > >> To install any plugins you at least need plugman which requires node. >>Our >> users are most likely going to have to install node as a dependency at >>some >> point. I don't see why having it as a dependency for platform libraries >>is >> such a big deal. >> >> >> On Wed, Aug 7, 2013 at 11:34 AM, M. Lantz wrote: >> >> > +1 >> > >> > Agreed I pretty much only use Cordova cli at this stage to make apps >>and >> > as such don't have any issues keeping my node up to date or relying >>on is >> > as a dependency. >> > >> > M. Lantz >> > >> > On 2013-08-07, at 1:07 PM, Frank Hennig >> wrote: >> > >> > > +1 for all platforms >> > > >> > > I think it's not really an completely new dependency. Some >>components >> > actually depends on node.js like cordova-cli and plugman. Many >>developers >> > of cordova app's actually using grunt or bower and other node related >> stuff >> > to lint or to test their html and js code. >> > > >> > > A consistent tool and script language it's easier to maintain an to >> > debug. >> > > >> > > >> > > On Aug 7, 2013, at 12:14 AM, Filip Maj wrote: >> > > >> > >> I would like to introduce node.js as a dependency for the platform >> > >> libraries, so that the platform scripts (bin/create, cordova/run, >>etc) >> > are >> > >> written in node. >> > >> >> > >> Pros: >> > >> - For multi-OS platforms (Android, BlackBerry), this reduces >>committer >> > >> cognitive load as the scripts do not need to be authored in two >> > different >> > >> script languages (I.e. Shell for unix-y Oses, Wscript for Windows) >> > >> - consistency in tool/script language. Cordova-js, coho, cli and >> plugman >> > >> are all written on top of node.js. >> > >> >> > >> Cons: >> > >> - Introducing a new dependency >> > >> >> > >> NB: This is separate from platform-spec; I would like to see >> > platform-spec >> > >> created/used regardless of the outcome of this thread. >> > > >> > >>