v5 gzip / dump restore
authorDavid Bremner <david@tethera.net>
Wed, 2 Apr 2014 01:16:15 +0000 (22:16 +2100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:01:07 +0000 (10:01 -0800)
f8/9364bffb9723f23f72830975611afa95bb22bf [new file with mode: 0644]

diff --git a/f8/9364bffb9723f23f72830975611afa95bb22bf b/f8/9364bffb9723f23f72830975611afa95bb22bf
new file mode 100644 (file)
index 0000000..570b08c
--- /dev/null
@@ -0,0 +1,78 @@
+Return-Path: <bremner@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 153A2431FC2\r
+       for <notmuch@notmuchmail.org>; Tue,  1 Apr 2014 18:16:39 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id dHAO3VpIbvzw for <notmuch@notmuchmail.org>;\r
+       Tue,  1 Apr 2014 18:16:35 -0700 (PDT)\r
+Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 9BB7B431FBF\r
+       for <notmuch@notmuchmail.org>; Tue,  1 Apr 2014 18:16:35 -0700 (PDT)\r
+Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
+       (envelope-from <bremner@tethera.net>) id 1WV9n4-00072R-80\r
+       for notmuch@notmuchmail.org; Tue, 01 Apr 2014 22:16:30 -0300\r
+Received: (nullmailer pid 18494 invoked by uid 1000); Wed, 02 Apr 2014\r
+       01:16:26 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: v5 gzip / dump restore\r
+Date: Tue,  1 Apr 2014 22:16:15 -0300\r
+Message-Id: <1396401381-18128-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 1.9.0\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 02 Apr 2014 01:16:39 -0000\r
+\r
+This supercedes\r
+\r
+     id:1396200700-29361-2-git-send-email-david@tethera.net\r
+\r
+This is the first version to include the actual automatic backup\r
+before a database upgrade.\r
+\r
+The following are new compared to the previous version; the other\r
+patches have only small changes, if any.\r
+\r
+ [Patch v5 2/6] dump: when given output file name, write atomically\r
+ [Patch v5 5/6] notmuch-new: backup tags before database upgrade\r
+ [Patch v5 6/6] test: verify tag backup generated by database upgrade\r
+\r
+diff versus master\r
+\r
+ INSTALL                      | 17 +++++++---\r
+ Makefile.local               |  2 +-\r
+ configure                    | 28 ++++++++++++++--\r
+ doc/man1/notmuch-dump.rst    |  3 ++\r
+ doc/man1/notmuch-restore.rst |  8 +++++\r
+ notmuch-client.h             |  4 ++-\r
+ notmuch-dump.c               | 89 ++++++++++++++++++++++++++++++++++++++-----------\r
+ notmuch-new.c                | 29 +++++++++++++++-\r
+ notmuch-restore.c            | 37 +++++++++++---------\r
+ test/T240-dump-restore.sh    | 26 +++++++++++++++\r
+ test/T530-upgrade.sh         | 10 +++++-\r
+ util/Makefile.local          |  2 +-\r
+ util/util.h                  | 12 +++++++\r
+ util/zlib-extra.c            | 76 +++++++++++++++++++++++++++++++++++++++++\r
+ util/zlib-extra.h            | 11 ++++++\r
+ 15 files changed, 307 insertions(+), 47 deletions(-)\r