Re: tag sharing
authorJesse Rosenthal <jrosenthal@jhu.edu>
Thu, 6 Oct 2011 13:21:48 +0000 (09:21 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:36 +0000 (09:39 -0800)
8f/207cba62acbf500503fb825229f78748e8bf52 [new file with mode: 0644]

diff --git a/8f/207cba62acbf500503fb825229f78748e8bf52 b/8f/207cba62acbf500503fb825229f78748e8bf52
new file mode 100644 (file)
index 0000000..848aa22
--- /dev/null
@@ -0,0 +1,103 @@
+Return-Path: <prvs=253dbfd03=jrosenthal@jhu.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id B65F3429E26\r
+       for <notmuch@notmuchmail.org>; Thu,  6 Oct 2011 07:21:54 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 8hmP4q9nNL3E for <notmuch@notmuchmail.org>;\r
+       Thu,  6 Oct 2011 07:21:54 -0700 (PDT)\r
+X-Greylist: delayed 3601 seconds by postgrey-1.32 at olra;\r
+       Thu, 06 Oct 2011 07:21:54 PDT\r
+Received: from ipex1.johnshopkins.edu (ipex1.johnshopkins.edu [162.129.8.141])\r
+       (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 02947431FD0\r
+       for <notmuch@notmuchmail.org>; Thu,  6 Oct 2011 07:21:53 -0700 (PDT)\r
+X-IronPort-Anti-Spam-Filtered: true\r
+X-IronPort-Anti-Spam-Result:\r
+ Ap0EAJiqjU4KoSAO/2dsb2JhbABEqTOBUwEBBTpPCxgJJQ8BHCsGARK2C4kBhywEk26RYg\r
+X-IronPort-AV: E=Sophos;i="4.68,496,1312171200"; d="scan'208";a="98213238"\r
+Received: from watt.hwcampus.jhu.edu ([10.161.32.14])\r
+       by ipex1.johnshopkins.edu with ESMTP/TLS/ADH-AES256-SHA;\r
+       06 Oct 2011 09:21:48 -0400\r
+Received: by watt.hwcampus.jhu.edu (Postfix, from userid 502)\r
+       id 9C779A3BBB9; Thu,  6 Oct 2011 09:21:48 -0400 (EDT)\r
+From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
+To: David Bremner <david@tethera.net>,\r
+       Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: tag sharing\r
+In-Reply-To: <87wrcijn1w.fsf@zancas.localnet>\r
+References: <1306619520-25730-1-git-send-email-jrollins@finestructure.net>\r
+       <87hb8eebdi.fsf@servo.factory.finestructure.net>\r
+       <87pqmyn224.fsf@servo.factory.finestructure.net>\r
+       <87zklyjshd.fsf@yoom.home.cworth.org>\r
+       <87sjrng5k3.fsf@servo.factory.finestructure.net>\r
+       <87oc2bjgrs.fsf@yoom.home.cworth.org>\r
+       <8762oigc0y.fsf@servo.factory.finestructure.net>\r
+       <87boya98sf.fsf@gogo.home>\r
+       <87vcwg2p2m.fsf@servo.factory.finestructure.net>\r
+       <87wrcijn1w.fsf@zancas.localnet>\r
+User-Agent: Notmuch/unknown (http://notmuchmail.org) Emacs/23.2.1\r
+       (x86_64-apple-darwin)\r
+Date: Thu, 06 Oct 2011 09:21:48 -0400\r
+Message-ID: <m17h4i8dcj.fsf@watt.hwcampus.jhu.edu>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 06 Oct 2011 14:21:54 -0000\r
+\r
+On Thu, 06 Oct 2011 09:56:43 -0300, David Bremner <david@tethera.net> wrote:\r
+> Jesse, do you remember why you decided to roll your own?\r
+\r
+Only reason I can remember (a year and a half later) of is that it\r
+seemed like the basic illustration of concept would be a saturday\r
+morning's project. In retrospect, I think the main issue was that I was\r
+trying to figure out how history would be kept. By using git, though,\r
+your idea would be that we get history for free, right?\r
+\r
+I think my format was:\r
+\r
+    <TIMESTAMP>    <MESSAGID>     <TAG>\r
+    12345          foo@bar        to-fix\r
+    13456          bar@foo        feature-request\r
+\r
+But using git would get us timestamps for free too, I guess.  And if we\r
+get rid of timestamps, then we just have dumps. So what we would really\r
+just need is a thin namespacing layer in some scripting language on top\r
+of git? I.e., all we need something to just keep different dumps in\r
+different namespaces, so that when I pull your dump, the tags come in as\r
+`bremner/to-fix` (or whatever our separator is), and then when I dump\r
+all `bremner` tags, it removes the namespace and puts it in\r
+`bremner.tagfile`.\r
+\r
+One rather obvious thing that I discovered: processing dumps and\r
+restores from the ui is pretty slow, because you have to output a huge\r
+file, and then find the tags in your preferred namespace. So using\r
+either the library or the bindings would probably speed things up quite\r
+a bit, by only dumping the tags you care about. Which means it couldn't\r
+just be a shell script: it would have to be c/ruby/python.\r
+\r
+Best,\r
+Jesse\r
+\r
+\r