<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test, branch 0.32.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.32.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.32.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-06-08T20:15:46Z</updated>
<entry>
<title>test: check openssl prequisite for add_gpgsm_home</title>
<updated>2021-06-08T20:15:46Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-06-08T19:39:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a19d2b0d2b8c666d0a3641dc2e7e1b4e73b7c2bd'/>
<id>urn:sha1:a19d2b0d2b8c666d0a3641dc2e7e1b4e73b7c2bd</id>
<content type='text'>
This is a fix for the test failures reported by Dan Čermák [1].

It is more robust to check for the prerequisite inside the function
that uses it, rather than in every test file that calls the function.

[1]: id:87k0n4fqgm.fsf@tethera.net
</content>
</entry>
<entry>
<title>lib/n_d_index_file: re-use thread-id of existing message</title>
<updated>2021-05-22T12:08:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-15T18:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3f4de98e7c8c70f9a86a4f899147126f79907bd9'/>
<id>urn:sha1:3f4de98e7c8c70f9a86a4f899147126f79907bd9</id>
<content type='text'>
This prevents the message document getting multiple thread-id terms
when there are multiple files with the same message-id.

This change shifts some thread ids, requiring adjustments to other tests.
</content>
</entry>
<entry>
<title>test: add known broken test for duplicate thread-id terms</title>
<updated>2021-05-22T12:02:58Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-15T13:05:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=349fc2980346db2dba619cda5d9cdf0d943d3053'/>
<id>urn:sha1:349fc2980346db2dba619cda5d9cdf0d943d3053</id>
<content type='text'>
According to my bijection, this bug has been present since commit
411675a6ce in 2017. It is not completely clear what harm it causes in
regulary use, but it (at least) makes notmuch crash when compiled with
-DDEBUG_DATABASE_SANITY.
</content>
</entry>
<entry>
<title>lib/open: restore default database path of $HOME/mail</title>
<updated>2021-05-15T11:40:05Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-10T10:39:18Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b3258244c84a7673db39c46cad96ddb63b131dae'/>
<id>urn:sha1:b3258244c84a7673db39c46cad96ddb63b131dae</id>
<content type='text'>
Although this default worked for "notmuch config get", it didn't work
most other places. Restore the previous functionality, with the
wrinkle that XDG locations will shadow $HOME/mail if they exist.

This fixes a bug reported by Jack Kamm in id:87eeefdc8b.fsf@gmail.com
</content>
</entry>
<entry>
<title>emacs: restore tag-changes and query bindings for tag hooks</title>
<updated>2021-05-15T11:34:28Z</updated>
<author>
<name>Kyle Meyer</name>
<email>kyle@kyleam.com</email>
</author>
<published>2021-05-08T12:11:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=319dcfb50e5bc929719167afa353e19632ea55f3'/>
<id>urn:sha1:319dcfb50e5bc929719167afa353e19632ea55f3</id>
<content type='text'>
notmuch-before-tag-hook and notmuch-after-tag-hook are supposed to
have access to two dynamic variables, tag-changes and query, but these
were lost with the switch to lexical binding in fc4cda07 (emacs: use
lexical-bindings in all libraries, 2021-01-13).

Add a variant of Emacs's dlet (not available until Emacs 28) and use
it in notmuch-tag to expose tag-changes and query to the hooks.
</content>
</entry>
<entry>
<title>test: add known broken tests for notuch-{before,after}-tag-hook</title>
<updated>2021-05-15T11:31:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-08T12:11:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a663783343cb992d132ecc18e4e4d4e37bbf12e9'/>
<id>urn:sha1:a663783343cb992d132ecc18e4e4d4e37bbf12e9</id>
<content type='text'>
These tests illustrate the bug reported in id:87v97ytd2s.fsf@fastmail.fm
</content>
</entry>
<entry>
<title>lib/notmuch_database_reopen: reload some database metadata</title>
<updated>2021-05-12T11:40:04Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-09T12:28:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=393c92b04271472e6fdd19da73672a60723e34aa'/>
<id>urn:sha1:393c92b04271472e6fdd19da73672a60723e34aa</id>
<content type='text'>
In some uses of reopen, new documents and threads maybe have been
added, and e.g. compaction may have changed the uuid.
</content>
</entry>
<entry>
<title>test: change database from within pre-new hook</title>
<updated>2021-05-12T11:34:34Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@grubix.eu</email>
</author>
<published>2021-05-11T20:48:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0729c4e81f094eb6c81ba7c4287d90726c89d619'/>
<id>urn:sha1:0729c4e81f094eb6c81ba7c4287d90726c89d619</id>
<content type='text'>
Due to the change in the config system, notmuch keeps a notmuch database
open when it would not do so before. Consequently, it can miss changes
to the database which are done from a hook (while notmuch holds the
databse in read only mode). When notmuch itself writes to the database
after that it uses wrong assumptions about the last used doc id etc.

Demonstrate this by triggering an assertion. (This new test succeeds
with notmuch 0.31.4.)

Signed-off-by: Michael J Gruber &lt;git@grubix.eu&gt;
Amended-by: db. Check for both messages
</content>
</entry>
<entry>
<title>test: test explicit configuration of backup directory</title>
<updated>2021-05-10T14:13:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-07T10:56:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8bf331108458591a36d11487cea39282c9b5bc0d'/>
<id>urn:sha1:8bf331108458591a36d11487cea39282c9b5bc0d</id>
<content type='text'>
Including the relative path that was broken until a recent commit.
</content>
</entry>
<entry>
<title>test: test relative paths for database.hook_dir</title>
<updated>2021-05-10T14:13:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-07T10:38:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=891b95021908e023113533a51ce53f85c8d4ffb4'/>
<id>urn:sha1:891b95021908e023113533a51ce53f85c8d4ffb4</id>
<content type='text'>
</content>
</entry>
</feed>
