Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 28B3F431FBC for ; Tue, 16 Feb 2010 16:21:55 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.75 X-Spam-Level: X-Spam-Status: No, score=-0.75 tagged_above=-999 required=5 tests=[AWL=-0.751, BAYES_50=0.001] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aoZeITsLu61D for ; Tue, 16 Feb 2010 16:21:54 -0800 (PST) Received: from kaylee.flamingspork.com (kaylee.flamingspork.com [74.207.245.61]) by olra.theworths.org (Postfix) with ESMTP id 7F82F431FAE for ; Tue, 16 Feb 2010 16:21:54 -0800 (PST) Received: from willster (localhost [127.0.0.1]) by kaylee.flamingspork.com (Postfix) with ESMTPS id C66696396; Wed, 17 Feb 2010 00:18:50 +0000 (UTC) Received: by willster (Postfix, from userid 1000) id 0688810A9F4F; Wed, 17 Feb 2010 11:21:51 +1100 (EST) From: Stewart Smith To: Ben Gamari , notmuch In-Reply-To: <1266347128-sup-7796@ben-laptop> References: <20100215002914.GA22402@flamingspork.com> <1266347128-sup-7796@ben-laptop> Date: Wed, 17 Feb 2010 11:21:51 +1100 Message-ID: <87ocjok8yo.fsf@willster.local.flamingspork.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] Mail in git X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 00:21:55 -0000 On Tue, 16 Feb 2010 14:06:29 -0500, Ben Gamari wrote: > Excerpts from Stewart Smith's message of Sun Feb 14 19:29:14 -0500 2010: > > So... I sketched this out in my head at LCA... and it's taken a bit of > > time to actually properly try it. > > > In case anyone wanted to play around with this, I've written up my own > little implementation[1] of a git mail import script. It's quite simple, > but I felt it might be nice to have some public code to play around > with. I get around 80 messages/second on my laptop and things are > definitely quite IO bound. You get 1 commit per message, although I'm > not entirely sure if this is the correct way to do things. > > [1] git://goldnerlab.physics.umass.edu/git-mail Using fast-import is interesting. Does it update the working tree? The big thing I wanted to avoid was creating a working tree (another million inodes being created is not ever what I need) Also interesting is the mention of creating packs on the fly... this could save the time in first writing the object and then packing it (as my script does). I'm going to play with this.... -- Stewart Smith