<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T055-path-config.sh, branch 0.34.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.34.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.34.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-12-04T12:42:31Z</updated>
<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>test: add known broken tests for python bindings in split configs</title>
<updated>2021-12-04T12:36:41Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-30T16:22:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=caafab01a4409fd2a1a5d31b3d05815bf587d8e0'/>
<id>urn:sha1:caafab01a4409fd2a1a5d31b3d05815bf587d8e0</id>
<content type='text'>
This reproduces the bug(s) reported in id:87h7d4wp6b.fsf@tethera.net
</content>
</entry>
<entry>
<title>configure: optional library sfsexp</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a83ad52da40b51b8419cae3c9ce1517ac33e547c'/>
<id>urn:sha1:a83ad52da40b51b8419cae3c9ce1517ac33e547c</id>
<content type='text'>
The configure part is essentially the same as the other checks using
pkg-config. Since the optional inclusion of this feature changes what
options are available to the user, include it in the "built_with"
pseudo-configuration keys.
</content>
</entry>
<entry>
<title>test/path-config: use test_expect_equal_file_nonempty</title>
<updated>2021-08-21T21:56:13Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-04T10:42:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4f84c01b3ab2002812293a0951c4f69acb9ddea2'/>
<id>urn:sha1:4f84c01b3ab2002812293a0951c4f69acb9ddea2</id>
<content type='text'>
This is more robust against crashes when the expected output is also
generated by notmuch. In the case where the expected output is
explicit, it seems like overkill.
</content>
</entry>
<entry>
<title>Merge tag 'debian/0.32.3-1'</title>
<updated>2021-08-19T04:46:42Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-19T04:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3df2281746d57abbb45790ecb432ef40533c30bc'/>
<id>urn:sha1:3df2281746d57abbb45790ecb432ef40533c30bc</id>
<content type='text'>
notmuch release 0.32.3-1 for unstable (sid) [dgit]

[dgit distro=debian no-split --quilt=linear]
</content>
</entry>
<entry>
<title>lib/open: look in MAILDIR for database, as documented.</title>
<updated>2021-08-18T00:09:21Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-04T10:42:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d9300116909ea316c84fd6d3ee57c89074dcd260'/>
<id>urn:sha1:d9300116909ea316c84fd6d3ee57c89074dcd260</id>
<content type='text'>
This fixes the bug id:87bl9lx864.fsf@kisara.moe
</content>
</entry>
<entry>
<title>test: add known broken tests for finding database via MAILDIR</title>
<updated>2021-08-18T00:07:53Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-04T10:42:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8376e814412f8165b781aa21dac654c2fc948306'/>
<id>urn:sha1:8376e814412f8165b781aa21dac654c2fc948306</id>
<content type='text'>
This highlights a bug reported by several users, including
Mohsin Kaleem [1].

The inconsistent use of test_begin_subtest_known_broken is because
some of these tests pass even though the database cannot be
located. This problem is left for a future commit.

[1]: id:87bl9lx864.fsf@kisara.moe
</content>
</entry>
<entry>
<title>lib/config: add NOTMUCH_CONFIG_AUTOCOMMIT</title>
<updated>2021-06-27T16:59:42Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-21T15:54:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2f608d2a9400f666ec0aca1f76b59f6640104e4e'/>
<id>urn:sha1:2f608d2a9400f666ec0aca1f76b59f6640104e4e</id>
<content type='text'>
This will be used to control how often atomic transactions are
committed.
</content>
</entry>
<entry>
<title>lib/open: restore default database path of $HOME/mail</title>
<updated>2021-05-15T11:40:05Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-10T10:39:18Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b3258244c84a7673db39c46cad96ddb63b131dae'/>
<id>urn:sha1:b3258244c84a7673db39c46cad96ddb63b131dae</id>
<content type='text'>
Although this default worked for "notmuch config get", it didn't work
most other places. Restore the previous functionality, with the
wrinkle that XDG locations will shadow $HOME/mail if they exist.

This fixes a bug reported by Jack Kamm in id:87eeefdc8b.fsf@gmail.com
</content>
</entry>
<entry>
<title>CLI/config: remove calls to notmuch_config_open from top level</title>
<updated>2021-04-07T00:32:36Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-27T13:22:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ec4b7efbe4bd6d50bd6046bac5f7ef4ceaa30154'/>
<id>urn:sha1:ec4b7efbe4bd6d50bd6046bac5f7ef4ceaa30154</id>
<content type='text'>
This will allow simplifying the subcommand interface.

Change the internal API to notmuch_config_open to not tie it to the
implementation of subcommands in notmuch.c.

It also fixes a previously broken test, since notmuch_config_open does
not understand the notion of the empty string as a config file name.
</content>
</entry>
</feed>
