From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: v5 gzip / dump restore
Date: Tue, 1 Apr 2014 22:16:15 -0300 [thread overview]
Message-ID: <1396401381-18128-1-git-send-email-david@tethera.net> (raw)
This supercedes
id:1396200700-29361-2-git-send-email-david@tethera.net
This is the first version to include the actual automatic backup
before a database upgrade.
The following are new compared to the previous version; the other
patches have only small changes, if any.
[Patch v5 2/6] dump: when given output file name, write atomically
[Patch v5 5/6] notmuch-new: backup tags before database upgrade
[Patch v5 6/6] test: verify tag backup generated by database upgrade
diff versus master
INSTALL | 17 +++++++---
Makefile.local | 2 +-
configure | 28 ++++++++++++++--
doc/man1/notmuch-dump.rst | 3 ++
doc/man1/notmuch-restore.rst | 8 +++++
notmuch-client.h | 4 ++-
notmuch-dump.c | 89 ++++++++++++++++++++++++++++++++++++++-----------
notmuch-new.c | 29 +++++++++++++++-
notmuch-restore.c | 37 +++++++++++---------
test/T240-dump-restore.sh | 26 +++++++++++++++
test/T530-upgrade.sh | 10 +++++-
util/Makefile.local | 2 +-
util/util.h | 12 +++++++
util/zlib-extra.c | 76 +++++++++++++++++++++++++++++++++++++++++
util/zlib-extra.h | 11 ++++++
15 files changed, 307 insertions(+), 47 deletions(-)
next reply other threads:[~2014-04-02 1:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 1:16 David Bremner [this message]
2014-04-02 1:16 ` [Patch v5 1/6] dump: support gzipped output David Bremner
2014-04-02 16:50 ` Tomi Ollila
2014-04-02 1:16 ` [Patch v5 2/6] dump: when given output file name, write atomically David Bremner
2014-04-02 1:16 ` [Patch v5 3/6] util: add gz_readline David Bremner
2014-04-02 3:26 ` Austin Clements
2014-04-02 16:43 ` Tomi Ollila
2014-04-02 20:43 ` Austin Clements
2014-04-03 6:03 ` Kim Minh Kaplan
2014-04-03 6:17 ` Kim Minh Kaplan
2014-04-02 1:16 ` [Patch v5 4/6] restore: transparently support gzipped input David Bremner
2014-04-02 2:49 ` Austin Clements
2014-04-02 1:16 ` [Patch v5 5/6] notmuch-new: backup tags before database upgrade David Bremner
2014-04-02 3:35 ` Austin Clements
2014-04-02 1:16 ` [Patch v5 6/6] test: verify tag backup generated by " David Bremner
2014-04-02 2:07 ` [Patch v5 2/6] dump: when given output file name, write atomically Austin Clements
2014-04-02 20:55 ` Austin Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1396401381-18128-1-git-send-email-david@tethera.net \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).