1 Return-Path: <bremner@tesseract.cs.unb.ca>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 514B36DE19CF
\r
6 for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 13:45:08 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.108 tagged_above=-999 required=5 tests=[AWL=0.098,
\r
12 T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id nQ3qnN7wMyhQ for <notmuch@notmuchmail.org>;
\r
16 Sat, 17 Oct 2015 13:45:06 -0700 (PDT)
\r
17 Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])
\r
18 by arlo.cworth.org (Postfix) with ESMTPS id 6620A6DE021E
\r
19 for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 13:45:06 -0700 (PDT)
\r
20 Received: from remotemail by gitolite.debian.net with local (Exim 4.80)
\r
21 (envelope-from <bremner@tesseract.cs.unb.ca>)
\r
22 id 1ZnYKE-0006uC-G7; Sat, 17 Oct 2015 20:43:34 +0000
\r
23 Received: (nullmailer pid 25693 invoked by uid 1000); Sat, 17 Oct 2015
\r
25 From: David Bremner <david@tethera.net>
\r
26 To: notmuch@notmuchmail.org
\r
27 Subject: [PATCH 8/8] NEWS: news for notmuch_directory_delete
\r
28 Date: Sat, 17 Oct 2015 17:42:53 -0300
\r
29 Message-Id: <1445114573-25561-9-git-send-email-david@tethera.net>
\r
30 X-Mailer: git-send-email 2.5.3
\r
31 In-Reply-To: <1445114573-25561-1-git-send-email-david@tethera.net>
\r
32 References: <1445114573-25561-1-git-send-email-david@tethera.net>
\r
33 X-BeenThere: notmuch@notmuchmail.org
\r
34 X-Mailman-Version: 2.1.18
\r
36 List-Id: "Use and development of the notmuch mail system."
\r
37 <notmuch.notmuchmail.org>
\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
39 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
41 List-Post: <mailto:notmuch@notmuchmail.org>
\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
45 X-List-Received-Date: Sat, 17 Oct 2015 20:45:08 -0000
\r
47 From: Jani Nikula <jani@nikula.org>
\r
50 NEWS | 13 +++++++++++++
\r
51 1 file changed, 13 insertions(+)
\r
53 diff --git a/NEWS b/NEWS
\r
54 index 6a33330..c544a8e 100644
\r
57 @@ -88,6 +88,19 @@ Library
\r
58 The use of absolute paths is now enforced when calling
\r
59 `notmuch_database_{open, create}`.
\r
61 +New function `notmuch_directory_delete` to delete directory documents
\r
63 + Previously there was no way to delete directory documents from the
\r
64 + database, leading to confusing results when the "ghost" directory
\r
65 + document of a renamed or deleted filesystem directory was
\r
66 + encountered every time the parent directory was being scanned by
\r
67 + `notmuch new`. The mtime of the old directory document was also used
\r
68 + if a directory by the same name was added again in the filesystem,
\r
69 + potentially bypassing the scan for the directory. The issues are
\r
70 + fixed by providing a library call to delete directory documents, and
\r
71 + deleting the old documents in `notmuch new` on filesystem directory
\r
72 + removal or rename.
\r
74 Database revision tracking
\r
76 Revision tracking is supported via a new prefix "lastmod:" in the
\r