On Sat, 29 Mar 2014, David Bremner <david at tethera.net> wrote: > Jani Nikula <jani at nikula.org> writes: > >> Is it reasonable to require zlib? It's possible to have conditional >> build for this, but it will be laborous to do it cleanly. I could be >> persuaded either way, perhaps more easily to just requiring it. > > If I recall correctly, xapian needs zlib. At least on Debian this is a > hard dependency. What is needed additionally is the zlib headers.
Okay, no point in adding complexity in notmuch then. > I couldn't decide which was sillier: to have have gzipped output but not > input, or to leave off the command line argument (it's something like 3 > lines of diff). I lean to making it accessible from the CLI to better > support testing. Testability is a good point; otherwise we'd have to add an extra tool for testing the interface, which is also silly. If we don't add restore support now, I think we can consider this a documentation issue. One more thing: do we need to ensure we don't emit gzipped stuff to the terminal? BR, Jani.