API to get reviews-count for a specific review per distroseries

Bug #783331 reported by Michael Vogt
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ratings and Reviews server
software-center (Ubuntu)

Bug Description

When a user runs oneiric and opens e.g. gimp in software-center there are no reviews currently. The reaons is that software-center sends "distroseries=oneiric" to the server.

With no results (or very few) software-center (the client) should fallback to the previous distro series that have reviews. For that it would need to have information what distro series have reviews. Having a API for this would be good (or including it in the get-reviews call as a additional "hint"), I can hardcode it for now in the client to fallback to naty.

Michael Vogt (mvo)
description: updated
summary: - oneiric is open we should "import" the old review somehow
+ API to get reviews-count for a specific review per distroseries
description: updated
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
Michael Vogt (mvo)
Changed in rnr-server:
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 4.1.1

software-center (4.1.1) oneiric; urgency=low

  [ Gary Lasker ]
  * softwarecenter/utils.py,
    - fix intermittent crash when installing a local .deb,
      add corresponding test case (LP: #768158)
  * softwarecenter/db/reviews.py,
    - sort reviews using upstream package versions to fix
      incorrect sort by usefulness, update unit test
      (LP: #777583)

  [ Aaron Peachey ]
  * utils/update-software-center, utils/update-software-center-agent
    - fix 'no log handler' error on update-software-center (LP #728896)
  * lp:~aaronp/software-center/enhance-usefulness:
    - load/cache users usefulnes votes
  * add utils/get_useful_votes_helper.py to the setup scripts

  [ Michael Vogt ]
  * merged lp:~weblive-dev/software-center/weblive-set-locale, many
  * support pagination ("Show more reviews" button) when there are
    more reviews than fitting in a returned "page"
  * utils/get_reviews_helper.py:
    - if there are no reviews for the current distroseries, fallback
      to the previous one (LP: #783331)
  * updated tests for oneiric
 -- Michael Vogt <email address hidden> Mon, 16 May 2011 09:53:04 +0200

Changed in software-center (Ubuntu):
status: In Progress → Fix Released
tags: added: client-server
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers