Just some thoughts looking at possible implementations while between bugs: regarding review-stats per distroseries, it seems we just need to add a model ReviewStatsForRepository that aggregates the stats per repository (and possibly remove the stats on SoftwareItem itself if they're not useful to us).
The urls would go back to:
/reviewsapp/1.0/review-stats/ubuntu/natty/
/reviewsapp/1.0/review-stats/ubuntu/natty/updates-last-[1,3.7]-days/
That should fix the initial confusion (ensuring that the overall stats match the reviews seen for an app).
We can then look at improving the actual stats for each based on the above.
Just some thoughts looking at possible implementations while between bugs: regarding review-stats per distroseries, it seems we just need to add a model ReviewStatsForR epository that aggregates the stats per repository (and possibly remove the stats on SoftwareItem itself if they're not useful to us).
The urls would go back to: 1.0/review- stats/ubuntu/ natty/ 1.0/review- stats/ubuntu/ natty/updates- last-[1, 3.7]-days/
/reviewsapp/
/reviewsapp/
That should fix the initial confusion (ensuring that the overall stats match the reviews seen for an app).
We can then look at improving the actual stats for each based on the above.