Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 21536 invoked from network); 17 Nov 2009 16:16:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Nov 2009 16:16:07 -0000 Received: (qmail 3045 invoked by uid 500); 17 Nov 2009 16:16:06 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 2930 invoked by uid 500); 17 Nov 2009 16:16:06 -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 2877 invoked by uid 99); 17 Nov 2009 16:16:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 16:16:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 16:16:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CAFF4234C48C for ; Tue, 17 Nov 2009 08:15:41 -0800 (PST) Message-ID: <1431966504.1258474541830.JavaMail.jira@brutus> Date: Tue, 17 Nov 2009 16:15:41 +0000 (UTC) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-570) CouchDB code improvements In-Reply-To: <1989925062.1258473579914.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778963#action_12778963 ] Adam Kocoloski commented on COUCHDB-570: ---------------------------------------- Thanks Kostis, in general the diff looks just fine. Personally, I prefer not to bind too many variables in the argument list of a function and instead reserve that space for pattern matching, but in the simple cases that you/tidier chose to do this it seems fine. I can take a closer look and apply this in the next day or two if no one beats me to it. Thanks for the note about the partial_find/4 function, too. That's very fresh code from Damien, perhaps he has a chance to double-check it. > CouchDB code improvements > ------------------------- > > Key: COUCHDB-570 > URL: https://issues.apache.org/jira/browse/COUCHDB-570 > Project: CouchDB > Issue Type: Question > Reporter: Kostis Sagonas > Priority: Minor > Attachments: DIFFS > > > Finally I've found the time today to sign up to jira (username: kostis). > I have a whole bunch of changes to the CouchDB code which were produced by 'tidier' (Jan Lehnard knows about this). > I am wondering what's the best way of contributing them? Create an issue and attach a patch/diff file? (I've done so) > Or maybe you prefer some other way? > Also, I've noticed that function couch_httpd:find_partial/4 returns either 'not_found' or {partial, N, K} but the place where this result is used (couch_httpd:673 or so) checks for matching against 'not_found' or {partial, Skip}. Somebody needs to fix that. > Best, > Kostis -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.