Re: Applying patches directly from emails?
[notmuch-archives.git] / ee / cfad2eb9eb47cbe293afb8c91c81355ea17929
1 Return-Path: <tomi.ollila@iki.fi>\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 75E79431FAF\r
6         for <notmuch@notmuchmail.org>; Tue, 21 Aug 2012 08:25:00 -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: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 P08BWqpOKhp5 for <notmuch@notmuchmail.org>;\r
16         Tue, 21 Aug 2012 08:24:59 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id E8AC8431FAE\r
19         for <notmuch@notmuchmail.org>; Tue, 21 Aug 2012 08:24:58 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 507C6100386; Tue, 21 Aug 2012 18:25:06 +0300 (EEST)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Ben Gamari <bgamari.foss@gmail.com>, Jani Nikula <jani@nikula.org>,\r
24         notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH RFC?] Compactification support\r
26 In-Reply-To: <87zk5oz4fh.fsf@gmail.com>\r
27 References: <1345476704-17091-1-git-send-email-bgamari.foss@gmail.com>\r
28         <87boi41xdu.fsf@nikula.org> <87zk5oz4fh.fsf@gmail.com>\r
29 User-Agent: Notmuch/0.14+8~gd6b499d (http://notmuchmail.org) Emacs/23.1.1\r
30         (x86_64-redhat-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Tue, 21 Aug 2012 18:25:06 +0300\r
35 Message-ID: <m2wr0s6ze5.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Tue, 21 Aug 2012 15:25:00 -0000\r
51 \r
52 On Tue, Aug 21 2012, Ben Gamari <bgamari.foss@gmail.com> wrote:\r
53 \r
54 > Jani Nikula <jani@nikula.org> writes:\r
55 >\r
56 >> On Mon, 20 Aug 2012, Ben Gamari <bgamari.foss@gmail.com> wrote:\r
57 >>> Here is a small patchset adding support for database compaction when\r
58 >>> supported by Xapian. Here I add a function which both compacts and\r
59 >>> closes the database.\r
60 >>\r
61 >> What are the benefits of this compared to xapian-compact [1]?\r
62 >>\r
63 > I think it's a bit of a shame you are currently forced to interact with\r
64 > Xapian directly (an implementation detail) to compact the database. This\r
65 > set seeks to abstract this out. This is especially important since it's\r
66 > not too difficult to get the invocation of xapian-compact wrong\r
67 > (e.g. forget --no-renumber).\r
68 \r
69 Better reason would be that xapian-compact(1) may not be available although\r
70 the library is -- if the command is available it is easy to execve(2) it\r
71 with correct arguments... (?)\r
72 \r
73 Tomi\r
74 \r
75 > Also, in the past Carl (id:"87ocl1lut1.fsf@yoom.home.cworth.org") has\r
76 > mentioned it would be nice if compact would be run after the initial run\r
77 > of "notmuch new". This patchset sets the groundwork to enable this.\r
78 >\r
79 > Cheers,\r
80 >\r
81 > - Ben\r