Review statistics are language/distroseries dependent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ratings and Reviews server |
Fix Released
|
Medium
|
Danny Tamez |
Bug Description
From a conversation last week (with Danny and Anthony) I'd understood that we wanted to return the rating statistics (average rating and number of ratings) in a language-agnostic, and distroseries agnostic way.
Currently the statistics returned by ReviewsStatsHan
We chatted about storing these aggregates instead of calculating them, with a cached property on SoftwareItem which would update itself whenever a new review was added (ie. it would re-calculate the count and average based on the DB, rather than incrementing which would not be safe).
Unanswered:
* Do we also want to store these per distroseries?
* Comment 2 implies that we *do* want to also store ratings per software-
Changed in rnr-server: | |
assignee: | nobody → Danny Tamez (zematynnad) |
status: | Confirmed → In Progress |
description: | updated |
Changed in rnr-server: | |
status: | In Progress → Fix Committed |
Changed in rnr-server: | |
milestone: | none → 11.01 |
status: | Fix Committed → Fix Released |
Actually, if we do this, we should change the URL also.