Comment 4 for bug 858092

Revision history for this message
Kiwinote (kiwinote) wrote :

The problem we have here is that the review-stats cache we maintain in s-c is only based on the pkgname, not the origin. This causes the stats for the commercial photobomb to be shown in the listings for the ppa photobomb. For oneiric we can't fix this anymore: the first option would be to look up the origin per app in the list view and only display the stats if it's ubuntu/partners/commercial and hence no stats if it's in a ppa - I tried this, but it gives a massive performance hit on the longer lists so it's not practical. Another option is that we could insure that we only cache the stats for a pkgname if it's origin is ubuntu/partners/commercial (ie at db index time), but this requires some re-engineering that isn't suited for this late in the cycle.