<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T590-libconfig.sh, branch 0.33</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.33</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.33'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-06-27T16:59:42Z</updated>
<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>test/libconfig: make indexing more consistent</title>
<updated>2021-06-21T09:57:17Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-06-19T13:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7406abf5e0596b7865e7fe31ef9e92727ed15c54'/>
<id>urn:sha1:7406abf5e0596b7865e7fe31ef9e92727ed15c54</id>
<content type='text'>
The other tests have converted to two digit decimal, the commit does
the same to the remaining test that was printing out indices in hex.
</content>
</entry>
<entry>
<title>test: replace notmuch_passwd_sanitize() with _libconfig_sanitize()</title>
<updated>2021-05-22T14:51:29Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2021-05-22T13:39:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8675be1d307bc2df882107744641f6a7858e65ad'/>
<id>urn:sha1:8675be1d307bc2df882107744641f6a7858e65ad</id>
<content type='text'>
notmuch_passwd_sanitize() in test-lib.sh is too generic, it cannot
work in many cases...

The more specific version _libconfig_sanitize() replaces it in
T590-libconfig.sh and the code that uses it is modified to output
the keys (ascending numbers printed in hex) so the sanitizer knows
what to sanitize in which lines...

"@" + fqdn -&gt; "@FQDN" replacement is used as fqdn could
-- in theory -- be substring of 'USERNAME'.

'user -&gt; 'USER_FULL_NAME replacement to work in cases where user
is empty -- as only first ' is replaced that works as expected.

In addition to ".(none)" now also ".localdomain" is filtered from
USERNAME@FQDN.

/dev/fd/{n} is not defined in posix, but it is portable enough
(if it weren't it is easy to fix -- now code looks clearer).
</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: 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>
</feed>
