]> git.cworth.org Git - notmuch/commit
lib: support splitting mail from database location.
authorDavid Bremner <david@tethera.net>
Thu, 31 Dec 2020 22:20:31 +0000 (18:20 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 20 Mar 2021 10:39:12 +0000 (07:39 -0300)
commite823d05ae6dc920d4fc9abf774c3d2575d891d7b
treea66d028308be1a14a3b6f5fcae9feaa12cc3aede
parent986056bdbcfea642a2d08f7ee257f7aaaed433b9
lib: support splitting mail from database location.

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.
doc/man1/notmuch-config.rst
lib/config.cc
lib/database.cc
lib/message-file.c
lib/message.cc
lib/notmuch.h
lib/open.cc
test/T055-path-config.sh [new file with mode: 0755]
test/T590-libconfig.sh