Re: Hi all
[notmuch-archives.git] / 8f / 207cba62acbf500503fb825229f78748e8bf52
1 Return-Path: <prvs=253dbfd03=jrosenthal@jhu.edu>\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 B65F3429E26\r
6         for <notmuch@notmuchmail.org>; Thu,  6 Oct 2011 07:21:54 -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: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 8hmP4q9nNL3E for <notmuch@notmuchmail.org>;\r
16         Thu,  6 Oct 2011 07:21:54 -0700 (PDT)\r
17 X-Greylist: delayed 3601 seconds by postgrey-1.32 at olra;\r
18         Thu, 06 Oct 2011 07:21:54 PDT\r
19 Received: from ipex1.johnshopkins.edu (ipex1.johnshopkins.edu [162.129.8.141])\r
20         (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 02947431FD0\r
23         for <notmuch@notmuchmail.org>; Thu,  6 Oct 2011 07:21:53 -0700 (PDT)\r
24 X-IronPort-Anti-Spam-Filtered: true\r
25 X-IronPort-Anti-Spam-Result:\r
26  Ap0EAJiqjU4KoSAO/2dsb2JhbABEqTOBUwEBBTpPCxgJJQ8BHCsGARK2C4kBhywEk26RYg\r
27 X-IronPort-AV: E=Sophos;i="4.68,496,1312171200"; d="scan'208";a="98213238"\r
28 Received: from watt.hwcampus.jhu.edu ([10.161.32.14])\r
29         by ipex1.johnshopkins.edu with ESMTP/TLS/ADH-AES256-SHA;\r
30         06 Oct 2011 09:21:48 -0400\r
31 Received: by watt.hwcampus.jhu.edu (Postfix, from userid 502)\r
32         id 9C779A3BBB9; Thu,  6 Oct 2011 09:21:48 -0400 (EDT)\r
33 From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
34 To: David Bremner <david@tethera.net>,\r
35         Jameson Graef Rollins <jrollins@finestructure.net>,\r
36         Notmuch Mail <notmuch@notmuchmail.org>\r
37 Subject: Re: tag sharing\r
38 In-Reply-To: <87wrcijn1w.fsf@zancas.localnet>\r
39 References: <1306619520-25730-1-git-send-email-jrollins@finestructure.net>\r
40         <87hb8eebdi.fsf@servo.factory.finestructure.net>\r
41         <87pqmyn224.fsf@servo.factory.finestructure.net>\r
42         <87zklyjshd.fsf@yoom.home.cworth.org>\r
43         <87sjrng5k3.fsf@servo.factory.finestructure.net>\r
44         <87oc2bjgrs.fsf@yoom.home.cworth.org>\r
45         <8762oigc0y.fsf@servo.factory.finestructure.net>\r
46         <87boya98sf.fsf@gogo.home>\r
47         <87vcwg2p2m.fsf@servo.factory.finestructure.net>\r
48         <87wrcijn1w.fsf@zancas.localnet>\r
49 User-Agent: Notmuch/unknown (http://notmuchmail.org) Emacs/23.2.1\r
50         (x86_64-apple-darwin)\r
51 Date: Thu, 06 Oct 2011 09:21:48 -0400\r
52 Message-ID: <m17h4i8dcj.fsf@watt.hwcampus.jhu.edu>\r
53 MIME-Version: 1.0\r
54 Content-Type: text/plain; charset=us-ascii\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 List-Id: "Use and development of the notmuch mail system."\r
59         <notmuch.notmuchmail.org>\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
63 List-Post: <mailto:notmuch@notmuchmail.org>\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
67 X-List-Received-Date: Thu, 06 Oct 2011 14:21:54 -0000\r
68 \r
69 On Thu, 06 Oct 2011 09:56:43 -0300, David Bremner <david@tethera.net> wrote:\r
70 > Jesse, do you remember why you decided to roll your own?\r
71 \r
72 Only reason I can remember (a year and a half later) of is that it\r
73 seemed like the basic illustration of concept would be a saturday\r
74 morning's project. In retrospect, I think the main issue was that I was\r
75 trying to figure out how history would be kept. By using git, though,\r
76 your idea would be that we get history for free, right?\r
77 \r
78 I think my format was:\r
79 \r
80     <TIMESTAMP>    <MESSAGID>     <TAG>\r
81     12345          foo@bar        to-fix\r
82     13456          bar@foo        feature-request\r
83 \r
84 But using git would get us timestamps for free too, I guess.  And if we\r
85 get rid of timestamps, then we just have dumps. So what we would really\r
86 just need is a thin namespacing layer in some scripting language on top\r
87 of git? I.e., all we need something to just keep different dumps in\r
88 different namespaces, so that when I pull your dump, the tags come in as\r
89 `bremner/to-fix` (or whatever our separator is), and then when I dump\r
90 all `bremner` tags, it removes the namespace and puts it in\r
91 `bremner.tagfile`.\r
92 \r
93 One rather obvious thing that I discovered: processing dumps and\r
94 restores from the ui is pretty slow, because you have to output a huge\r
95 file, and then find the tags in your preferred namespace. So using\r
96 either the library or the bindings would probably speed things up quite\r
97 a bit, by only dumping the tags you care about. Which means it couldn't\r
98 just be a shell script: it would have to be c/ruby/python.\r
99 \r
100 Best,\r
101 Jesse\r
102 \r
103 \r