monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] zlib vs gzip


From: Nathaniel Smith
Subject: Re: [Monotone-devel] zlib vs gzip
Date: Fri, 26 Oct 2007 15:06:22 -0700
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Oct 26, 2007 at 09:28:34PM +0200, Markus Schiltknecht wrote:
> Hi,
> 
> Markus Schiltknecht wrote:
> >Aha.. yeah, that would explain the incompatibility between the two. 
> >Thanks for the hint.
> 
> Okay, in the meantime, I figured that gzip and zlib really are two 
> different encapsulation formats (for the same type of compression 
> algorithm, though). Matt's [1] mail explains that quite well.
> 
> Looks like zlib (> 1.2) supports both, but botan only supports zlib 
> style headers and footers. We could (and probably should) use zlib only, 
> instead of gzip, but that would cost a netsync flag day.

Or maybe we could flutter our eyelashes at Jack Lloyd and get gzip
support upstream into Botan, like I guess we should have a while ago
just this doesn't come up very often?

Jack?

> >I'd still like it best, if we could get rid of gzip.cpp, to get closer 
> >to compatibility with the default botan distribution. Otherwise 
> >maintenance work will grow infinitely.
> 
> Well. As I've cold-heartedly deleted the gzip files Matt created from 
> the n.v.m.botan branch, I fear I've killed history for those files.
> 
> I've now readded those files in the monotone main directory, because I'm 
> under the impression that it's "our" code, which we have to maintain. 
> Even if it's botan derived, I don't think that code belongs to the botan 
> directory. And having it there will prevent similar mistakes like mine 
> this morning. Sorry for the trouble.
> 
> For some reason the update to botan 1.7.2 caused a unit test to fail 
> (transform_corruption_check). That was the main reason for me to look 
> into that whole issue at all. Anyway, I've now fixed that in the newly 
> added gzip.cc, so we are at botan 1.7.2, and at least on my box, all 
> tests are fine.
> 
> Regards
> 
> Markus
> 
> [1]: Matt: comments on .sqlite3.binary branch
> http://thread.gmane.org/gmane.comp.version-control.monotone.devel/5755/focus=5783
> 
> 
> _______________________________________________
> Monotone-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/monotone-devel
-- Nathaniel

-- 
So let us espouse a less contested notion of truth and falsehood, even
if it is philosophically debatable (if we listen to philosophers, we
must debate everything, and there would be no end to the discussion).
  -- Serendipities, Umberto Eco




reply via email to

[Prev in Thread] Current Thread [Next in Thread]