[RFC] gzip bundle data

Alexander Belchenko bialix at ukr.net
Wed Nov 15 10:52:18 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Goffredo Baroncelli пишет:
> On Tuesday 14 November 2006 11:21, Alexander Belchenko wrote:
>> Goffredo Baroncelli пишет:
>> ...
>>> The table abowe, shows that is better to gzip all bundle.
>> Do you see my plugin 'gzipped_bundle'?
> 
> After your email, I saw your plugin ( 
> http://bzr.onembedding.com/bzr.win/plugins/gzipped_bundle/ )
> 
> Your plugin compress the bundle after the bundle creation; so you 
> 
> 1) create the diffs            \
> 2) uuencode base64 the diffs   |--> Current bundle code
> 3) glue all togheter           /
> 4) gzip the bundle             >--> Your plugin
> 5) send the email
> 
> My patch 
> 1) create the diffs                          \
> 2) gzip the diffs             -> my patch    |_____> Bundle code
> 3) uuencode base64 the diffs-gzipped         |
> 4) glue all togheter                         /
> 5) send the email
> 
> The difference is that if you send the bundle via email, the file, if binary, 
> will be uuencoded a 2nd time.
> With yuor approach the data are uuencoded 2 times ( at the point 2 and at the 
> point 5, because after the #4 you have a binary file ).
> Instead "my" bundle can be sent via email without uuencoding because it should 
> be "7bit clean".

OK. I understand. Your approach better and also preserve CRLF in files.
So I'm +1 on your idea.

Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFWvFhzYr338mxwCURAgpGAKCPphTNO7HiM2OxaCyByw5waDeAQwCdGrDQ
zKb65wcDd1lCasBnyFTSwuE=
=Ell7
-----END PGP SIGNATURE-----





More information about the bazaar mailing list