1 Return-Path: <jani@nikula.org>
\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 19203431FDB
\r
6 for <notmuch@notmuchmail.org>; Sun, 3 Nov 2013 04:25:07 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 y7AHbm1m-zy4 for <notmuch@notmuchmail.org>;
\r
16 Sun, 3 Nov 2013 04:24:57 -0800 (PST)
\r
17 Received: from mail-ee0-f45.google.com (mail-ee0-f45.google.com
\r
18 [74.125.83.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 CE5E2431FAF for <notmuch@notmuchmail.org>; Sun, 3 Nov 2013 04:24:56 -0800
\r
22 Received: by mail-ee0-f45.google.com with SMTP id e50so584512eek.18
\r
23 for <notmuch@notmuchmail.org>; Sun, 03 Nov 2013 04:24:55 -0800 (PST)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:from:to:cc:subject:date:message-id;
\r
27 bh=HEg6UewcKFHDdA8sTEbIDv2k/f4WU/6epNSZBZA6GIo=;
\r
28 b=UFWTali1Tnw2KIeDLAa24SmsEzCEz4IgBlEbCyRQ0Kfx6xH/EB3eidmZfDQImq+1uB
\r
29 wNrNKDt5g3lQUr74U+n8806XmxVOYmv8gtxODorbsFijYMfH3zlju++CdspczuU2sg0k
\r
30 gGZ23jq6RjhaHvleausLfKMNuJ05EgxiOZOBgh19GKr5wFbyHji/Csoz5tPNLIkzN9BC
\r
31 bWMssYNxb1m9BsY+Ir+PiPVJBRaPJCLiePcfase+Lcyhw+usTkTupPsKGrHK8L4m6OZX
\r
32 qo5s59bovdu1KR/a53JixFHg4aD6lOdI90t/FVVii6tCLz2v4VBZE5zoh93r9oURf9Tg
\r
35 ALoCoQmyQerohIjL2SHG7puIePWIP6fP142T3lT+YzMclSDw8c2tSSsvOCi/mwCghzIrj21NTT3F
\r
36 X-Received: by 10.14.108.9 with SMTP id p9mr12700625eeg.8.1383481494039;
\r
37 Sun, 03 Nov 2013 04:24:54 -0800 (PST)
\r
38 Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.
\r
40 by mx.google.com with ESMTPSA id d7sm32824419eem.8.2013.11.03.04.24.52
\r
41 for <multiple recipients>
\r
42 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
43 Sun, 03 Nov 2013 04:24:53 -0800 (PST)
\r
44 From: Jani Nikula <jani@nikula.org>
\r
45 To: notmuch@notmuchmail.org
\r
46 Subject: [PATCH v2 00/11] compactor changes v2
\r
47 Date: Sun, 3 Nov 2013 14:24:40 +0200
\r
48 Message-Id: <cover.1383481295.git.jani@nikula.org>
\r
49 X-Mailer: git-send-email 1.8.4.rc3
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
58 List-Post: <mailto:notmuch@notmuchmail.org>
\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Sun, 03 Nov 2013 12:25:07 -0000
\r
64 Hi all, this is v2 of [1], incorporating compact related patches from
\r
65 David, some changes from David's review, some new patches, man page
\r
66 update, test update.
\r
72 [1] id:cover.1383315568.git.jani@nikula.org
\r
76 test: fix compact backup / restore test
\r
77 lib: update documentation of callback functions for database_compact
\r
78 and database_upgrade.
\r
81 lib: construct compactor within try block to catch any exceptions
\r
82 lib: check talloc success in compact
\r
83 lib: do not leak the database in compaction
\r
84 lib: add closure parameter to compact status update callback
\r
85 lib: use the compaction backup path provided by the caller
\r
86 cli: return error status if compaction fails
\r
87 cli: add compact --backup=DIRECTORY option, don't backup by default
\r
88 cli: add compact --verbose option and silence output without it
\r
89 man: document notmuch compact --verbose and --backup=DIRECTORY options
\r
91 lib/database.cc | 41 +++++++++++++++++++++++------------------
\r
92 lib/notmuch.h | 11 ++++++++---
\r
93 man/man1/notmuch-compact.1 | 28 +++++++++++++++++++++++++++-
\r
94 notmuch-compact.c | 46 +++++++++++++++++++++++++++-------------------
\r
95 test/compact | 9 +++++----
\r
96 5 files changed, 90 insertions(+), 45 deletions(-)
\r