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 2F25685C8 for ; Sat, 3 Sep 2011 17:12:45 +0000 (UTC) Received: (qmail 4973 invoked by uid 500); 3 Sep 2011 17:12:44 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 4874 invoked by uid 500); 3 Sep 2011 17:12:43 -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 4866 invoked by uid 99); 3 Sep 2011 17:12:43 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2011 17:12:43 +0000 Received: from localhost (HELO [192.168.1.34]) (127.0.0.1) (smtp-auth username nslater, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2011 17:12:42 +0000 Subject: Re: more dynamic _sidebar.html Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=iso-8859-1 From: Noah Slater In-Reply-To: X-Noah: Awesome Date: Sat, 3 Sep 2011 18:12:46 +0100 Content-Transfer-Encoding: 7bit Message-Id: <847F18FD-E6D0-44B1-8515-D6F67B525727@apache.org> References: To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1244.3) On 3 Sep 2011, at 11:30, Ladislav Thon wrote: >> Isn't it better to extend the JSON like this: >> { >> "couchdb": "Welcome", >> "version": "0.11.0", >> "name": "Apache CouchDB", >> "url": "http://couchdb.apache.org/" >> "logoSrc": "image/logo.png" >> "logoAlt": "Apache CouchDB: Relax" >> } Nope, I think this is a bad use of the root JSON document. > That would actually be great for another reason: you could distinguish > different CouchDB distributions, e.g. Apache CouchDB from Couchbase Single > Server (which currently says "version": "1.1.2", but is actually based on > CouchDB 1.0). I'd love to see that. Why is CouchBase setting the version to this?