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 B99C610987 for ; Fri, 12 Jul 2013 17:41:09 +0000 (UTC) Received: (qmail 93939 invoked by uid 500); 12 Jul 2013 17:41:09 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 93804 invoked by uid 500); 12 Jul 2013 17:41:08 -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 93796 invoked by uid 99); 12 Jul 2013 17:41:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2013 17:41:07 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,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.23 as permitted sender) Received: from [64.18.1.23] (HELO exprod6og109.obsmtp.com) (64.18.1.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2013 17:41:01 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob109.postini.com ([64.18.5.12]) with SMTP ID DSNKUeA/l73rEFtuYJh1WuabzxRkynIDD7/W@postini.com; Fri, 12 Jul 2013 10:40:41 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 r6CHbGD8007583 for ; Fri, 12 Jul 2013 10:37:16 -0700 (PDT) Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r6CHed6A009651 for ; Fri, 12 Jul 2013 10:40:39 -0700 (PDT) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas03.corp.adobe.com ([10.8.189.121]) with mapi; Fri, 12 Jul 2013 10:40:39 -0700 From: Filip Maj To: "dev@cordova.apache.org" Date: Fri, 12 Jul 2013 10:40:38 -0700 Subject: Re: Converting scripts to node Thread-Topic: Converting scripts to node Thread-Index: Ac5/JuyDWmWW5WWOTmuuMKbESwfHvw== 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 have to agree with Lorin on this one. Windows scripts are getting ignored and not maintained, no surprise. Moving to node won't eliminate windows neglect but should mitigate the issue of unix fixes not making their way into windows scripts. Don't think it's super high priority to get done soon, though. On 7/12/13 10:27 AM, "Brian LeRoux" wrote: >So, science experiment. That's cool. [1] > >[1] https://twitter.com/jonathanpenn/status/355696329172844549 > > > >On Fri, Jul 12, 2013 at 10:07 AM, Filip Maj wrote: >> Main benefit here is abstracting away two scripts for *nix & >> windows-compatible platforms like android and blackberry. BB already >>uses >> node for those anyways.. >> >> On 7/12/13 9:47 AM, "Brian LeRoux" wrote: >> >>>Most of the scripts themselves shell out to things like adb or >>>whatever so putting another layer of scripting abstraction over top >>>feels unnecessary (to me). I suppose the benefit is that on Android >>>we'd have less code? >>> >>>Are there other benefits? >>> >>> >>> >>>On Thu, Jul 11, 2013 at 6:55 PM, Andrew Grieve >>>wrote: >>>> Cool! >>>> >>>> I don't think npm is a good idea for them since that will add another >>>> avenue for mistakes to be made. Shelling out to them seems fine. You >>>>can >>>> also just require() them if you're sure they aren't going to mess up >>>>you're >>>> apps state (e.g. change your CWD), but shelling out is certainly >>>>safer. >>>> >>>> >>>> On Thu, Jul 11, 2013 at 6:24 PM, Filip Maj wrote: >>>> >>>>> Don't think for android specifically there has been any work on this >>>>> >>>>> On 7/11/13 2:55 PM, "Andrew Grieve" wrote: >>>>> >>>>> >We talked about unifying on node post 3.0 for our scripts (e.g. >>>>>android >>>>> >create script). >>>>> > >>>>> >Was wondering if anyone had started on this? >>>>> >>>>> >>