From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 193D96DE1B66 for ; Sun, 5 Apr 2015 16:00:02 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.596 X-Spam-Level: X-Spam-Status: No, score=0.596 tagged_above=-999 required=5 tests=[AWL=0.586, T_HEADER_FROM_DIFFERENT_DOMAINS=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 EtMrWxzcHm0f for ; Sun, 5 Apr 2015 16:00:00 -0700 (PDT) Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 040136DE1B64 for ; Sun, 5 Apr 2015 15:59:59 -0700 (PDT) Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim 4.80) (envelope-from ) id 1YetW2-0002nS-FT for notmuch@notmuchmail.org; Sun, 05 Apr 2015 22:59:42 +0000 Received: (nullmailer pid 2234 invoked by uid 1000); Sun, 05 Apr 2015 22:59:24 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Revision tracking, round 2 Date: Mon, 6 Apr 2015 07:59:02 +0900 Message-Id: <1428274754-1698-1-git-send-email-david@tethera.net> X-Mailer: git-send-email 2.1.4 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: Sun, 05 Apr 2015 23:00:02 -0000 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 the 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"