[RFC PATCH] test: add devel/test-in-docker.sh
[notmuch-archives.git] / e6 / 06d2b5e78992ea168941d6be23304d74a32280
1 Return-Path: <sojkam1@fel.cvut.cz>\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 D6E214196F3\r
6         for <notmuch@notmuchmail.org>; Sat, 27 Mar 2010 13:43:03 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] 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 LTHPebT5JTBc for <notmuch@notmuchmail.org>;\r
16         Sat, 27 Mar 2010 13:43:02 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 82A354196F2\r
19         for <notmuch@notmuchmail.org>; Sat, 27 Mar 2010 13:43:02 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id F343F19F3419;\r
22         Sat, 27 Mar 2010 21:43:00 +0100 (CET)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id 8ncqEvcYq+H9; Sat, 27 Mar 2010 21:42:59 +0100 (CET)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id 73BC719F3411;\r
30         Sat, 27 Mar 2010 21:42:59 +0100 (CET)\r
31 Received: from steelpick.2x.cz (r5da224.net.upc.cz [86.49.116.224])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 5A0E4FA003;\r
34         Sat, 27 Mar 2010 21:42:59 +0100 (CET)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.71)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1NvcqQ-0001n4-Ay; Sat, 27 Mar 2010 21:42:58 +0100\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Stewart Smith <stewart@flamingspork.com>, notmuch@notmuchmail.org\r
40 In-Reply-To: <87sk7m91mt.fsf@steelpick.2x.cz>\r
41 References: <1268926780-20045-1-git-send-email-sojkam1@fel.cvut.cz>\r
42         <874ok68g1z.fsf@willster.local.flamingspork.com>\r
43         <87sk7m91mt.fsf@steelpick.2x.cz>\r
44 Date: Sat, 27 Mar 2010 21:42:58 +0100\r
45 Message-ID: <8739zlijhp.fsf@steelpick.2x.cz>\r
46 MIME-Version: 1.0\r
47 Content-Type: text/plain; charset=us-ascii\r
48 Subject: Re: [notmuch] Mailstore abstraction & maildir synchronization\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Sat, 27 Mar 2010 20:43:04 -0000\r
62 \r
63 On Fri, 26 Mar 2010, Michal Sojka wrote:\r
64 > On Wed, 24 Mar 2010, Stewart Smith wrote:\r
65 > > On Thu, 18 Mar 2010 16:39:36 +0100, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
66 > > > - Only file-based storage is suported. Notmuch access the files\r
67 > > >   directly, and not via the mailstore interface.\r
68 > > \r
69 > > It'll be great when this is fixed... should be trivial to add a git\r
70 > > backend then.\r
71\r
72 > Yes, it seems to be quite trivial. I'll probably look at this tomorrow.\r
73 \r
74 Here it is. It was not so trivial, because it was needed to change\r
75 absolute paths to relative ones at several places.\r
76 \r
77 So the changes since v2 are:\r
78 \r
79 - "Tests for maildir-based mailstore": removed absolute paths as found\r
80   on my computer.\r
81 - Added "Access messages through mail store interface"\r
82 - Added "Add 'cat' subcommand"\r
83 \r
84 Michal Sojka (6):\r
85   Mailstore abstraction interface\r
86   Conversion to mailstore abstraction\r
87   Add maildir-based mailstore\r
88   Tests for maildir-based mailstore\r
89   Access messages through mail store interface\r
90   Add 'cat' subcommand\r
91 \r
92  emacs/notmuch.el        |    8 +-\r
93  lib/Makefile.local      |    2 +\r
94  lib/database-private.h  |    1 +\r
95  lib/database.cc         |   36 ++-\r
96  lib/index.cc            |    8 +-\r
97  lib/mailstore-files.c   |  831 +++++++++++++++++++++++++++++++++++++++++++++++\r
98  lib/mailstore-private.h |   59 ++++\r
99  lib/mailstore.c         |   78 +++++\r
100  lib/message-file.c      |    8 +-\r
101  lib/message.cc          |   85 +++++-\r
102  lib/notmuch-private.h   |   10 +-\r
103  lib/notmuch.h           |   98 ++++++-\r
104  lib/sha1.c              |    6 +-\r
105  notmuch-client.h        |   12 +-\r
106  notmuch-config.c        |   34 ++\r
107  notmuch-count.c         |    3 +-\r
108  notmuch-dump.c          |    3 +-\r
109  notmuch-new.c           |  646 ++++---------------------------------\r
110  notmuch-reply.c         |   13 +-\r
111  notmuch-restore.c       |    3 +-\r
112  notmuch-search-tags.c   |    3 +-\r
113  notmuch-search.c        |    3 +-\r
114  notmuch-show.c          |   79 +++++-\r
115  notmuch-tag.c           |    3 +-\r
116  notmuch.c               |    4 +\r
117  show-message.c          |   14 +-\r
118  test/t0006-maildir.sh   |  208 ++++++++++++\r
119  test/test-lib.sh        |    7 +-\r
120  28 files changed, 1611 insertions(+), 654 deletions(-)\r
121  create mode 100644 lib/mailstore-files.c\r
122  create mode 100644 lib/mailstore-private.h\r
123  create mode 100644 lib/mailstore.c\r
124  create mode 100755 test/t0006-maildir.sh\r
125 \r
126 \r
127 \r
128 \r