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 80FD040D173 for ; Sun, 31 Oct 2010 14:48:33 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 SpmETygshsTN for ; Sun, 31 Oct 2010 14:48:19 -0700 (PDT) Received: from smtp.nextra.cz (smtp.nextra.cz [212.65.193.3]) by olra.theworths.org (Postfix) with ESMTP id 6EEF040D16A for ; Sun, 31 Oct 2010 14:48:02 -0700 (PDT) Received: from resox.2x.cz (unknown [213.29.198.144]) by smtp.nextra.cz (Postfix) with ESMTP id 2BDCB88C7D; Sun, 31 Oct 2010 22:29:56 +0100 (CET) Received: from wsh by resox.2x.cz with local (Exim 4.72) (envelope-from ) id 1PCfTF-0004vc-Mo; Sun, 31 Oct 2010 22:29:45 +0100 From: Michal Sojka To: notmuch@notmuchmail.org Subject: [PATCH v4 0/4] Maildir synchronization Date: Sun, 31 Oct 2010 22:29:14 +0100 Message-Id: <1288560558-18915-1-git-send-email-sojkam1@fel.cvut.cz> X-Mailer: git-send-email 1.7.1 In-Reply-To: <87tyk3vpxd.fsf@wsheee.2x.cz> References: <87tyk3vpxd.fsf@wsheee.2x.cz> 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, 31 Oct 2010 21:48:33 -0000 This is the next iteration of maildir synchronization patches. The changes are: - Configuration is now simplified. The synchronization can only be full enabled or disabled. By default it is still disabled. - Added test for notmuch restore (with enabled synchronization) - Rebased to the current master - 'D' flag is mapped to 'deleted' tag instead of 'delete' (this has already been in v3) Can be pulled by git pull git://rtime.felk.cvut.cz/notmuch tags/maildir-sync-v4 Michal Sojka (4): lib: Return added message even if it already was in the database Maildir synchronization Make maildir synchronization configurable Tests for maildir synchronization lib/database-private.h | 2 +- lib/database.cc | 19 ++++- lib/message.cc | 226 ++++++++++++++++++++++++++++++++++++++++++++++ lib/notmuch-private.h | 4 + lib/notmuch.h | 16 +++- notmuch-client.h | 7 ++ notmuch-config.c | 49 ++++++++++ notmuch-new.c | 7 ++- notmuch-restore.c | 2 + notmuch-setup.c | 10 ++ notmuch-tag.c | 2 + test/maildir-sync | 231 ++++++++++++++++++++++++++++++++++++++++++++++++ test/notmuch-test | 3 +- test/test-lib.sh | 14 +++- 14 files changed, 585 insertions(+), 7 deletions(-) create mode 100755 test/maildir-sync