[RFC] gzip bundle data

Aaron Bentley aaron.bentley at utoronto.ca
Mon Nov 13 19:32:14 GMT 2006


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

Goffredo Baroncelli wrote:
> where:
> * v0.8			standard bundle format v0.8
> * gzip(bundle-v0.8)	gzipped standard bundle format v0.8 ( bzr bundle ... |
>                         gzip -9 )
> * gzip+bundle		bundle with data section gzipped then encoded base64
> * b64enc(gzip(v0.8))	gzipped standard bundle format v0.8 then encoded base64
>                         (bzr bundle ... | gzip -9 | uuencode -m ... )

I'd prefer to leave the first revision in the bundle visible, and gzip
the rest.

> My first concern, is if we can update the format 0.8 or we have to introduce a 
> new bundle forma (v0.10 or v0.9 ? ).

We would definitely need to create a new format, but that shouldn't be
onerous.  There is already a v0.9, so this would be v0.10.

> The patch is only for RFC. In fact the current code encode(base64) in the 
> serializer and decode(base64) in the main code, which IMHO is not the "right 
> thing to do" (C) :-).

The fact that it's done by BundleInfo is really an implementation detail
of the v09 and v08 serializers.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFWMg+0F+nu1YWqI0RAp/9AJ9QfhZEsvdTeHVKoRIhAKJGmKnvzACfbe32
yQRrhlm8cdqkAlzk+FKqq5M=
=5Usb
-----END PGP SIGNATURE-----




More information about the bazaar mailing list