1 Return-Path: <novalazy@gmail.com>
\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 1FD13431FC0
\r
6 for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 05:59:49 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=1.7 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id 1ujN0eRBopYI for <notmuch@notmuchmail.org>;
\r
18 Wed, 16 Apr 2014 05:59:41 -0700 (PDT)
\r
19 Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com
\r
20 [209.85.160.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
21 (No client certificate requested)
\r
22 by olra.theworths.org (Postfix) with ESMTPS id 3296E431FAE
\r
23 for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 05:59:41 -0700 (PDT)
\r
24 Received: by mail-pb0-f54.google.com with SMTP id ma3so10887682pbc.27
\r
25 for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 05:59:39 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=from:to:cc:subject:date:message-id;
\r
28 bh=fLgNHG9N9fCP3GXILJT7/RWEx45RbS77Rrds5JDxQqM=;
\r
29 b=Sdm9BGBZLeHw4pbpZRMF9hP0FcrJkiN/ee0+JEluvG/VvM6ydSn+ZZIIryqEK01wkq
\r
30 zdiHVre+dPF4bnjB4v9hZ11oo/gwTyZiyDbJWe05h9pZvpEyG76l+HcsmHnJUTN2w4h2
\r
31 7E5b+cwGHvqeDItI/bb7imJt8oWmg1uAgQSIyszIa5z9gw4WrQhsQdj+IUtR/00hN3ZY
\r
32 hWIWW37ubUbR9QR3rJ/f9u7zTqP5Fq0rZiVfsuGfGcxP9BVGp5vVIQlAryV3eZDdh4fN
\r
33 +Lb5wzlMz0ZejDv5nKvOPfLgqRbwv1g1uomS8mAPYoglYlBfxIx+hdbR2xU3EcBLpnV/
\r
35 X-Received: by 10.66.160.34 with SMTP id xh2mr8262473pab.109.1397653179342;
\r
36 Wed, 16 Apr 2014 05:59:39 -0700 (PDT)
\r
37 Received: from localhost (215.42.233.220.static.exetel.com.au.
\r
38 [220.233.42.215]) by mx.google.com with ESMTPSA id
\r
39 ba5sm46901250pbc.61.2014.04.16.05.59.37 for <multiple recipients>
\r
40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
41 Wed, 16 Apr 2014 05:59:38 -0700 (PDT)
\r
42 From: Peter Wang <novalazy@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH v2 00/10] add insert --must-index option
\r
45 Date: Wed, 16 Apr 2014 22:59:15 +1000
\r
46 Message-Id: <1397653165-15620-1-git-send-email-novalazy@gmail.com>
\r
47 X-Mailer: git-send-email 1.8.4
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Wed, 16 Apr 2014 12:59:49 -0000
\r
62 Follow up to id:1374365254-13227-1-git-send-email-novalazy@gmail.com
\r
63 The main changes are to take into account failures during
\r
64 tagging and flushing of the database.
\r
66 I took Jani's patch id:1390152046-6509-1-git-send-email-jani@nikula.org
\r
67 without modification.
\r
69 The soname bump is included in case it is required.
\r
71 The python/go/ruby changes are untested.
\r
75 lib: add return status to database close and destroy
\r
79 python: handle return status of database close and destroy
\r
80 go: add return status to database close method
\r
81 ruby: handle return status of database close
\r
82 cli: refactor insert
\r
83 cli: indicate insert failure mode in exit status
\r
84 cli: add insert --must-index option
\r
85 test: test insert --must-index
\r
86 man: update insert documentation
\r
88 bindings/go/src/notmuch/notmuch.go | 4 +-
\r
89 bindings/python/notmuch/database.py | 12 ++--
\r
90 bindings/ruby/database.c | 4 +-
\r
91 doc/man1/notmuch-insert.rst | 24 +++++--
\r
92 lib/Makefile.local | 2 +-
\r
93 lib/database.cc | 30 ++++++--
\r
94 lib/notmuch.h | 15 +++-
\r
95 notmuch-insert.c | 134 +++++++++++++++++++++---------------
\r
96 test/T070-insert.sh | 32 +++++++--
\r
97 9 files changed, 176 insertions(+), 81 deletions(-)
\r