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 514B36DE19CF for ; Sat, 17 Oct 2015 13:45:08 -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 nQ3qnN7wMyhQ for ; Sat, 17 Oct 2015 13:45:06 -0700 (PDT) Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 6620A6DE021E for ; Sat, 17 Oct 2015 13:45:06 -0700 (PDT) Received: from remotemail by gitolite.debian.net with local (Exim 4.80) (envelope-from ) id 1ZnYKE-0006uC-G7; Sat, 17 Oct 2015 20:43:34 +0000 Received: (nullmailer pid 25693 invoked by uid 1000); Sat, 17 Oct 2015 20:43:04 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 8/8] NEWS: news for notmuch_directory_delete Date: Sat, 17 Oct 2015 17:42:53 -0300 Message-Id: <1445114573-25561-9-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:08 -0000 From: Jani Nikula --- NEWS | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/NEWS b/NEWS index 6a33330..c544a8e 100644 --- a/NEWS +++ b/NEWS @@ -88,6 +88,19 @@ Library The use of absolute paths is now enforced when calling `notmuch_database_{open, create}`. +New function `notmuch_directory_delete` to delete directory documents + + Previously there was no way to delete directory documents from the + database, leading to confusing results when the "ghost" directory + document of a renamed or deleted filesystem directory was + encountered every time the parent directory was being scanned by + `notmuch new`. The mtime of the old directory document was also used + if a directory by the same name was added again in the filesystem, + potentially bypassing the scan for the directory. The issues are + fixed by providing a library call to delete directory documents, and + deleting the old documents in `notmuch new` on filesystem directory + removal or rename. + Database revision tracking Revision tracking is supported via a new prefix "lastmod:" in the -- 2.5.3