<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T562-lib-database.sh, branch 0.38.3</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.38.3</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.38.3'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-06-25T19:06:18Z</updated>
<entry>
<title>lib: add NOTMUCH_STATUS_CLOSED_DATABASE, use in _n_d_ensure_writable</title>
<updated>2022-06-25T19:06:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-25T10:51:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3f27cce71f9f154cb0c2134c32d41c31eb62a239'/>
<id>urn:sha1:3f27cce71f9f154cb0c2134c32d41c31eb62a239</id>
<content type='text'>
In order for a database to actually be writeable, it must be the case that it
is open, not just the correct type of Xapian object. By explicitely
checking, we are able to provide better error reporting, in particular
for the previously broken test in T566-lib-message.
</content>
</entry>
<entry>
<title>test: replace deprecated use of notmuch_database_open_verbose</title>
<updated>2022-05-29T10:36:32Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-21T18:06:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f6e7a9dde5a7d9c2fa390a15888704c31852a538'/>
<id>urn:sha1:f6e7a9dde5a7d9c2fa390a15888704c31852a538</id>
<content type='text'>
We need to do it some day, and it is a bit annoying to read
deprecation messages in broken tests.
</content>
</entry>
<entry>
<title>test: remove directory names from paths in exceptions</title>
<updated>2021-12-23T12:47:40Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-05T13:56:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cea1604a087645d07998c6986a8678b2af239322'/>
<id>urn:sha1:cea1604a087645d07998c6986a8678b2af239322</id>
<content type='text'>
These cause failures when building out of tree.
</content>
</entry>
<entry>
<title>test: move system includes to notmuch-test.h</title>
<updated>2021-12-04T16:36:08Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-28T12:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1643c0459a496b45b601d91e0089fac507a2a6d1'/>
<id>urn:sha1:1643c0459a496b45b601d91e0089fac507a2a6d1</id>
<content type='text'>
This removes some redudant includes, and will also make it easier to
introduce "#define _GNU_SOURCE", which must come before all system
includes.
</content>
</entry>
<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>
</feed>
