<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T590-libconfig.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-03-27T12:26:14Z</updated>
<entry>
<title>CLI/config: migrate notmuch_config_open to new config</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-14T13:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b76da87d29b6c9714e3d62fd8d459733df084f92'/>
<id>urn:sha1:b76da87d29b6c9714e3d62fd8d459733df084f92</id>
<content type='text'>
notmuch_config_open will be preserved in the medium term for use by
the commands that are manipulating the config file directly (config
and setup)
</content>
</entry>
<entry>
<title>lib/config: set default for primary user email</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-14T13:55:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2e9ee47072e161e85d2ac60515d1c922ea881e40'/>
<id>urn:sha1:2e9ee47072e161e85d2ac60515d1c922ea881e40</id>
<content type='text'>
This is mainly copying code from the CLI into the lib. The CLI copy
will be deleted in a later commit.
</content>
</entry>
<entry>
<title>lib/config: set defaults for user full name</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-14T13:23:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e81dc2072f22996a07e82b9b9b2eac826410e5a7'/>
<id>urn:sha1:e81dc2072f22996a07e82b9b9b2eac826410e5a7</id>
<content type='text'>
This just copies code from from the CLI into the library. New test
infrastructure is needed because apparently we have never tested this
code path.
</content>
</entry>
<entry>
<title>lib/config: add config_pairs iterators</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-14T11:42:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=863b2431853385441f9fcbc22b9ff4e963091440'/>
<id>urn:sha1:863b2431853385441f9fcbc22b9ff4e963091440</id>
<content type='text'>
The layer of shims here seems a bit wasteful compared to just calling
the corresponding string map functions directly, but it allows control
over the API (calling with notmuch_database_t *) and flexibility for
future changes.
</content>
</entry>
<entry>
<title>lib/config: add notmuch_config_get_values_string</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-13T17:17:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0c6db22930b58fcea972e71b45f7ea0e6055ed20'/>
<id>urn:sha1:0c6db22930b58fcea972e71b45f7ea0e6055ed20</id>
<content type='text'>
This is to support the less common (at least in the notmuch codebase)
case of accessing a ;-delimited list config value with an arbitrary
string key.
</content>
</entry>
<entry>
<title>lib: provide notmuch_database_load_config</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-09T23:48:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2fc40e24de4fb06428273e6f55ebd72faabde778'/>
<id>urn:sha1:2fc40e24de4fb06428273e6f55ebd72faabde778</id>
<content type='text'>
This is mainly targetted at notmuch-config.c, or similar applications
that don't necessarily need both a configuration file and a database
to exist.
</content>
</entry>
<entry>
<title>lib/config: add configuration variable for backup directory</title>
<updated>2021-03-20T10:51:36Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-17T15:04:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a7873df331bcd53dd1bc8da95c4279163437cc13'/>
<id>urn:sha1:a7873df331bcd53dd1bc8da95c4279163437cc13</id>
<content type='text'>
Like the hook directory, we primarily need a way to communicate this
directory between various components, but we may as well let the user
configure it.

Most of the diff is generalizing choose_hook_dir to work for both
backup and hook directories.
</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>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>
<entry>
<title>lib/open: support NOTMUCH_DATABASE environment variable</title>
<updated>2021-03-20T01:06:44Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-12-26T03:22:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=793d4305d3563082761a59ac418ce827d00bdc39'/>
<id>urn:sha1:793d4305d3563082761a59ac418ce827d00bdc39</id>
<content type='text'>
The additional code is trivial, but making sure we get the priority of
various options correct takes a few tests.
</content>
</entry>
</feed>
