Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-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 88B14DA40 for ; Thu, 1 Nov 2012 18:02:41 +0000 (UTC) Received: (qmail 28379 invoked by uid 500); 1 Nov 2012 18:02:40 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 28337 invoked by uid 500); 1 Nov 2012 18:02:40 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 28299 invoked by uid 99); 1 Nov 2012 18:02:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 18:02:38 +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 (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.210.180 as permitted sender) Received: from [209.85.210.180] (HELO mail-ia0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 18:02:32 +0000 Received: by mail-ia0-f180.google.com with SMTP id f6so2015525iag.11 for ; Thu, 01 Nov 2012 11:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WU1SePbZv4RJpYSKjdBg932/VXe1XCFPF/XAOs3e2Pc=; b=JtF+yPzuV22jXKmMx9igG53lDtYXMdJ1VmNNinQOOceloE22Fx2dtX7BMxK6euDDxM Ql5v6uBxDK3I1xjXcf49//vqWItmXvpG3MRUH3foZd0LR8F2iNItCLPUuoD/A7PLbVoe fFS+CZxxGRlIqi5chYDDzq+GrNVZIyus0LL4nDCFPHQVzkp38+PvABSHZn8uSvDkhVlD D5k1EWG2V4DowaGOI5s838HBPFFY0DUH/XhPSZ3PGRMaohXPAmljaMBAWZnW3BC9KQJY hCBykKJGs/HWcVXHoHfBdMc9rzEgXXH7eRxqJyMA5K+rpyXHa6y/XP0LYl2LvuoQKG7E cPOQ== MIME-Version: 1.0 Received: by 10.50.197.169 with SMTP id iv9mr2145826igc.32.1351792931045; Thu, 01 Nov 2012 11:02:11 -0700 (PDT) Received: by 10.64.77.196 with HTTP; Thu, 1 Nov 2012 11:02:10 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Nov 2012 19:02:10 +0100 Message-ID: Subject: Re: Futon.Next Proof of Concept From: Benoit Chesneau To: "dev@couchdb.apache.org" Content-Type: multipart/alternative; boundary=14dae93404c577010d04cd72d1ea X-Virus-Checked: Checked by ClamAV on apache.org --14dae93404c577010d04cd72d1ea Content-Type: text/plain; charset=ISO-8859-1 because we have to rely on node which need we need to have to build v8, which means we have to rely on cmake or python .... On Thu, Nov 1, 2012 at 12:32 PM, Octavian Damiean wrote: > +1 for Grunt. > > I don't quite understand this general aversion against build tools based on > Node.js > On Nov 1, 2012 12:02 PM, "Simon Metson" wrote: > > > Hi, > > > > > Just to explicit my point of view. In erica there is a coming feature > > call > > > hooks that can be applied at any step on the process. In parallel, > before > > > sending the doc the json will b e put in the .erica/build folder : > > > > > > .erica/build/appYYYYMMDD folder (or version if specified) , so any > > > transformation can be applied on it. > > > > > > Since we are working on a version of erica that could be integrated in > > > couch I think it worth to work with it for the next futon. And while we > > are > > > here improve erica to fit your needs. > > > > > > > FWIW I wrote exactly this for situp (the couchapp tool I did a while > > back). I quickly came to the conclusion that pushing data to CouchDB was > by > > far the smaller part of the process and grunt did the rest better. I had > > pre/post processors that let me call out to external apps to build > > markdown, lint js, minify js, compile less, minify css, build docco docs > > etc. which all ended up being calls to grunt. The fact that you can push > an > > app into CouchDB from grunt made situp somewhat irrelevant. > > > > I know erica has more features than situp (e.g. the web based app builder > > gui) but I still prefer grunt+bbb for three reasons: > > > > 1. it does all the build/compile/test/lint stuff today, and is very well > > tested and documented > > 2. it's community is much larger than ours (e.g. its the build tool of > > jquery) > > 3. it enforces some "best practice" > > > > All that said, if erica develops the same (or similar) feature set > > (notably being able to push "CouchApps defined in a json file" as well as > > "CouchApps defined in the file system") then I don't see a reason to not > > use it. I have no particularly strong attachment to grunt, it's just > seems > > to currently be the best tool for the job. > > Cheers > > Simon > > > > > --14dae93404c577010d04cd72d1ea--