Bug heat flames should be calculated based on the BugTarget's max heat

Bug #511382 reported by Graham Binns on 2010-01-22
72
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Deryck Hodge

Bug Description

What happens:
Looking at the hottest bug on malone (currently with a heat of ~440) you'll see only grey flames for its hotness. This is because the maximum hotness, which is used to determine how many flames should be shown, is a global constant of 5000. This means that projects whose hottest bugs are far colder than this will end up with heat displayed oddly.

What should happen:
Max heat should be determined on a per-bugtarget basis, so that heat can be a relative value within that bugtarget (so Ubuntu's max bugheat would be ~10,000 right now, whilst Malone's would be ~440). The heat shown on the page should depend upon the context in which you're looking at the bug.

DistroSourcePackages should inherit from their parent distribution.

Related branches

Graham Binns (gmb) on 2010-01-22
tags: added: story-bug-heat
Micah Gersten (micahg) wrote :

I think it would be nice if the distro package heat was based on the package if viewed as a package and based on the distro is viewed distro wide.

2010/1/27 Micah Gersten <email address hidden>:
> I think it would be nice if the distro package heat was based on the
> package if viewed as a package and based on the distro is viewed distro
> wide.
>

Yes, that makes sense. It's all to do with what context the bug is
viewed in (for example, the same bug might have a task on the upstream
project, too, and when looked at in that context it may be
significantly hotter or colder).

That makes the implementation... interesting. But fun :).

Deryck Hodge (deryck) on 2010-02-18
Changed in malone:
assignee: nobody → Deryck Hodge (deryck)
status: Triaged → In Progress
Deryck Hodge (deryck) wrote :

I'm claiming this bug to represent the DB patch part of the work, meaning this bug will be fixed when there is a max_heat attribute on all bug targets. To use the attribute is pretty simple and can be done as part of fixing bug 515239.

Changed in malone:
milestone: none → 10.02
Changed in malone:
status: In Progress → Fix Committed
Deryck Hodge (deryck) on 2010-03-04
Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers