1 Return-Path: <tomi.ollila@nixu.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 156A8429E21
\r
6 for <notmuch@notmuchmail.org>; Mon, 7 Nov 2011 04:59:12 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 YuUpSGqX7Vxj for <notmuch@notmuchmail.org>;
\r
16 Mon, 7 Nov 2011 04:59:07 -0800 (PST)
\r
17 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])
\r
18 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id A9E7A431FB6
\r
21 for <notmuch@notmuchmail.org>; Mon, 7 Nov 2011 04:59:07 -0800 (PST)
\r
22 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])
\r
23 by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id
\r
24 pA7CwsNx014225; Mon, 7 Nov 2011 14:58:54 +0200
\r
25 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
26 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
\r
27 Subject: Re: [PATCH] contrib/nmbug: new script for sharing tags with a given
\r
29 In-Reply-To: <1320627586-10068-1-git-send-email-david@tethera.net>
\r
30 References: <1319906707-10141-2-git-send-email-david@tethera.net>
\r
31 <1320627586-10068-1-git-send-email-david@tethera.net>
\r
32 User-Agent: Notmuch/0.9+23~g556c5fa (http://notmuchmail.org) Emacs/23.3.1
\r
34 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
35 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
36 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
37 Date: Mon, 07 Nov 2011 14:58:53 +0200
\r
38 Message-ID: <yf6wrbcytpu.fsf@taco2.nixu.fi>
\r
40 Content-Type: text/plain; charset=us-ascii
\r
41 Cc: David Bremner <bremner@debian.org>
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.13
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Mon, 07 Nov 2011 12:59:12 -0000
\r
56 On Sun, 6 Nov 2011 20:59:46 -0400, David Bremner <david@tethera.net> wrote:
\r
57 > From: David Bremner <bremner@debian.org>
\r
59 > The main idea is consider the notmuch database as analogous to the
\r
60 > work-tree. A bare git repo is maintained in the users home directory,
\r
61 > with a tree of the form tags/$message-id/$tag
\r
63 > Like notmuch and git, we have a set of subcommnds, mainly modelled on
\r
66 > The most important commands are
\r
68 > commit xapian -> git
\r
69 > checkout git -> xapian
\r
70 > merge fetched git + git -> xapian
\r
71 > status find differences between xapian, git, and remote git.
\r
73 > There are also some convenience wrappers around git commands.
\r
75 > In order to encode tags (viewed as octet sequences) into filenames,
\r
76 > we whitelist a smallish set of characters and %hex escape anything outside.
\r
78 > The prefix is omitted in git, which lets one save and restore to
\r
79 > different prefixes (although this is only lightly tested).
\r
82 > Many things have changed, time for a repost. It no long needs the
\r
83 > "restore --match" patches.
\r
85 Good work. Could you do some simple things to help our reviewer's work:
\r
87 *) consistent spacing (around '='s and '{':s (and '=>':s) etc.
\r
88 *) consistent amount of newlines
\r
89 *) consitent quoting (use same ':s or ":s in similar context)
\r
90 *) M-x whitespace-cleanup (or M-x delete-trailing-whitespace) in pivot...
\r
91 *) something else than @ in m@ ... @x (at least in unpack_diff_lines) (confuses viewers)
\r