[Yum] Gziped headers patch
seth vidal
skvidal at phy.duke.edu
Sun Jun 16 03:51:57 UTC 2002
On Sat, 2002-06-15 at 11:35, Grigory Bakunov wrote:
> Hello.
> I make a little patch to work with gziped headers for yum.
> patch attached.
>
> also i found another silly bug
>
ok I read through your patch with a little more attention this time.
so - I like that the server defaults to uncompressed and the client can
read both. I also now grok that you were doing an fd.readline() on the
header then an fd.read() for the rest of the header. But I don't like
the idea of adding any obfuscation to each header. It just makes the
fileformat more specific and harder to understand.
But I do think the first line of the header.info line should include a
version number and/or a version info file should be kept on the server
for the client to see/get.
So I'll work on integrating most of your patch except for the header
modification, thing. I'm just not sure i'm comfortable with that yet,
Can you think of a convincing reason to modify the header in this way?
-sv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum/attachments/20020615/43ca4b15/attachment-0001.pgp
More information about the Yum
mailing list