<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T562-lib-database.sh, branch 0.34</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.34</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.34'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-03-12T11:19:14Z</updated>
<entry>
<title>test: clean up some extra whitespace.</title>
<updated>2021-03-12T11:19:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-16T01:29:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=97fadd0645e908ff8322577a983dc710bfda33d6'/>
<id>urn:sha1:97fadd0645e908ff8322577a983dc710bfda33d6</id>
<content type='text'>
The extra space is mainly just untidy.
</content>
</entry>
<entry>
<title>lib: add stub for notmuch_database_open_with_config</title>
<updated>2021-02-06T22:57:35Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-08T14:16:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e5f3c3ed50247323ecbd2a50e3b24a8352d17f8d'/>
<id>urn:sha1:e5f3c3ed50247323ecbd2a50e3b24a8352d17f8d</id>
<content type='text'>
Initially document the intended API and copy the code from
notmuch_database_open_verbose. Most of the documented functionality is
not there yet.
</content>
</entry>
<entry>
<title>lib: cache configuration information from database</title>
<updated>2021-02-06T22:56:05Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-08T14:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4743e87c2c79c37208bb60d6617ef203796fc5c2'/>
<id>urn:sha1:4743e87c2c79c37208bb60d6617ef203796fc5c2</id>
<content type='text'>
The main goal is to allow configuration information to be temporarily
overridden by a separate config file. That will require further
changes not in this commit.

The performance impact is unclear, and will depend on the balance
between number of queries and number of distinct metadata items read
on the first call to n_d_get_config.
</content>
</entry>
<entry>
<title>test: fix uninitialized variable use in T562-lib-database</title>
<updated>2020-08-16T17:04:36Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-16T17:04:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fe449f779d2a5ab5243a315a12f4a85b625dc078'/>
<id>urn:sha1:fe449f779d2a5ab5243a315a12f4a85b625dc078</id>
<content type='text'>
Fix a copy paste error of using the boolean ret as a notmuch_status_t,
and uninitialized.
</content>
</entry>
<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>
</feed>
