Re: installed size broken ?

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <1222179631.4144.13.camel@rosebud>
On Tue, 2008-09-23 at 11:12 +0200, Anders F Björklund wrote:
> The generated <size installed> in primary.xml
> seems broken, it's always the same as package...
> 
> [tests/createrepo.py] <-- added a Smart test case
> FAIL: test_size (tests.createrepo.CreateRepoTest)
> 
> AssertionError: {'installed': '0', 'archive': '248', 'package':  
> '2160'} != {'installed': '2160', 'archive': '248', 'package': '2160'}
> 
> It works OK if I install createrepo-0.4.11-2.fc8,
> but is wrong when using createrepo-0.9.5-2.fc9.
> 
> 
> All the generated repodata for Fedora 9 seems
> to have the same problem as well, afaict...
> 
> The repodata for Fedora 8 seems not affected,
> probably it was using the previous createrepo.
> 

This looks like a bug. :)

I'll take a look and see what I broke.

thanks,
-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.