[Yum-devel] RFC: repomd.xml addition of size element for the data/files

James Antill james.antill at redhat.com
Tue Jun 17 15:37:26 UTC 2008


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 <james.antill at redhat.com>
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20080617/0fa1734c/attachment.pgp 


More information about the Yum-devel mailing list