From a4ad1d7c3605b89a58e4ff2ecec525d344f278d6 Mon Sep 17 00:00:00 2001 From: Gaute Hope Date: Fri, 29 May 2015 21:56:51 +0000 Subject: [PATCH] Revision tracking, round 2 --- 27/7d303269f270c4518c599df78055adc56ba590 | 110 ++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 27/7d303269f270c4518c599df78055adc56ba590 diff --git a/27/7d303269f270c4518c599df78055adc56ba590 b/27/7d303269f270c4518c599df78055adc56ba590 new file mode 100644 index 000000000..455b422ed --- /dev/null +++ b/27/7d303269f270c4518c599df78055adc56ba590 @@ -0,0 +1,110 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 3D7786DE0AC2 + for ; Fri, 29 May 2015 14:57:01 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.467 +X-Spam-Level: +X-Spam-Status: No, score=0.467 tagged_above=-999 required=5 tests=[AWL=1.187, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 8tTaLDo7_fLP for ; + Fri, 29 May 2015 14:56:59 -0700 (PDT) +Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com + [74.125.82.52]) by arlo.cworth.org (Postfix) with ESMTPS id 0D0EF6DE0022 for + ; Fri, 29 May 2015 14:56:58 -0700 (PDT) +Received: by wgez8 with SMTP id z8so73136690wge.0 + for ; Fri, 29 May 2015 14:56:55 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:date:from:subject:to:references:in-reply-to + :user-agent:message-id:mime-version:content-type + :content-transfer-encoding; + bh=OXwtGi3s1j8l/n8ju2PIwBXSjlkp4045dbNcC5+eQD4=; + b=Q1Teg4N+UX2pfGJQSD+CET1HIfrrRlexYRUudWQgYi7042Yfe+fdeytO9OAqk7RLEW + GxslTvvT1gmNbKJOPl97CfEsXDtuWL0NAZOqtvyray3YZUJ+5X+Lh4uGxrU3A04dKtdJ + i2s1lEpRxsgrNA2Bz/UPJ/7Vg1DB652SUpEINUkm+pR4EDn2ZcOiyf6KyCIOcF+ikEk8 + uIE2V10Z8nS2Mxm28UxMHSlzsYRxgIi92j9UZuZVIJb8HRLevUCxQwWyV7GAWaw2iCFP + 1khq6x84OcNhJVrM+zbzE6ALEgQlJaZt/xU8zlEm1vm+s7GcRV3eNODFpJvEiz15jAAs + j/GQ== +X-Gm-Message-State: + ALoCoQmy22xlgb9+/agTt6UnWyoldy6vlbWZ/DDUZ7SbsG/XN0ly8dka7RN1iai+DBSjaKPebfEr +X-Received: by 10.194.103.130 with SMTP id fw2mr18174565wjb.130.1432936614679; + Fri, 29 May 2015 14:56:54 -0700 (PDT) +Received: from localhost (216.89-20-249.enivest.net. [89.20.249.216]) + by mx.google.com with ESMTPSA id u6sm10098557wja.40.2015.05.29.14.56.53 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Fri, 29 May 2015 14:56:53 -0700 (PDT) +Date: Fri, 29 May 2015 21:56:51 +0000 +From: Gaute Hope +Subject: Revision tracking, round 2 +To: notmuch@notmuchmail.org +References: <1428274754-1698-1-git-send-email-david@tethera.net> +In-Reply-To: <1428274754-1698-1-git-send-email-david@tethera.net> +User-Agent: astroid/vv0.3-5-ge2105be7 (https://github.com/gauteh/astroid) +Message-Id: <1432936375-astroid-4-0i1n6yczs2-1520@strange> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8; format=flowed +Content-Transfer-Encoding: quoted-printable +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Fri, 29 May 2015 21:57:01 -0000 + +Excerpts from David Bremner's message of April 6, 2015 0:59: +> There is lots to tidy up here, but the series has balooned to 12 patches = +since since Austin posted +> +> id:1413181203-1676-1-git-send-email-aclements@csail.mit.edu +> +> So I figure I better post it to get some feedback. +> +> These are unmodified from Austin's post +> [WIP2 01/12] lib: Only sync modified message documents +> [WIP2 02/12] lib: Add per-message last modification tracking +> [WIP2 07/12] lib: Add "lastmod:" queries for filtering by last +> +> This has two small bug fixes, a typo and an extra * removed. +> [WIP2 03/12] lib: API to retrieve database revision and UUID +> +> Together, the next 5 patches implement output format 3 +> [WIP2 04/12] cli: add type introspection to sprinter type +> [WIP2 05/12] cli: add two sprinter utility functions +> [WIP2 06/12] cli/show: add extra element to structured output for +> [WIP2 08/12] cli/show: add lastmod to structured output +> [WIP2 09/12] cli/search: add metadata element to structured output +> +> These two do a trivial convesion of parts of the emacs interface to use t= +he new format: +> [WIP2 10/12] emacs: convert notmuch-search to format-version 3 +> [WIP2 11/12] emacs: convert notmuch-tree to format-version 3 +> +> Finally, add db-revision argument. I'm not sure about the name, but I +> went with what Austin had written. This patch should probably be earlier= + in the sequence +> +> [WIP2 12/12] cli: add global option "--db-revision" + +I have been running your 'revision-tracking' branch from +git://pivot.cs.unb.ca/notmuch for a week now, with heavy usage of the +revision features (I used the old series before that). This has all +worked without problems so far, and performance seems to be good. + +- gaute + += -- 2.26.2