Re: installed size broken ?

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <1224871267.29258.0.camel@rosebud>
On Tue, 2008-09-23 at 10:20 -0400, seth vidal wrote:
> 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.
> 

nothing really broken but a property needed to be lambda'd inside
YumHeaderPackage

it's patched in upstream yum and yum 3.2.20 will have the fix.

thanks,
-sv


_______________________________________________
Rpm-metadata mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/rpm-metadata
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.