Update ordering of related ppas on DSP page to use total karma

Bug #397788 reported by Michael Nelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Michael Nelson

Bug Description

Currently the related PPAs listed on the DistributionSourcePackage page use the KarmaCache for sorting, but sort on a combination of KarmaCache attributes that are not included in the cache updating script. Hence, non are displayed.

Given some of the prior discussion on bug 280958, particularly Rob's comment:

https://bugs.edge.launchpad.net/soyuz/+bug/280958/comments/74

we'll instead sort by the creators total karma.

Tags: lp-soyuz
Changed in soyuz:
assignee: nobody → Michael Nelson (michael.nelson)
importance: Undecided → High
milestone: none → 2.2.7
status: New → In Progress
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit

Fixed in devel r8842.

Changed in soyuz:
status: In Progress → Fix Committed
Revision history for this message
Michael Nelson (michael.nelson) wrote :

Fail :(

The user sb56637 (with 403 karma) copied the FF3.5 package from the Mozilla team into his/her own PPA at:

https://edge.launchpad.net/~sb56637/+archive/ppa

and is (currently) listed as the first PPA at:

https://edge.launchpad.net/ubuntu/+source/firefox-3.5

(followed by the Mozilla team PPA then Fabien's PPA). I assume this is because that package still has Fabien as the creator. So, Fabien's packages are appearing first (as they should with 80k karma), but we shouldn't be including these copies.

We need to update the query so copied packages are not included when finding the related packages. Although in other circumstances this would be ok (ie. security ppa).

Created bug 399152 to follow this up.

Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.