Re: Feature freeze for notmuch 0.30: June 1

2020-06-17 Thread Dan Čermák
David Bremner writes: > I've tagged a 3rd release candidate (which is of course rc2, because > this week I belong to the cult of 0 based indexing). All of the blockers > I know of are fixed, and I'd consider us in "deep freeze", hopefully to > release in a week or so if there are no nasty bugs di

[PATCH 3/3] test: drop upgrade from v1 tests

2020-06-17 Thread David Bremner
These are less crucial since we stopped generating new database versions and relied primarily on features. They also rely on a pre-generated v1 database which happens to be chert format. This backend is not supported by Xapian 1.5. Also drop the tool gen-testdb.sh, which is currently broken, due t

[PATCH 1/3] lib: migrate to post Xapian 1.3.4 compact support

2020-06-17 Thread David Bremner
The old API was deprecated in Xapian 1.3.4 and (will be) removed in 1.5.0 --- lib/database.cc | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/database.cc b/lib/database.cc index 78b5fec9..43bfac4e 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -1281,11 +1281,7 @

Port to Xapian 1.5

2020-06-17 Thread David Bremner
"Port" is maybe overstating it a bit, but in order to build notmuch with Xapian 1.5 (aka Xapian master), notmuch needs to migrate away from some obsolete APIs, and not require use of chert databases in the test suite. With the three patches here, notmuch builds and the test suite (minus the delete

[PATCH 2/3] lib: migrate from Xapian ValueRangeProcessor to RangeProcessor

2020-06-17 Thread David Bremner
This will be mandatory as of Xapian 1.5. The API is also more consistent with the FieldProcessor API, which helps code re-use a bit. Note that this switches to using the built-in Xapian support for prefixes on ranges (i.e. deleted code at beginning of ParseTimeRangeProcessor::operator(), added pr

Re: Feature freeze for notmuch 0.30: June 1

2020-06-17 Thread Tomi Ollila
On Wed, Jun 17 2020, Dan Čermák wrote: > > I have tried updating the package in openSUSE Tumbleweed to 0.30~rc2 but > running the tests results in the following failures: > --8<---cut here---start->8--- > T357-index-decryption: Testing indexing decrypted mail >

Re: Feature freeze for notmuch 0.30: June 1

2020-06-17 Thread Tomi Ollila
On Wed, Jun 17 2020, Tomi Ollila wrote: > On Wed, Jun 17 2020, Dan Čermák wrote: > >> >> I have tried updating the package in openSUSE Tumbleweed to 0.30~rc2 but >> running the tests results in the following failures: >> --8<---cut here---start->8--- >> T357-ind

crypto test failures on Fedora and OpenSUSE

2020-06-17 Thread David Bremner
Tomi Ollila writes: > On Wed, Jun 17 2020, Tomi Ollila wrote: > >> On Wed, Jun 17 2020, Dan Čermák wrote: >> >>> >>> I have tried updating the package in openSUSE Tumbleweed to 0.30~rc2 but >>> running the tests results in the following failures: >>> --8<---cut here---star