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 466E2431FAF for ; Tue, 11 Dec 2012 01:10:26 -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 HqCvEi+vGupo for ; Tue, 11 Dec 2012 01:10:25 -0800 (PST) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id BBB0A431FAE for ; Tue, 11 Dec 2012 01:10:24 -0800 (PST) Received: by mail-wg0-f47.google.com with SMTP id dq11so1979972wgb.2 for ; Tue, 11 Dec 2012 01:10:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:to:from :in-reply-to:cc:references:message-id:user-agent:subject:date; bh=LpTD6ma93tCh2MA/nq7cQSDOTLFrFnFaLJSxWrvDB4g=; b=xSE58I25rbGLYPNGmkbnPIXjCFH/PZoAJ2b10Ry0FGVeoiafYfaOlmWNrX9FvpoWkl 9eC2zl8N90lmCyQEffqEPUBpvBL/hYu4mdO0SLodKSfDcS+2LwZy+lsOAWCl4orTgY+I F7qbAzGbeBNjJ9PGHEyu/VAg1ZTbYOWXtomQn9EG3w/EiuyFcLaqbfwrTUA7r5IB7DR4 Z+DVqnnok7JGJH4xQMwlaQpPa7Nan79pCFoawNJBKYguqxGvf//AIwXx63kzU2S2SrPs MP844VT4ZuLM8Oi4eJh5Wpzpfj3pQKugJs3Bh1/6BVR+GedmQqf+ygLYrfMOshwFzG2J VXEw== Received: by 10.216.204.162 with SMTP id h34mr6539896weo.213.1355217023538; Tue, 11 Dec 2012 01:10:23 -0800 (PST) Received: from localhost (dhcp-91-036.inf.ed.ac.uk. [129.215.91.36]) by mx.google.com with ESMTPS id eo10sm15405124wib.9.2012.12.11.01.10.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 01:10:22 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: "Jason A. Donenfeld" , From: Patrick Totzke In-Reply-To: References: <20121207092305.4942.42415@megatron> <20121208162055.14777.40147@brick.lan> <20121208174626.23685.31363@brick.lan> <20121210094134.11208.94252@megatron> Message-ID: <20121211091215.8048.13433@megatron> User-Agent: alot/0.3.3+ Subject: Re: gmail importer script Date: Tue, 11 Dec 2012 09:12:15 +0000 Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org, notmuch@notmuchmail.org, Rainer M Krug 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: Tue, 11 Dec 2012 09:10:26 -0000 Quoting Jason A. Donenfeld (2012-12-11 07:06:22) > On Mon, Dec 10, 2012 at 6:46 PM, Jason A. Donenfeld wro= te: > = > = > = > On Mon, Dec 10, 2012 at 10:41 AM, Patrick Totzke > wrote: > = > It would, but its nicer not to load ressources you're not gonna u= se. > Also, progressbar 2.2 seems to be the newest version you see on a > reasonably new debian/ubuntu install.. > = > = > I'll consider it. > = > = > --silent or -s now silences stdout. It seems to work, but i'm still waiting for the first run-through. Downloading messages: 457 of 22831| This takes ages. I hope it doesn't try to re-download all my messages every= time. Another thing: It seems that throughout its run, your script locks the notmuch database. T= his is particularly annoying if you want to read/tag mails while waiting for a long sync-proces= s. I think you only really want to lock the index for a short time in the end. Do you write to the index directly after a msg is downloaded? /p