<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T030-config.sh, branch 0.36</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.36</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.36'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-12-04T16:17:09Z</updated>
<entry>
<title>lib/config: use g_key_file_get_string to read config values</title>
<updated>2021-12-04T16:17:09Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-09-30T18:59:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=18cdd21b8b2ef056062700607eade43909c32cd2'/>
<id>urn:sha1:18cdd21b8b2ef056062700607eade43909c32cd2</id>
<content type='text'>
Unlike the previous g_key_file_get_value, this version processes
escape codes for whitespace and \. The remaining two broken tests from
the last commit are because "notmuch config get" treats every value as
a list, and thus the previously introduces stripping of leading
whitespace applies.
</content>
</entry>
<entry>
<title>test: known broken tests for escape characters in config files.</title>
<updated>2021-12-04T16:16:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-09-30T18:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=482bd3a46de34c5f6c5cae3696fd56ffdadc6299'/>
<id>urn:sha1:482bd3a46de34c5f6c5cae3696fd56ffdadc6299</id>
<content type='text'>
glib generates the following escape characters with their usual
meanings: \n, \t, \r, and \\, along with \s for _leading_
spaces. Currently notmuch fails to unescape these on reading the
config files. These tests demonstrate this bug; the one new test that
passes is because apparently glib only escapes tabs at the beginning
of a key.
</content>
</entry>
<entry>
<title>rename built_with.sexpr_query to built_with.sexp_queries</title>
<updated>2021-12-04T00:06:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-30T18:49:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b264a49be3dccb7d110eae6420019a052f1f665b'/>
<id>urn:sha1:b264a49be3dccb7d110eae6420019a052f1f665b</id>
<content type='text'>
It is confusing to use two different names (sexp vs sexpr) when
compared with the command line option --query=sexp and (furthermore)
singular vs plural when compared with the man page title.
</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>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>CLI/config: restore "notmuch config get built_with.*"</title>
<updated>2021-08-18T00:09:56Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-07-18T17:58:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=686230712f3865ac0d0250084113d6d859cc2519'/>
<id>urn:sha1:686230712f3865ac0d0250084113d6d859cc2519</id>
<content type='text'>
We need to special case the config section "built_with" because it is
not (currently) handled by the library. This seems consist with the
other sub-sub-commands 'list' and 'set'.
</content>
</entry>
<entry>
<title>test/config: add tests for built_with</title>
<updated>2021-08-18T00:09:38Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-07-18T17:58:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=202dde04e1057d0ab06a4e11f059f9ed2c6a717f'/>
<id>urn:sha1:202dde04e1057d0ab06a4e11f059f9ed2c6a717f</id>
<content type='text'>
The "get" test is known broken because this functionality was dropped
during the 0.32 config rewrite.
</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/config: canonicalize paths relative to $HOME.</title>
<updated>2021-05-10T14:08:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-07T00:16:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=31098c4ae40511ffda9788a6654adbf898063d7f'/>
<id>urn:sha1:31098c4ae40511ffda9788a6654adbf898063d7f</id>
<content type='text'>
Prior to 0.32, notmuch had the (undocumented) behaviour that it
expanded a relative value of database.path with respect to $HOME. In
0.32 this was special cased for database.path but broken for
database.mail_root, which causes problems for at least notmuch-new
when database.path is set to a relative path.

The change in T030-config.sh reflects a user visible, but hopefully
harmless behaviour change; the expanded form of the paths will now be
printed by notmuch config.
</content>
</entry>
<entry>
<title>CLI/config: default to storing all config in external files</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-19T12:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dd9112e7d8e89e8566b90379f5f3b1461a2d2845'/>
<id>urn:sha1:dd9112e7d8e89e8566b90379f5f3b1461a2d2845</id>
<content type='text'>
Previously the fact that some configuration options were only stored
in the database (and thus editing the config file had no effect) was a
source of user confusion. This was fixed with the series ending at
d9af0af1646.

On the other hand, the underlying partition of config options into
those stored by default in the database and those stored in the config
file remained. This is also confusing, since now some invocations of
"notmuch config set" modify the config file, and others silently
modify the database instead.

With this commit, it is up to the user to decide which configuration
to modify. A new "--database" option is provided for notmuch config to
enable modifying the configuration information in the database;
otherwise the default is to update an external config file.
</content>
</entry>
</feed>
