<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/bindings/python-cffi/tests, branch feature/wildcard</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=feature%2Fwildcard</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=feature%2Fwildcard'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2025-09-14T16:32:45Z</updated>
<entry>
<title>bindings/python-cffi: handle NOTMUCH_STATUS_OPERATION_INVALIDATED</title>
<updated>2025-09-14T16:32:45Z</updated>
<author>
<name>Anton Khirnov</name>
<email>anton@khirnov.net</email>
</author>
<published>2025-08-28T09:00:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c55953e9de408674d71db78ea4fff941972b2f0a'/>
<id>urn:sha1:c55953e9de408674d71db78ea4fff941972b2f0a</id>
<content type='text'>
Raise it as a newly added OperationInvalidatedError exception.
</content>
</entry>
<entry>
<title>bindings/python-cffi: allow reopening a database</title>
<updated>2025-09-14T16:24:59Z</updated>
<author>
<name>Anton Khirnov</name>
<email>anton@khirnov.net</email>
</author>
<published>2025-09-14T15:07:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=abdff73a3333b295a599135ad2777e852189e188'/>
<id>urn:sha1:abdff73a3333b295a599135ad2777e852189e188</id>
<content type='text'>
This will be useful for handling NOTMUCH_STATUS_OPERATION_INVALIDATED
errors that will be exposed through the bindings in a following commit.
</content>
</entry>
<entry>
<title>fix segfaults in Python cFFI API and add tests</title>
<updated>2025-02-07T16:13:16Z</updated>
<author>
<name>Lars Kotthoff</name>
<email>lars@larsko.org</email>
</author>
<published>2025-02-06T02:52:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9c1f6cf746725af7bbbb66e746c5d694723ac0eb'/>
<id>urn:sha1:9c1f6cf746725af7bbbb66e746c5d694723ac0eb</id>
<content type='text'>
Several iterators in the Python cFFI API destroyed the objects they iterated
over too early (when the iterator was exhausted), causing subsequent segfaults
in common cases like creating a list from the iterator. This patch fixes the
segfaults and add tests to ensure that they don't happen again.
</content>
</entry>
<entry>
<title>test: increase cffi timeout</title>
<updated>2022-08-16T07:29:39Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@grubix.eu</email>
</author>
<published>2022-08-14T15:22:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=760431c0a3216605d3690e963bb8fa3e3c8788cb'/>
<id>urn:sha1:760431c0a3216605d3690e963bb8fa3e3c8788cb</id>
<content type='text'>
By default, the test suite uses 2min for other tests and 5s for cffi
tests. Sporadically, this leads to test failures caused by the timeout
on slower or loaded test infrastructure (as seen on ppc64le in Fedora's
infrastructure during branch time).

Increase the cffi timeout to the same 2m=120s.

Signed-off-by: Michael J Gruber &lt;git@grubix.eu&gt;
</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>Merge tag '0.34.3'</title>
<updated>2022-01-09T23:34:58Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-09T23:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=63d3b2b5cf8702b5fecea77392ce46f8a8249175'/>
<id>urn:sha1:63d3b2b5cf8702b5fecea77392ce46f8a8249175</id>
<content type='text'>
notmuch 0.34.3 release
</content>
</entry>
<entry>
<title>bindings/python-cffi: search for config by default</title>
<updated>2022-01-09T19:16:51Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-08T21:21:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8b737af28bc377db3e661a5744f3b7479b7ce485'/>
<id>urn:sha1:8b737af28bc377db3e661a5744f3b7479b7ce485</id>
<content type='text'>
The previous (pre-0.34.2) constructor searched for a config file but
only if the database path was not specified, and only to retrieve
database.path. Neither of the available options (CONFIG.SEARCH or
CONFIG.NONE) matches this semantics exactly, but CONFIG.SEARCH causes
less breakage for people who relied on the old behaviour to set their
database.path [1]. Since it also seems like the friendlier option in
the long run, this commit switches to CONFIG.SEARCH as default.

This requires a certain amount of updating the pytest tests, but most
users will actually have a config file, unlike the test environment.

[1]: id:87fsqijx7u.fsf@metapensiero.it
</content>
</entry>
<entry>
<title>bindings/python-cffi: add matched property to message objects</title>
<updated>2022-01-01T15:48:40Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-01T14:36:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9cc026f3daaa7731527787f8c7e729c0a08c456c'/>
<id>urn:sha1:9cc026f3daaa7731527787f8c7e729c0a08c456c</id>
<content type='text'>
Existing users of the legacy python bindings use
message.get_flags(Message.FLAG.MATCH) to determine which messages in a
thread matched. Since the bindings don't provide get_flags anymore,
they should provide a property analogous to the existing "excluded"
property.
</content>
</entry>
<entry>
<title>Fix error message when using notmuch_status_to_string</title>
<updated>2021-12-05T12:53:39Z</updated>
<author>
<name>Floris Bruynooghe</name>
<email>flub@devork.be</email>
</author>
<published>2021-11-06T11:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ca4e1d885b0d9dcdeb45ad6f2829f88dafc7949c'/>
<id>urn:sha1:ca4e1d885b0d9dcdeb45ad6f2829f88dafc7949c</id>
<content type='text'>
The python exception class was incorrectly loading the error message
which resulted in unprintable exception objects.
</content>
</entry>
<entry>
<title>lib: introduce notmuch_database_create_with_config</title>
<updated>2021-02-06T23:48:34Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-02T00:43:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ac67cd84eea1148680ab3a377d35ae346073f138'/>
<id>urn:sha1:ac67cd84eea1148680ab3a377d35ae346073f138</id>
<content type='text'>
This takes a config path parameter, and can use that to decide the
new database location.
</content>
</entry>
</feed>
