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 049566DE19CE for ; Sat, 17 Oct 2015 13:45:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.108 X-Spam-Level: X-Spam-Status: No, score=0.108 tagged_above=-999 required=5 tests=[AWL=0.098, 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 4K1Jtw8QzKPw for ; Sat, 17 Oct 2015 13:45:20 -0700 (PDT) Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 45DF26DE19E8 for ; Sat, 17 Oct 2015 13:45:20 -0700 (PDT) Received: from remotemail by gitolite.debian.net with local (Exim 4.80) (envelope-from ) id 1ZnYLG-0006uo-Gc; Sat, 17 Oct 2015 20:44:38 +0000 Received: (nullmailer pid 25679 invoked by uid 1000); Sat, 17 Oct 2015 20:43:04 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 1/8] NEWS: news for initial revision tracking support (0.21) Date: Sat, 17 Oct 2015 17:42:46 -0300 Message-Id: <1445114573-25561-2-git-send-email-david@tethera.net> X-Mailer: git-send-email 2.5.3 In-Reply-To: <1445114573-25561-1-git-send-email-david@tethera.net> References: <1445114573-25561-1-git-send-email-david@tethera.net> 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: Sat, 17 Oct 2015 20:45:22 -0000 --- NEWS | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/NEWS b/NEWS index 3593ded..019da55 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,31 @@ General Notmuch now requires gmime >= 2.6.7. The gmime 2.4 series is no longer supported. +Database revision tracking: `lastmod:` queries + + Each message now has a metadata revision number that increases with + every tagging operation. See the discussion of `lastmod:` in + `notmuch-search-terms(7)` for more information. + +Notmuch database upgrade to support `lastmod:` queries + + The above mentioned `lastmod:` prefix. This will be done + automatically, without prompting on the next time `notmuch new` is + run after the upgrade. The upgrade is not reversible, and the + upgraded database will not be readable by older versions of + Notmuch. As a safeguard, a database dump will be created in the + `.notmuch` directory before upgrading. + +Command Line Interface +---------------------- + +Database revision tracking + + Two new options were added to support revision tracking. A global + option "--uuid" (`notmuch(1)`) was added for to detect counter + rollover and reinitialization, and `notmuch-count(1)` gained a + `--lastmod` option to query database revision tracking data. + Emacs Interface --------------- @@ -27,6 +52,12 @@ Library The use of absolute paths is now enforced when calling `notmuch_database_{open, create}`. +Database revision tracking + + Revision tracking is supported via a new prefix "lastmod:" in the + query parser and the new function + `notmuch_database_get_revision`. For the latter, see `notmuch(3)`. + Notmuch 0.20.2 (2015-06-27) =========================== -- 2.5.3