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 9EAFE106AF for ; Wed, 7 Aug 2013 14:36:51 +0000 (UTC) Received: (qmail 85015 invoked by uid 500); 7 Aug 2013 14:36:51 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 84989 invoked by uid 500); 7 Aug 2013 14:36:51 -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 84981 invoked by uid 99); 7 Aug 2013 14:36:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 14:36:50 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of agrieve@google.com designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pb0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 14:36:46 +0000 Received: by mail-pb0-f45.google.com with SMTP id mc17so1964483pbc.32 for ; Wed, 07 Aug 2013 07:36:26 -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:from:date:message-id :subject:to:content-type; bh=8PdkGOIGc4k0SJxdtmDNhniMoza1CTdW2g5K6odEF+w=; b=ApPKvoXE7u/HhFiXCUitvjbd+byvm7XT0LVuzmKe8uSG/T4iI6xtoCaPLyz91AclJj 2UBzS2jbUvqZRqRoUHPhAJv4xSokvW5DRk6eLezHse9D+Dx0cXrEA8AQf0vkgRmHxObm WZsOQpK5k+v9sC3f1BAzYB2LYgYY97wZ+H5ogqGC97J5oB7EvgHuIo7mUrHAtUc9j/14 KW2qI5gUjYZJx0bnkYZblDlxWA4xrzagKloyLJACPjPZ5Mg63lpArIMfbpufPB/eUcMH mDjD3YJXnLGv5cm7xPErb7UbtY74QaXATOQrgXkF+340tRflbfnl0B15DkXmFcLT+VKd TpiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=8PdkGOIGc4k0SJxdtmDNhniMoza1CTdW2g5K6odEF+w=; b=fOtZBdN+4oAEV0pECBMTYTZw+Wlq6F3wgi4FCe2i9P07GipQhkUuZwNgAfshIMW5Sa 9TbnB/3jok3GqkKfjnKyRNLrx27eJYBsi6ijCmZMh0S/UIkBsFTsc3H3SCj19/pKc6ia 0jDuLobhsvyKbCVaVDxOolCTXwDW+6sLTOWyM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=8PdkGOIGc4k0SJxdtmDNhniMoza1CTdW2g5K6odEF+w=; b=T7Mo+nMcXRtQu5RUwQWi2nIDUjoC/nrNf9v7XLmGorqu1TCat/YHLJlZ73R0cb/bAj /+uDQx2I4RFnsaT8wOtN3L0QYYB6DjcDZUf3AIopruwWdMIvEF9AEzS6ud9ZlJOcbkSA Ta3T15aKsJc1SvDd3yWlxDi+2o7N2eszB79VUtY+uxpiCdQv6+SGY2Z3sZcrrmBwADMz jWZgrhgO1tDsyvUiHJgo+JkEQgg5I9+49IRaE5XzDGZhYLWkneLJcUFVRAi/fgiW+jhJ CJ8FRDfz48X2MEhoX80OpvWCnIVaCZZdULtvswtvK7qoYyN3YfQX8QBbzjwo3kGGLV+R yMow== X-Gm-Message-State: ALoCoQmHi3IDUzQlFslfXk2mrU5umcVk8prhVuEFNo9Jwmn2Qj3gy9+T9os4kcH+CuH3XhRXcR637xWJFXRb2n8zzUaJbU1a4sBsQ/JpqOjhaRYHl/3Itt9wMe0+StH2bsmjFoVEG59rXdvbMrRslhfwcUsvRpRc3PJVqMcrzIe9I6HAl25sPQFqsjTx7K6BeplWLSYOkrk+RuStoEo+DklevEno2Emnpw== X-Received: by 10.68.13.132 with SMTP id h4mr963977pbc.99.1375886186581; Wed, 07 Aug 2013 07:36:26 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.68.28.33 with HTTP; Wed, 7 Aug 2013 07:36:06 -0700 (PDT) In-Reply-To: References: From: Andrew Grieve Date: Wed, 7 Aug 2013 10:36:06 -0400 X-Google-Sender-Auth: OBXIO8D4iOjh2-WmQRR-mZenLUw Message-ID: Subject: Re: PROPOSAL: node.js all the script things To: dev Content-Type: multipart/alternative; boundary=bcaec51f8fcd674c5904e35c77bb X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51f8fcd674c5904e35c77bb Content-Type: text/plain; charset=ISO-8859-1 +1 for Android. On Wed, Aug 7, 2013 at 10:00 AM, Bryan Higgins wrote: > All BB scripts are already written in node, except for check_reqs. It's > hard to check for the existence of node using node. :) > > If other platforms go that way, we should standardize the location of the > scripts. I'd like to see them directly invoked by CLI rather than going > through the shell. > > > On Tue, Aug 6, 2013 at 7:24 PM, Anis KADRI wrote: > > > +1 if we can somehow automate a user-level node installation (or > > package it somehow). > > > > On Tue, Aug 6, 2013 at 3:28 PM, Filip Maj wrote: > > > That's a fair answer! I concur. The main win for me is in android + BB > > > land, for the reason you name, Jesse. > > > > > > On 8/6/13 3:24 PM, "Jesse" wrote: > > > > > >>I only think this should be done for the multi-OS platforms. > > >>Elsewhere it is just a make work project IMHO. > > >>I have spent a lot of time ensuring that I was not introducing > > >>dependencies, then we add node, and we get 600 deps. > > >> > > >>@purplecabbage > > >>risingj.com > > >> > > >> > > >>On Tue, Aug 6, 2013 at 3:14 PM, 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. > > >>> > > >>> > > > > > > --bcaec51f8fcd674c5904e35c77bb--