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 3FCA74196F3 for ; Sat, 27 Mar 2010 18:22:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.8 X-Spam-Level: X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] 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 QPcF3og4XTIP for ; Sat, 27 Mar 2010 18:22:37 -0700 (PDT) Received: from homiemail-a13.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by olra.theworths.org (Postfix) with ESMTP id 7C98E4196F2 for ; Sat, 27 Mar 2010 18:22:37 -0700 (PDT) Received: from sspaeth.de (unknown [195.190.188.219]) by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id B6FB86A806B for ; Sat, 27 Mar 2010 18:22:34 -0700 (PDT) Received: by sspaeth.de (sSMTP sendmail emulation); Sun, 28 Mar 2010 03:22:31 +0200 From: "Sebastian Spaeth" To: notmuch list Date: Sun, 28 Mar 2010 03:22:31 +0200 Message-ID: <874ok1z1d4.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [notmuch] notmuchsync, now with new formula ;-) 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: Sun, 28 Mar 2010 01:22:38 -0000 Hi all, I just pushed an experimental branch to notmuchsync that uses notmuch.so and my cnotmuch bindings. It needs some cleanup and documentation, but it worked on my box.If you feel adventorous, get it from git clone git@github.com:spaetz/notmuchsync.git The new stuff is in branch cnotmuch. It synced my Maildir flags of all my 13k Mails in 2.5 seconds. You need to have cnotmuch bindings installed in your python path (e.g. with sudo easy_install cnotmuch) and a shared notmuch library (see 3 patches from Ingmar to install a shared library). READ THIS BEFORE YOU TRY: 1) Make a notmuch dump backup before trying this :) 2) Run it with --dry-run and -d to get a non-action debug log of what would be done in this run and check if it makes sense. 3) The options -p(rune) -s(ync to maildir) -r(evsync to notmuch tags) are still the same. The --all option has actually become feasible now. (Rev|Syncing will otherwise only try to sync mails from the last 30 days) 4) -h/--help is your friend. This has changed!!!: --dryrun has become --dry-run for consistency with git I am interested in feedback, testing and patches. Sebastian