[Bug 777583] Re: Reviews sorting should use upstream version
** Tags added: testcase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/777583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
This bug was fixed in the package software-center - 4.0.2 --- software-center (4.0.2) natty-proposed; urgency=low [ Gary Lasker ] * softwarecenter/utils.py, test/test_unity_launcher_integration.py: - fix intermittent crash when installing a local .deb, add corresponding test case (LP: #768158) * softwarecenter/db/reviews.py, test/test_reviews.py: - sort reviews using upstream package versions to fix incorrect sort by usefulness, update unit test (LP: #777583) [ Michael Vogt ] * softwarecenter/db/reviews.py: - fix review-stats loading (LP: #776706) * merged lp:~evfool/software-center/qfix774201, many thanks to Robert Roth (fixes LP: #774201) -- Michael Vogt michael.v...@ubuntu.com Tue, 17 May 2011 16:04:01 +0200 ** Changed in: software-center (Ubuntu Natty) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
** Description changed: Binary package hint: software-center Software Center version 4.0.1 We currently sort reviews in Software Center's details view based on upstream version number of the package, followed by usefulness of the review as voted by users, and lastly by date of the review. With the version comparison, reviews for previous upstream versions are pushed later in the list and are tagged with the line This review was written for a previous version of packagename (Version: upstream version number). For some packages, however, the sorting by usefulness for a given upstream package version is incorrect. For an example of this, see the attached screenshot that shows the list of reviews for the Inkscape package and note that the review by dreamsare4living with a usefulness of 3 out of 3 is incorrectly located *above* the review by Erik B. Anderson with a usefulness of 4 out of 4. Instead, the reviews should be sorted from highest usefulness to lowest for any given upstream version. + + TEST CASE: + 1. Open Software Center version 4.0.1. + 2. Navigate to the Inkscape package details view. + 3. Examine the list of reviews and note that the initial set of reviews for the current version of Inkscape are not correctly sorted by usefulness rating, current reviews as shown: + 8 of 8 people... + 4 of 4 people... + 3 of 3 people... + 4 of 4 people... -- this review is out of order + 3 of 5 people... + 4. Close Software Center and install version 4.0.2 from natty-proposed. + 5. Open Software Center version 4.0.2 and navigate back to Inkscape. + 6. Verify that the reviews are now sorted correctly by usefulness, as shown for current reviews: + 8 of 8 people... + 4 of 4 people... + 4 of 4 people... + 3 of 3 people... + 3 of 5 people... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
** Branch linked: lp:ubuntu/natty-proposed/software-center -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
I've verified the fix per the provided test case for Software Center 4.0.2 in natty-proposed. Thanks! ** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
** Also affects: software-center (Ubuntu Natty) Importance: Undecided Status: New ** Changed in: software-center (Ubuntu Natty) Status: New = In Progress ** Changed in: software-center (Ubuntu Natty) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
Accepted software-center into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: software-center (Ubuntu Natty) Status: In Progress = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
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, test/test_unity_launcher_integration.py: - fix intermittent crash when installing a local .deb, add corresponding test case (LP: #768158) * softwarecenter/db/reviews.py, test/test_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 thanks * 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 michael.v...@ubuntu.com Mon, 16 May 2011 09:53:04 +0200 ** Changed in: software-center (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
** Branch linked: lp:software-center/4.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
** Branch linked: lp:software-center -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
** Changed in: software-center (Ubuntu) Status: In Progress = Fix Committed ** Attachment added: Screenshot showing correct sorting of reviews after fix https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/777583/+attachment/2113771/+files/InkscapeReviewsSortedUsingUpstreamVersion.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
** Attachment added: Screenshot showing incorrect sorting of reviews by usefulness for the Inkscape package https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/777583/+attachment/2113732/+files/InkscapeReviewsIncorrectSortByUsefulness4.0.1.png ** Changed in: software-center (Ubuntu) Status: New = Triaged ** Changed in: software-center (Ubuntu) Importance: Undecided = Low ** Changed in: software-center (Ubuntu) Assignee: (unassigned) = Gary Lasker (gary-lasker) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777583] Re: Reviews sorting should use upstream version
** Branch linked: lp:~gary-lasker/software-center/reviews-sort-fix- lp777583 ** Changed in: software-center (Ubuntu) Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777583 Title: Reviews sorting should use upstream version -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs