<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T035-read-config.sh, branch master</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=master</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-03-20T01:06:19Z</updated>
<entry>
<title>CLI/show: complete conversion to new configuration framework.</title>
<updated>2021-03-20T01:06:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-06T22:50:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6e6c319c260b779e6e91905f8c142ad2b82a41c9'/>
<id>urn:sha1:6e6c319c260b779e6e91905f8c142ad2b82a41c9</id>
<content type='text'>
In order to open the database in main() for this command, we may need
to re-open it in the (possibly less common) case where crypto options
require write access.
</content>
</entry>
<entry>
<title>cli/new: convert to new config framework</title>
<updated>2021-02-06T23:52:11Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-02T17:10:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0d3bef312dd624225825e6fe175ea8830c1c9e39'/>
<id>urn:sha1:0d3bef312dd624225825e6fe175ea8830c1c9e39</id>
<content type='text'>
In addition to the same type of changes as converting other
subcommands, add the possibility of creating a database at the top
level. It would probably make sense to use this for insert as well.
</content>
</entry>
<entry>
<title>cli/compact: convert to new configuration framework</title>
<updated>2021-02-06T23:36:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-12-24T03:45:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f118ef3c3db0a01479a505ba85a34879d8e0dede'/>
<id>urn:sha1:f118ef3c3db0a01479a505ba85a34879d8e0dede</id>
<content type='text'>
Switch to the newly created API function notmuch_database_compact_db,
which takes the database opened in main().
</content>
</entry>
<entry>
<title>cli/tag: convert to new config framework.</title>
<updated>2021-02-06T23:30:20Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-12-07T23:48:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c56dcea7e2da91ada6b6aa737ec115ef4bc91ba6'/>
<id>urn:sha1:c56dcea7e2da91ada6b6aa737ec115ef4bc91ba6</id>
<content type='text'>
In addition to changing configuration access, change talloc context
for allocation.
</content>
</entry>
<entry>
<title>CLI/show: mostly switch show to new config framework</title>
<updated>2021-02-06T23:27:54Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-08T14:16:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6c28039ebba0a363320e9b7d194b86b53703015f'/>
<id>urn:sha1:6c28039ebba0a363320e9b7d194b86b53703015f</id>
<content type='text'>
This will need some cleanup when the transition completes, and we stop
passing notmuch_config_t structs to the subcommands.

Unlike the general case, we open the database in the subcommand, since
we don't know whether it should be opened read/write until we parse
the command line arguments.

Add a test to make sure passing config file on the command line is not
broken by these or future config related changes.
</content>
</entry>
<entry>
<title>CLI/{search,address}: convert to new configuration framework</title>
<updated>2021-02-06T23:23:28Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-08T14:16:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d613d10ddd5948b4fa5a186fc54752047b25023d'/>
<id>urn:sha1:d613d10ddd5948b4fa5a186fc54752047b25023d</id>
<content type='text'>
Since we are already passing a search context around as a kind of
parameter block, add a new talloc context to that to replace relying
on 'config'.

Convert notmuch-search and notmuch-address at the same time, because
they share some code.

Add a test to make sure we don't break passing configuration as a
command line argument.
</content>
</entry>
<entry>
<title>CLI/reply: convert to new config framework</title>
<updated>2021-02-06T23:21:23Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-11-08T01:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8588719eb1bb14367464214f304b6f93452124c7'/>
<id>urn:sha1:8588719eb1bb14367464214f304b6f93452124c7</id>
<content type='text'>
This is messier than some of the other conversions because the
extensive use of 'config' as a talloc context.
</content>
</entry>
<entry>
<title>cli/reindex: convert new config framework</title>
<updated>2021-02-06T23:19:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-10-05T23:35:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0ab0b48be2d76c2c9b5581c1b66b21934b2025b7'/>
<id>urn:sha1:0ab0b48be2d76c2c9b5581c1b66b21934b2025b7</id>
<content type='text'>
The only non-trivial part is switching the talloc context for
query_string_from args from 'config' to 'notmuch'.
</content>
</entry>
<entry>
<title>CLI/insert: convert to new config framework.</title>
<updated>2021-02-06T23:17:34Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-26T11:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f994f0e7df178eb31c656329bb28ffa832ac4364'/>
<id>urn:sha1:f994f0e7df178eb31c656329bb28ffa832ac4364</id>
<content type='text'>
The new talloc context is needed to run the hook at the very end of
the function. That in turn is needed so that this process gives up the
write lock on the database.
</content>
</entry>
<entry>
<title>CLI/restore: convert to new config framework</title>
<updated>2021-02-06T23:15:53Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-10-05T23:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=66adcd4f538d426205fd09b0f97b63c74e9e82d7'/>
<id>urn:sha1:66adcd4f538d426205fd09b0f97b63c74e9e82d7</id>
<content type='text'>
Switch one configuration check to new n_c_get_bool function, and
switch use of config as talloc context to notmuch.
</content>
</entry>
</feed>
