1 Return-Path: <prvs=867193b57d=davidben@mit.edu>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id B9158431FBF
\r
6 for <notmuch@notmuchmail.org>; Tue, 23 Feb 2010 18:28:16 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5
\r
12 tests=[BAYES_50=0.001] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id QSP8xpC3Ex6k for <notmuch@notmuchmail.org>;
\r
16 Tue, 23 Feb 2010 18:28:16 -0800 (PST)
\r
17 X-Greylist: delayed 300 seconds by postgrey-1.32 at olra;
\r
18 Tue, 23 Feb 2010 18:28:15 PST
\r
19 Received: from dmz-mailsec-scanner-4.mit.edu (DMZ-MAILSEC-SCANNER-4.MIT.EDU
\r
21 by olra.theworths.org (Postfix) with ESMTP id E1FEE431FAE
\r
22 for <notmuch@notmuchmail.org>; Tue, 23 Feb 2010 18:28:15 -0800 (PST)
\r
23 X-AuditID: 1209190f-b7c94ae00000096e-55-4b848d9195b4
\r
24 Received: from mailhub-auth-1.mit.edu (MAILHUB-AUTH-1.MIT.EDU [18.9.21.35])
\r
25 by dmz-mailsec-scanner-4.mit.edu (Symantec Brightmail Gateway) with
\r
26 SMTP id 8C.CF.02414.19D848B4; Tue, 23 Feb 2010 21:23:13 -0500 (EST)
\r
27 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
\r
28 by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id o1O2NDqZ010140;
\r
29 Tue, 23 Feb 2010 21:23:13 -0500
\r
30 Received: from localhost.localdomain (ET-NINETY-THREE.MIT.EDU [18.208.1.93])
\r
31 (authenticated bits=0)
\r
32 (User authenticated as davidben@ATHENA.MIT.EDU)
\r
33 by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o1O2NTir021532
\r
34 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
\r
35 Tue, 23 Feb 2010 21:23:33 -0500 (EST)
\r
36 From: David Benjamin <davidben@MIT.EDU>
\r
37 To: notmuch@notmuchmail.org
\r
38 Date: Tue, 23 Feb 2010 21:22:59 -0500
\r
39 Message-Id: <1266978183-19698-1-git-send-email-davidben@mit.edu>
\r
40 X-Mailer: git-send-email 1.7.0.18.g39b3
\r
41 X-Brightmail-Tracker: AAAAAA==
\r
42 Subject: [notmuch] [PATCH 0/4] Allow separate database directory from mail
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Wed, 24 Feb 2010 02:28:16 -0000
\r
58 This patchset separates and makes configurable the database directory from the
\r
59 mail store. In the code, I have elected to call the former the 'notmuch_path'
\r
60 as, of the various of names in the source code ('path', 'db_path', etc.), that
\r
61 was the only one that consistently refers to the .notmuch directory.
\r
63 If notmuch_path is not configured, the usual location of $MAILSTORE/.notmuch is
\r
66 The first of the four is an irrelevant little documentation fix that I didn't
\r
67 think was worth making a new thread for.
\r
70 lib/database.cc: Fix function name in comment
\r
71 Pass separate notmuch_path when opening database
\r
72 Configure the database separately from mail store
\r
73 Prompt for database location in notmuch setup
\r
75 lib/database-private.h | 1 +
\r
76 lib/database.cc | 30 ++++++++++++------------
\r
77 lib/notmuch.h | 32 ++++++++++++++++---------
\r
78 notmuch-client.h | 11 +++++++++
\r
79 notmuch-config.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++
\r
80 notmuch-count.c | 4 +-
\r
81 notmuch-dump.c | 4 +-
\r
82 notmuch-new.c | 13 ++++------
\r
83 notmuch-reply.c | 4 +-
\r
84 notmuch-restore.c | 4 +-
\r
85 notmuch-search-tags.c | 4 +-
\r
86 notmuch-search.c | 4 +-
\r
87 notmuch-setup.c | 9 +++++++
\r
88 notmuch-show.c | 4 +-
\r
89 notmuch-tag.c | 4 +-
\r
90 15 files changed, 136 insertions(+), 51 deletions(-)
\r