<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T562-lib-database.sh, branch 0.31_rc0</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.31_rc0</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.31_rc0'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2020-08-04T00:05:29Z</updated>
<entry>
<title>test: regression tests for n_indexopts_{get,set}_decrypt_policy</title>
<updated>2020-08-04T00:05:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-01T12:26:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0e4695abaa7bda20d92813571ad53fb141f3e38c'/>
<id>urn:sha1:0e4695abaa7bda20d92813571ad53fb141f3e38c</id>
<content type='text'>
The main criteria is that they don't crash. Working with a closed
database is a bonus.
</content>
</entry>
<entry>
<title>lib: return NULL from n_d_get_default_indexopts on error</title>
<updated>2020-08-03T23:45:58Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-01T12:25:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=31dab9b1cd66c7f285fe86021f66940f679325d4'/>
<id>urn:sha1:31dab9b1cd66c7f285fe86021f66940f679325d4</id>
<content type='text'>
This is a rare and probably serious programming error, so better not
to silently return a default value.
</content>
</entry>
<entry>
<title>test: add known broken test for n_d_get_default_indexopts</title>
<updated>2020-07-22T22:52:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-19T13:11:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=24cf4381b8e29e62c3a636082414df2d91ec0f22'/>
<id>urn:sha1:24cf4381b8e29e62c3a636082414df2d91ec0f22</id>
<content type='text'>
Xapian exceptions are swallowed and turned into default return value.
</content>
</entry>
<entry>
<title>lib: fix error return bug with n_d_set_config.</title>
<updated>2020-07-22T22:52:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-19T12:51:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b268c8c0711a12b26a3abd3c8dde38a3679999b1'/>
<id>urn:sha1:b268c8c0711a12b26a3abd3c8dde38a3679999b1</id>
<content type='text'>
The catch block either needs to return, or the function needs to
return "status". Choose the latter for consistency with
n_d_get_config.
</content>
</entry>
<entry>
<title>test: add known broken test for n_d_set_config</title>
<updated>2020-07-22T22:52:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-19T12:44:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f6d74be84071b31e1e8d466bea76dd8d44d54377'/>
<id>urn:sha1:f6d74be84071b31e1e8d466bea76dd8d44d54377</id>
<content type='text'>
Error status is currently lost.
</content>
</entry>
<entry>
<title>test: add regression test for n_d_get_config</title>
<updated>2020-07-22T22:52:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-19T12:39:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a5e13d52187f9863269a88cc83042c50f1838d47'/>
<id>urn:sha1:a5e13d52187f9863269a88cc83042c50f1838d47</id>
<content type='text'>
Xapian exceptions seem to handled OK, at least for this case.
</content>
</entry>
<entry>
<title>lib: add regresion test for n_d_get_all_tags</title>
<updated>2020-07-22T22:52:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-19T10:57:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dfab190a4089b3d04addd0989053461d43c2bdeb'/>
<id>urn:sha1:dfab190a4089b3d04addd0989053461d43c2bdeb</id>
<content type='text'>
Existing error handling seems adequate, if not ideal.
</content>
</entry>
<entry>
<title>lib: add regression test for n_d_find_message_by_filename</title>
<updated>2020-07-22T22:52:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-19T10:43:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=64aa8961512b47166954d196fd2ca04b2b22cd42'/>
<id>urn:sha1:64aa8961512b47166954d196fd2ca04b2b22cd42</id>
<content type='text'>
At least this Xapian exception is caught. Make sure it stays that way.
</content>
</entry>
<entry>
<title>lib: rename _n_d_create to _n_d_find_or_create</title>
<updated>2020-07-22T22:52:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-19T10:36:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ce360ce4c99597946949317aa40892536c9ebc05'/>
<id>urn:sha1:ce360ce4c99597946949317aa40892536c9ebc05</id>
<content type='text'>
The error message and name were confusing when called in some "read
only" context.
</content>
</entry>
<entry>
<title>test: add known broken test for notmuch_database_remove_message</title>
<updated>2020-07-22T22:52:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-19T10:13:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=97c887282a6688323822137a21ea0bfc2344b5c9'/>
<id>urn:sha1:97c887282a6688323822137a21ea0bfc2344b5c9</id>
<content type='text'>
The current error message is a bit confusing; fix in next commit.
</content>
</entry>
</feed>
