v3 support flexible database location

2021-03-07 Thread David Bremner
This series obsoletes [0], although it does not contain any functional changes since that series. It is rebased against memory leak [1] and style [2] fixes. It also contains several style fixes of its own, which hopefully makes it less time consuming to review. [0]: id:20210304133125.4050229-1-da

v2 support flexible database location

2021-03-04 Thread David Bremner
This obsoletes [1]. It is mainly a rebase against master, but also adds one test (see below). I have been running this code in production for a few weeks now, although without using any of the fancy new features. [1]: id:20210208004109.1192719-1-da...@tethera.net diff --git a/test/T040-setup.sh

Support flexible database location

2021-02-07 Thread David Bremner
This series obsoletes and includes the series at [1]. It adds support for configuring a seperate location for the mail files and the xapian database. XDG compliant locations for the database are supported. The notmuch-config and notmuch-setup commands still needed to be updated to handle the new c