On Tue, 2008-06-17 at 01:50 -0400, Seth Vidal wrote: > > On Tue, 17 Jun 2008, James Antill wrote: > > > > > What does everyone think of adding an optional size child element to > > the repomd.xml <data> element. I'm thinking something like this > > createrepo patch (tested): > > > > What does this buy us and the user other than slightly more data they have > to download frequently?
Yeh, the XML takes up ~23 bytes, the data ~7 bytes and the white space ~5 bytes ... all per. data element. So for Fedora updates it's: 8 * (23+7+5) + (23+7) = 310 ...the advantages of knowing all the sizes before hand are mostly cosmetic, although there are a couple of things we could do which are more than cosmetic (like if the size doesn't match on the remote end we can skip to the next mirror without downloading anything). We could always gzip the repomd -- that (for Fed-8 updates) gives 2,390 vs. 762. -- James Antill <[EMAIL PROTECTED]> Red Hat
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Yum-devel mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
