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 B0278429E30 for ; Tue, 13 Dec 2011 12:28:20 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 JQUaNQjK6MJs for ; Tue, 13 Dec 2011 12:28:19 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 274E3429E27 for ; Tue, 13 Dec 2011 12:28:18 -0800 (PST) Received: from convex-new.cs.unb.ca ([131.202.13.154]) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pBDKSAR8002923; Tue, 13 Dec 2011 16:28:10 -0400 Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.72) (envelope-from ) id 1RaYxO-0001xF-DR; Tue, 13 Dec 2011 16:28:10 -0400 From: David Bremner To: notmuch@notmuchmail.org Subject: New Dump/Restore Format Date: Tue, 13 Dec 2011 16:27:49 -0400 Message-Id: <1323808075-7417-1-git-send-email-david@tethera.net> X-Mailer: git-send-email 1.7.5.4 Cc: pere@hungry.com 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, 13 Dec 2011 20:28:20 -0000 Hi All; There are some style/doc issues remaining, but because bugs in dump and restore really suck, I thought I would ask for early feedback on functionality. I'm particularly interested in how the new dump format works for weird message-ids (spaces and so on). If you have public messages with tricky message-id's, I'd appreciate adding those messages to the test suite. Things to bikeshed now: name(s) of the formats; sup and notmuch are maybe not ideal. The format itself? The encoding format? The latter is chosen for compatibility with nmbug, but we could discussing using a bigger character set. Things I know about - not enough tests - no man page, online docs. - no API docs for hex_encode/blah. I think the code in hex-escape.[ch] is otherwise ready for (second) review; I'll probably do another review of the code in notmuch-(dump|restore).c myself for clarity, so you might want to wait for the next round before diving in. If you prefer pull from git, you can get these patches on branch "new-dump" at git://pivot.cs.unb.ca/notmuch.git