From: Mark Walters Date: Wed, 26 Mar 2014 22:01:39 +0000 (+0000) Subject: Re: [PATCH 0/2] cli: notmuch dump abstractions X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5349af52f1efbd995e0683abde97c2acaa9e925a;p=notmuch-archives.git Re: [PATCH 0/2] cli: notmuch dump abstractions --- diff --git a/b3/37d77ecb577bd0cc5791153d59555aae97f876 b/b3/37d77ecb577bd0cc5791153d59555aae97f876 new file mode 100644 index 000000000..8d7268d40 --- /dev/null +++ b/b3/37d77ecb577bd0cc5791153d59555aae97f876 @@ -0,0 +1,101 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 0C129431FBD + for ; Wed, 26 Mar 2014 15:01:54 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -1.098 +X-Spam-Level: +X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5 + tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, + NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 4pttWp4Cwb8R for ; + Wed, 26 Mar 2014 15:01:46 -0700 (PDT) +Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id BAA5E431FAF + for ; Wed, 26 Mar 2014 15:01:46 -0700 (PDT) +Received: from smtp.qmul.ac.uk ([138.37.6.40]) + by mail2.qmul.ac.uk with esmtp (Exim 4.71) + (envelope-from ) + id 1WSvtI-0006Oo-Ct; Wed, 26 Mar 2014 22:01:44 +0000 +Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost) + by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) + (envelope-from ) + id 1WSvtI-0000Yp-4U; Wed, 26 Mar 2014 22:01:44 +0000 +From: Mark Walters +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH 0/2] cli: notmuch dump abstractions +In-Reply-To: +References: +User-Agent: Notmuch/0.15.2+615~g78e3a93 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Wed, 26 Mar 2014 22:01:39 +0000 +Message-ID: <874n2kipq4.fsf@qmul.ac.uk> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Sender-Host-Address: 93.97.24.31 +X-QM-Geographic: According to ripencc, + this message was delivered by a machine in Britain (UK) (GB). +X-QM-SPAM-Info: Sender has good ham record. :) +X-QM-Body-MD5: 1a3a59a4ec9fa081c3b6ebca79ff6b7f (of first 20000 bytes) +X-SpamAssassin-Score: 0.0 +X-SpamAssassin-SpamBar: / +X-SpamAssassin-Report: The QM spam filters have analysed this message to + determine if it is + spam. We require at least 5.0 points to mark a message as spam. + This message scored 0.0 points. Summary of the scoring: + * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail + provider * (markwalters1009[at]gmail.com) + * 0.0 AWL AWL: From: address is in the auto white-list +X-QM-Scan-Virus: ClamAV says the message is clean +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 26 Mar 2014 22:01:54 -0000 + + +This series (with v2 of patch 2/2) LGTM +1 + +Best wishes + +Mark + + + +On Tue, 25 Mar 2014, Jani Nikula wrote: +> These are non-functional prep work for letting us do database dumps from +> elsewhere in notmuch, e.g. automatically before a database upgrade. +> +> BR, +> Jani. +> +> +> Jani Nikula (2): +> cli: abstract database dumping from the dump command +> cli: abstract dump file open from the dump command +> +> notmuch-dump.c | 120 +++++++++++++++++++++++++++++++++++---------------------- +> 1 file changed, 74 insertions(+), 46 deletions(-) +> +> -- +> 1.9.0 +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch