non-deterministic behaviour of new.ignore (regexp) test

2018-04-28 Thread David Bremner

For me the following seems to consistently fail after between 30 and 500
attempts

export NOTMUCH_TEST_QUIET=yes; count=0; while ./T050-new.sh; do (( count++ 
)); echo $count; done

The test failure looks like

T050-new: Testing "notmuch new" in several variations
 FAIL   Ignore files and directories specified in new.ignore (regexp)
--- T050-new.25.expected2018-04-29 02:07:13.055693999 +
+++ T050-new.25.output  2018-04-29 02:07:13.055693999 +
@@ -6,10 +6,6 @@
 (D) add_files, pass 1: explicitly ignoring 
/home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/one/two/ignored_file
 (D) add_files, pass 1: explicitly ignoring 
/home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/one/two/three/.git
 (D) add_files, pass 1: explicitly ignoring 
/home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/one/two/three/ignored_file
-(D) add_files, pass 2: explicitly ignoring 
/home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/.git
-(D) add_files, pass 2: explicitly ignoring 
/home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/.ignored_hidden_file
-(D) add_files, pass 2: explicitly ignoring 
/home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/broken_link
-(D) add_files, pass 2: explicitly ignoring 
/home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/ignored_file
 (D) add_files, pass 2: explicitly ignoring 
/home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/one/ignored_file
 (D) add_files, pass 2: explicitly ignoring 
/home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/one/two/ignored_file
 (D) add_files, pass 2: explicitly ignoring 
/home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/one/two/three/.git


___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH] lib: work around xapian bug with get_mset(0,0, x)

2018-04-28 Thread David Bremner
David Bremner  writes:

> At least Fedora28 triggers this Xapian bug due to some toolchain change .
>
>https://bugzilla.redhat.com/show_bug.cgi?id=1546162
>
> The underlying bug is fixed in xapian commit f92e2a936c1592, and
> should be fixed in Xapian 1.4.6

pushed as part of 0.26.2 release
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: bug: "no top level messages" crash on Zen email loops

2018-04-28 Thread David Bremner
Antoine Beaupré  writes:

> Hi!
>
> Here's a fun bug for you Xapian tricksters.
>
> Two emails attached make notmuch crash when trying to display the
> folder.
>
> $ notmuch show thread:0001
> Internal error: Thread 0001 has no toplevel messages.
>  (notmuch-show.c:1012)

this bug should be fixed in notmuch 0.26.2

d
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


[PATCH] build: push additional refs during release

2018-04-28 Thread David Bremner
These currently have to be pushed by hand during a release, which
isn't a big deal, but is one more thing to remember.
---

This is hard to test, but if it breaks I can probably fix it up during
the next release, rather than forgetting it for another cycle.

 Makefile.local | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.local b/Makefile.local
index df95f5fc..2bf0e17a 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -76,7 +76,7 @@ release: verify-source-tree-and-version
mv $(TAR_FILE) $(SHA256_FILE) $(GPG_FILE) releases
$(MAKE) VERSION=$(VERSION) release-message > 
$(PACKAGE)-$(VERSION).announce
 ifeq ($(REALLY_UPLOAD),yes)
-   git push origin $(VERSION)
+   git push origin $(VERSION) $(DEB_TAG) release pristine-tar
cd releases && scp $(TAR_FILE) $(SHA256_FILE) $(GPG_FILE) 
$(RELEASE_HOST):$(RELEASE_DIR)
ssh $(RELEASE_HOST) "rm -f $(RELEASE_DIR)/LATEST-$(PACKAGE)-* ; ln -s 
$(TAR_FILE) $(RELEASE_DIR)/LATEST-$(TAR_FILE)"
 endif
-- 
2.17.0

___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


notmuch release 0.26.2 now available

2018-04-28 Thread David Bremner

Where to obtain notmuch 0.26.2
===
  https://notmuchmail.org/releases/notmuch-0.26.2.tar.gz

Which can be verified with:

  https://notmuchmail.org/releases/notmuch-0.26.2.tar.gz.sha256
  109c1865db7a035d08707421d13e9b6b82ee8e9f1534db70c28c51bc39370e3b  
notmuch-0.26.2.tar.gz

  https://notmuchmail.org/releases/notmuch-0.26.2.tar.gz.sha256.asc
  (signed by David Bremner)

What's new in notmuch 0.26.2
=

Library Changes
---

Work around Xapian bug with `get_mset(0,0, x)`.

  This causes aborts in `_notmuch_query_count_documents` on
  e.g. Fedora 28.  The underlying bug is fixed in Xapian commit
  f92e2a936c1592, and will be fixed in Xapian 1.4.6.

Make thread indexing more robust against reference loops

  Choose a thread root by date in case of reference loops. Fix a
  related abort in `notmuch show`.

What is notmuch
===
Notmuch is a system for indexing, searching, reading, and tagging
large collections of email messages in maildir or mh format. It uses
the Xapian library to provide fast, full-text search with a convenient
search syntax.

For more about notmuch, see https://notmuchmail.org




signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch