installed size broken ?

Anders F Björklund <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
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.

--anders
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.