From: fREW Schmidt Date: Thu, 13 Dec 2012 14:35:45 +0000 (+1800) Subject: Re: gmail importer script X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9d985539c455e5cbcbda7cabbe0b43e26224c649;p=notmuch-archives.git Re: gmail importer script --- diff --git a/33/c7ae8b21a5c250a0fccc6ab688b2c9ef64ed25 b/33/c7ae8b21a5c250a0fccc6ab688b2c9ef64ed25 new file mode 100644 index 000000000..6d6262ac8 --- /dev/null +++ b/33/c7ae8b21a5c250a0fccc6ab688b2c9ef64ed25 @@ -0,0 +1,129 @@ +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 BE508431FC2 + for ; Thu, 13 Dec 2012 06:35:50 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +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 Z6o-5AD6H-Yf for ; + Thu, 13 Dec 2012 06:35:50 -0800 (PST) +Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com + [209.85.219.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 5CD6E431FB6 + for ; Thu, 13 Dec 2012 06:35:50 -0800 (PST) +Received: by mail-oa0-f53.google.com with SMTP id j6so2171377oag.26 + for ; Thu, 13 Dec 2012 06:35:48 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=date:from:to:cc:subject:message-id:references:mime-version + :content-type:content-disposition:in-reply-to:user-agent; + bh=ccS/mvxsZ5olBApL5hKi+BjtoDfjXLRGgYkMzhr21q0=; + b=Lw9UhCeJCYg3V8yzQar6Suo4NNEeFEDF8Eq/3+vdcxBXqLKrGYTQfMbSyDgh6PRr7P + AyYi0bRHhbwXOnm7kYZgIQaspFK/LCvjNfXdZC4jHszaF/3Bq2vp+MPn4wgFycCnAbnp + pXoVjMx9Di+nTwQdzyRTBqVnjXtJZj6VQ8fcj2JNomT4M886yjnhcGApFOLciqfFYRfX + if1B3TzUkXdxNTTD6AxVP1mVM49HB/ILYTZJ9p/pKJBKZLUUpSfoFfyjZm9vInmXPP7K + CakJTOTU+4PlhibKgw7mF7th0umcVEdWIaGX8mWRTgineb6OtrzaLZ7F2RKkmKWd1e4o + SYbw== +Received: by 10.182.110.1 with SMTP id hw1mr1619699obb.68.1355409348694; + Thu, 13 Dec 2012 06:35:48 -0800 (PST) +Received: from localhost (firewall.mitsi.com. [206.190.248.2]) + by mx.google.com with ESMTPS id t8sm1047530obn.15.2012.12.13.06.35.46 + (version=TLSv1/SSLv3 cipher=OTHER); + Thu, 13 Dec 2012 06:35:47 -0800 (PST) +Date: Thu, 13 Dec 2012 08:35:45 -0600 +From: fREW Schmidt +To: "Jason A. Donenfeld" +Subject: Re: gmail importer script +Message-ID: <20121213143545.GF3658@tungsten.lan.mitsi.com> +References: + + <20121208174626.23685.31363@brick.lan> + + <20121210094134.11208.94252@megatron> + + + <20121211091215.8048.13433@megatron> + + <20121213142228.GE3658@tungsten.lan.mitsi.com> + +MIME-Version: 1.0 +Content-Type: multipart/signed; micalg=pgp-sha1; + protocol="application/pgp-signature"; boundary="cz6wLo+OExbGG7q/" +Content-Disposition: inline +In-Reply-To: + +User-Agent: Mutt/1.5.21 (2011-07-01) +Cc: notmuch@notmuchmail.org +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: Thu, 13 Dec 2012 14:35:50 -0000 + + +--cz6wLo+OExbGG7q/ +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline + +On Thu, Dec 13, 2012 at 03:30:19PM +0100, Jason A. Donenfeld wrote: +> Please don't reply offlist. This is message #2 that's been sent offlist. + +Oh I'm sorry, that was an accident. + +> On Thu, Dec 13, 2012 at 3:22 PM, fREW Schmidt +> > One thing you might want to try is to only open the notmuch index for +> > writing at a specified sync time. +> +> How do I do this? What's the python function? I couldn't find +> anything. Would be interested in doing this though if it exists. + +I just mean a general programming technique. As you get information +about tags you hold them in memory and then sync it later and clear +your memory. + +> > Also I was going to say you might want to catch SIGINT like +> +> The library already does this. + +-- +fREW Schmidt +http://blog.afoolishmanifesto.com + +--cz6wLo+OExbGG7q/ +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iQIcBAEBAgAGBQJQyefBAAoJEG6zMC9zenWCAtAP/jVKk94wjP60jlMZW6Yqnlf2 +2ZHCSN56KZScfuGEYpF3x4vRZ62U7JsZMDYoD8kGM0zjtgHcCbfITcMIMZv1OPCb +FTDxs/6F+GzcstZ/Ts2Lwa6bX6B2C7wtxkvqa9Zg9wQGRP/vKu6j6YwHmJA0d8aU +fzXAA59Lo7E1vr3BxQaBQ4fOnX7MkXv7b4uNOp9pR1gUNL6Rg+gnlBZfz9ZDSVju +9ldGs6Ws8T0AFFiW5w5OkEb+Tef3PSaFwNx7ExOmmie/vcDXgWS2ebY8VtNplm9h +uItKDV+mOo+FwScm/XC5LOTjJLtmAGKz8+sjC+1rMw+1WEqp9Uz71kHSREYeY3DK +e7EqWYbEiwLwKTNBOK6PqTsx/LcTcyuCOk9VIvl4Hrs8dxugW8euRUudSjNoe9yl +Avnc7bnlV+KEWv0jWMRGBigYs6HaXcgZGEh6A1Un8qqzvZwws9TzmK4HT7oFpUwc +loRfMo1zAto8AnH9Xjz8cONzRU+Rl1a0dnxJupUdQ4pqPjdwol2AFttJzgmr7OBf +ZgPMevLTjk2U/qj6hYjewhT34BKV03bnm9AKT9dOxQphBfJKgs40LiNlGDt5DUsI +YHub+LsdkytP8jMc3Uiinn+yy5a/lQ7an8KLooiemhbO9dyyJoXcrbEodKY+hbqa +mw5Ypa0MWBDD3YGOKZw/ +=txkS +-----END PGP SIGNATURE----- + +--cz6wLo+OExbGG7q/--