Use the Jobs system to update bug heat
Bug #509193 reported by
Graham Binns
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Graham Binns |
Bug Description
When a change is made to a bug that is going to affect the bug's heat by a large margin (i.e. setting it private, security, whatever) we should fire off a job to update the bug's heat.
Related branches
lp:~gmb/launchpad/jobbifiy-bug-heat-calculations-509193
- Paul Hummer (community): Approve (code)
-
Diff: 570 lines (+483/-1)11 files modifiedcronscripts/calculate-bug-heat.py (+33/-0)
database/schema/security.cfg (+8/-0)
lib/canonical/config/schema-lazr.conf (+9/-0)
lib/lp/bugs/configure.zcml (+11/-0)
lib/lp/bugs/interfaces/bugjob.py (+66/-0)
lib/lp/bugs/model/bugheat.py (+54/-0)
lib/lp/bugs/model/bugjob.py (+148/-0)
lib/lp/bugs/scripts/bugheat.py (+3/-1)
lib/lp/bugs/tests/test_bugheat.py (+95/-0)
lib/lp/bugs/tests/test_bugjob.py (+55/-0)
lib/lp/services/job/interfaces/job.py (+1/-0)
Changed in malone: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in malone: | |
assignee: | nobody → Graham Binns (gmb) |
status: | Triaged → In Progress |
Changed in malone: | |
status: | In Progress → Fix Committed |
Changed in malone: | |
milestone: | none → 10.01 |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.