<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T055-path-config.sh, branch 0.32</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.32</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.32'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-04-07T00:32:36Z</updated>
<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>
<entry>
<title>CLI/config: support set/get with split configuration</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-25T12:00:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=77d4b26d3e374afac0012148a8ac0a08158406f1'/>
<id>urn:sha1:77d4b26d3e374afac0012148a8ac0a08158406f1</id>
<content type='text'>
There are two small code changes. The main one is to retrieve the
possibly updated config file name found during the database opening
call. The second change is to allow empty config file names, as
a (currently broken) way of specifying that configuration should only
be taken from the database.
</content>
</entry>
<entry>
<title>CLI+lib: detect missing database in split configurations.</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-23T20:19:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=217f8196088f200972d35ee9181bfe361cccc04a'/>
<id>urn:sha1:217f8196088f200972d35ee9181bfe361cccc04a</id>
<content type='text'>
Eventually we want to do all opening of databases in the top
level (main function). This means that detection of missing databases
needs to move out of subcommands. It also requires updating the
library to use the new NO_DATABASE status code.
</content>
</entry>
<entry>
<title>CLI/new: use configuration variable for backup directory</title>
<updated>2021-03-20T10:53:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-17T15:26:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4e209ca99ac8084a357c6fc8d7773f6207cfa16d'/>
<id>urn:sha1:4e209ca99ac8084a357c6fc8d7773f6207cfa16d</id>
<content type='text'>
The stat is essentially replaced by the mkdir for error detection
purposes.  This changes the default location for backups to make
things tidier, even in non-split configurations. Hopefully there is
not too many user scripts relying on the previous location.

Because the default location may not exist, replace the use of stat
for error detection with a call to mkdir.
</content>
</entry>
<entry>
<title>lib/compact: enable split config</title>
<updated>2021-03-20T10:50:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-02T11:51:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b30a59157d5ba0421c01fa3dc05d238d18738839'/>
<id>urn:sha1:b30a59157d5ba0421c01fa3dc05d238d18738839</id>
<content type='text'>
This promotes _choose_xapian_path from static to extern linkage in
order to share between open.cc and database.cc.
</content>
</entry>
<entry>
<title>CLI/insert: support split database and mail root</title>
<updated>2021-03-20T10:44:08Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-09T11:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=74c3cc03c219f1046d2672ef686c91b3a7f8b806'/>
<id>urn:sha1:74c3cc03c219f1046d2672ef686c91b3a7f8b806</id>
<content type='text'>
The new test is in T055-path-config because it uses the helper
function split_config, and because it seems easier to put the
database path related tests in one place.
</content>
</entry>
<entry>
<title>lib/open: support XDG_DATA_HOME as a fallback database location.</title>
<updated>2021-03-20T10:43:09Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-04T00:04:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c82554193d0a0c288ad49e3d4fb8c949b92f71fa'/>
<id>urn:sha1:c82554193d0a0c288ad49e3d4fb8c949b92f71fa</id>
<content type='text'>
This changes some error reporting, either intentionally by reporting
the highest level missing directory, or by side effect from looking in
XDG locations when given null database location.
</content>
</entry>
<entry>
<title>CLI/new: support split database and mail location</title>
<updated>2021-03-20T10:42:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-09T11:25:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2c879667b3c9d51eb23f53c040acce341d75920b'/>
<id>urn:sha1:2c879667b3c9d51eb23f53c040acce341d75920b</id>
<content type='text'>
This adds new state variable for the mail root, and uses it most
places db_path was used. The notable exception is dumps from
backups. The latter will be dealt with properly in a future commit.
</content>
</entry>
<entry>
<title>lib/open: check for split configuration when creating database.</title>
<updated>2021-03-20T10:41:04Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-17T00:08:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5ec6fd4dcfba0c50bcdec56b4ec51c2ccd1f2e92'/>
<id>urn:sha1:5ec6fd4dcfba0c50bcdec56b4ec51c2ccd1f2e92</id>
<content type='text'>
The main functionality will be tested when notmuch-new is converted to
support split configuration. Here only the somewhat odd case of split
mail root which is actually symlinked to the database path is tested.
</content>
</entry>
<entry>
<title>lib: support splitting mail from database location.</title>
<updated>2021-03-20T10:39:12Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-12-31T22:20:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e823d05ae6dc920d4fc9abf774c3d2575d891d7b'/>
<id>urn:sha1:e823d05ae6dc920d4fc9abf774c3d2575d891d7b</id>
<content type='text'>
Introduce a new configuration value for the mail root, and use it to
locate mail messages in preference to the database.path (which
previously implied the mail messages were also in this location.

Initially only a subset of the CLI is tested in a split
configuration. Further changes will be needed for the remainder of the
CLI to work in split configurations.
</content>
</entry>
</feed>
