Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 22306 invoked from network); 3 Jul 2008 09:09:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 09:09:48 -0000 Received: (qmail 89932 invoked by uid 500); 3 Jul 2008 09:09:49 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 89901 invoked by uid 500); 3 Jul 2008 09:09:49 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 89890 invoked by uid 99); 3 Jul 2008 09:09:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 02:09:49 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 09:08:57 +0000 Received: from [10.0.2.3] (e179134136.adsl.alicedsl.de [::ffff:85.179.134.136]) (AUTH: LOGIN jan, SSL: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Thu, 03 Jul 2008 08:57:16 +0000 Message-Id: From: Jan Lehnardt To: couchdb-dev@incubator.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Runtime Configuration - Re: CouchDB 0.9 and 1.0 Date: Thu, 3 Jul 2008 10:57:15 +0200 References: <7D76E702-4BB8-42FD-8704-9E8BA70F95BC@apache.org> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org In addition to the runtime configuration system, this branch comes with an erlang-based unit test system that can be run on installation time without the browser. This is, for now, to unit-test internals and not the HTTP API for wich the Futon- based test suite works just fine. I have only added a few unit tests for the runtime config so far but I plan to expand it. This can also be used by other modules within CouchDB. For the time being, this is a very simple erlang module, but we might want to do the switch to eunit here which is a more comprehensive solution to unit testing soonish. Since unit testing usually involves declaring functions that are then called by the testing framework, I'd say it is not that hard to switch from the simple one we have now to eunit, it doesn't matter if we wait with the eunit switch and instead start writing more tests against the current suite. (Well, I can't call it a framework or suite, it is just a few lines of code that I stole from David Reid (not the Apache one)). Additionally, Noah was so kind to hook up edoc generation to the build system. edoc is javadoc for Erlang. The build system scans our .erl files and generates a nice HTML API reference. The runtime config modules already are documented completely with edoc comments and I think we should make the same true for the rest of our modules as we go along. edoc is extemely simple to understand and this should be easy. Both things will come with the runtime config branch and are "only" additions to the codebase that don't introduce new features or otherwise interfere with the existing code so them being in a transient state for a release is no big deal I think and I don't think that we need to make any of them a priority for either release, while they are certainly nice to have. Cheers Jan -- On Jul 3, 2008, at 10:45, Jan Lehnardt wrote: > The runtime configuration is nearly complete > and just needs a bit of polishing. I'd ask if we > can merge the branch back to trunk soon to > get it more widely exposed and tested and > hopefully stable for the 0.9 release. > > Since it changes the names of configuration > variables it must come with big warning signs > or a smooth migration path (that we have to > come up with, yet). > > Cheers > Jan > -- > > On Jul 2, 2008, at 09:08, Jan Lehnardt wrote: > >> Hello everybody, >> this thread is meant to collect missing work items (features and >> bugs) for for our 1.0 release and a discussion about how to split >> them up between 0.9 and 1.0. >> >> Take it away: Damien. >> >> Cheers >> Jan >> -- >> > >