<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/bindings/python-cffi/notmuch2/_build.py, branch feature/git-remote</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=feature%2Fgit-remote</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=feature%2Fgit-remote'/>
<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>python-cffi: use config_pairs API in ConfigIterator</title>
<updated>2022-02-17T01:57:22Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-09T12:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ddd13f75827f4972872c8766320c7cb80b1819b'/>
<id>urn:sha1:9ddd13f75827f4972872c8766320c7cb80b1819b</id>
<content type='text'>
This returns all of the config keys with non-empty values, not just
those that happen to be stored in the database.
</content>
</entry>
<entry>
<title>lib/open: no default mail root in split configurations</title>
<updated>2022-01-15T19:59:39Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-25T13:33:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fad2e7540bf9309bfb335650ded753e9ed085eff'/>
<id>urn:sha1:fad2e7540bf9309bfb335650ded753e9ed085eff</id>
<content type='text'>
If we know the configuration is split, but there is no mail root
defined, this indicates a (lack of) configuration error. Currently
this can only arise in XDG configurations.
</content>
</entry>
<entry>
<title>python-cffi: fix out-of-tree build</title>
<updated>2021-12-05T13:08:48Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-31T10:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f17d75b83c90ae4ea75f79377f3acb873b9e564e'/>
<id>urn:sha1:f17d75b83c90ae4ea75f79377f3acb873b9e564e</id>
<content type='text'>
The main idea is to replace the hack of copying version.txt into the
bindings source with a generated _notmuch_config.py file.

This will mean that the bindings only build after configuring and
building notmuch itself. Given those constraints, "pip install ."
should work.
</content>
</entry>
<entry>
<title>python-cffi: switch to notmuch_database_{open,create}_with_config</title>
<updated>2021-12-04T12:42:31Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-30T16:22:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d7f95724132bf658fd151630185899737e2ed829'/>
<id>urn:sha1:d7f95724132bf658fd151630185899737e2ed829</id>
<content type='text'>
Since release 0.32, libnotmuch provides searching for database and
configuration paths. This commit changes the python module notmuch2 to
use those facilities.

This fixes the bug reported in [1], along with a couple of the
deprecation warnings in the python bindings.

Database.default_path is deprecated, since it no longer faithfully
reflects what libnotmuch is doing, and it is also no longer used in
the bindings themselves.

This commit choose the default of config=CONFIG.EMPTY (equivalent to
passing "" to notmuch_database_open_with_config).  This makes the
change upward compatible API-wise (at least as far as the test suite
verifies), but changing the default to CONFIG.SEARCH would probably be
more convenient for bindings users.

[1]: id:87h7d4wp6b.fsf@tethera.net
</content>
</entry>
<entry>
<title>lib: add new status code for query syntax errors.</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ae4188610dc21101fe9bdeb158854fc7c63463e'/>
<id>urn:sha1:9ae4188610dc21101fe9bdeb158854fc7c63463e</id>
<content type='text'>
This will help provide more meaningful error messages without special
casing on the client side.
</content>
</entry>
<entry>
<title>lib: add NOTMUCH_STATUS_NO_DATABASE</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-23T19:56:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2e39ce6eb5d5e5ae2a2a4ed419190003f47e566e'/>
<id>urn:sha1:2e39ce6eb5d5e5ae2a2a4ed419190003f47e566e</id>
<content type='text'>
This will allow more precise return values from various open related functions.
</content>
</entry>
<entry>
<title>lib: add NOTMUCH_STATUS_DATABASE_EXISTS</title>
<updated>2021-02-06T23:46:46Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-03T12:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=55f5e87096fda96280ccc4b191393c7e59b4df57'/>
<id>urn:sha1:55f5e87096fda96280ccc4b191393c7e59b4df57</id>
<content type='text'>
It is desirable to distinguish between attempting to create a database
that already exists, and more fatal errors like permission problems.
</content>
</entry>
<entry>
<title>lib: add NOTMUCH_STATUS_NO_CONFIG</title>
<updated>2021-02-06T23:43:11Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-03T12:30:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=eea258c0c9386a5eecae48a98b552113a3584a7d'/>
<id>urn:sha1:eea258c0c9386a5eecae48a98b552113a3584a7d</id>
<content type='text'>
This will allow client code to provide more meaningful diagnostics. In
particular it will enable "notmuch new" to continue suggsting the user
run "notmuch setup" to create a config after "notmuch new" is
transitioned to the new  configuration framework.
</content>
</entry>
<entry>
<title>bindings/notmuch2: add missing crypto error status codes</title>
<updated>2021-02-06T23:37:50Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-03T01:50:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=baf1202fbc3b27790d0ff347e29589188d5644a5'/>
<id>urn:sha1:baf1202fbc3b27790d0ff347e29589188d5644a5</id>
<content type='text'>
These are needed so that the later codes line up numerically.
</content>
</entry>
</feed>
