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 EA327431FAF
\r
6 for <notmuch@notmuchmail.org>; Sat, 14 Apr 2012 05:15:39 -0700 (PDT)
\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 YqorxJ8XWVRE for <notmuch@notmuchmail.org>;
\r
16 Sat, 14 Apr 2012 05:15:37 -0700 (PDT)
\r
17 Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com
\r
18 [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 5E36C431FAE
\r
21 for <notmuch@notmuchmail.org>; Sat, 14 Apr 2012 05:15:37 -0700 (PDT)
\r
22 Received: by lbdb5 with SMTP id b5so40243lbd.26
\r
23 for <notmuch@notmuchmail.org>; Sat, 14 Apr 2012 05:15:35 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;
\r
27 bh=X9WNAza30JTCUSz9OcvVZmEcXc20o8V41Afm7ARg1VE=;
\r
28 b=Iny5+c5Ohrv8LZn8YHZt1rDAqLJE+p+kRdcfi6WcFby3SoIQRfk/kab+ZFTlUwYR8J
\r
29 ATVJEuEhyRh4y286xMr8gD+K+KPlW3gUgU84YzvbEiDDs5s8D8lbsKnR/5kQ+cUf5dyH
\r
30 0qNZRU/uQK8vaUEq4lfaZM5hYsHqwZXbhlMYDg/c5oZX8ai2xQ7GS+D+je8XpvP6WOJ8
\r
31 fPZdYuKpYFB19FYtc3mKHbozqR+tijnZ6WZDgvH7dziUVo6VWF1OSMzapMfSY1F9idC2
\r
32 R6XrVLz9i6uCpSBIK3BOAne/cmlJxqZKZqnnDtXb0RVIHhpqj4Pt+f5iT3+W0bmUWMkF
\r
34 Received: by 10.152.102.228 with SMTP id fr4mr4478989lab.23.1334405735578;
\r
35 Sat, 14 Apr 2012 05:15:35 -0700 (PDT)
\r
36 Received: from localhost (dsl-hkibrasgw4-fe50dc00-68.dhcp.inet.fi.
\r
38 by mx.google.com with ESMTPS id te8sm12652318lab.3.2012.04.14.05.15.33
\r
39 (version=SSLv3 cipher=OTHER); Sat, 14 Apr 2012 05:15:34 -0700 (PDT)
\r
40 From: Jani Nikula <jani@nikula.org>
\r
41 To: notmuch@notmuchmail.org
\r
42 Subject: [PATCH v2 0/6] batch tagging support: "notmuch tag --stdin"
\r
43 Date: Sat, 14 Apr 2012 15:15:25 +0300
\r
44 Message-Id: <cover.1334404979.git.jani@nikula.org>
\r
45 X-Mailer: git-send-email 1.7.5.4
\r
47 ALoCoQmdHvzFKrLcan7+8KQQQFl8F754uXiTWdmXl2j5R0t3oNe5Pa3JiYi6wM2ZbIkzOMm9pOKb
\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: Sat, 14 Apr 2012 12:15:40 -0000
\r
62 v2 of id:"cover.1333231401.git.jani@nikula.org"
\r
64 This series adds support for batch tagging through stdin to "notmuch
\r
65 tag". This should be useful and efficient for e.g. initial tagging
\r
66 scripts. Also, this adds locking around a batch of tag changes, which is
\r
67 also useful for initial tagging scripts. See the test patch for an
\r
68 example using a "here document".
\r
70 The idea is that the same format (and parser) would be later used for
\r
71 notmuch dump/restore, building on David's earlier work at
\r
72 id:"1324214111-32079-1-git-send-email-david@tethera.net".
\r
74 The v2 only has non-functional changes per David's comments, and
\r
75 squashes the first three patches of v1 into one.
\r
82 hex-escape: (en|de)code strings to/from restricted character set
\r
83 test/hex-xcode: new test binary
\r
84 test/hex-escaping: new test for hex escaping routines
\r
87 cli: add support for batch tagging operations to "notmuch tag"
\r
88 test: add test for notmuch tag --stdin option
\r
89 man: document notmuch tag --stdin option
\r
91 man/man1/notmuch-tag.1 | 44 +++++++++-
\r
92 notmuch-tag.c | 244 ++++++++++++++++++++++++++++++++++++++++++------
\r
93 test/.gitignore | 1 +
\r
94 test/Makefile.local | 6 +-
\r
96 test/hex-escaping | 26 +++++
\r
97 test/hex-xcode.c | 103 ++++++++++++++++++++
\r
98 test/notmuch-test | 1 +
\r
99 test/tagging | 13 +++
\r
100 util/Makefile.local | 2 +-
\r
101 util/hex-escape.c | 168 +++++++++++++++++++++++++++++++++
\r
102 util/hex-escape.h | 41 ++++++++
\r
103 12 files changed, 616 insertions(+), 35 deletions(-)
\r
104 create mode 100755 test/hex-escaping
\r
105 create mode 100644 test/hex-xcode.c
\r
106 create mode 100644 util/hex-escape.c
\r
107 create mode 100644 util/hex-escape.h
\r