bug heat calculation should use Bug.users_affected_count_with_dupes instead of Bug.users_affected_count
Bug #511240 reported by
Abel Deuring
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Abel Deuring |
Bug Description
The fix for bug 505845 introduces the new properties Bug.users_
Related branches
lp:~adeuring/launchpad/bug-511240-bug-heat-include-duplicate-bugs
Merged
into
lp:launchpad
- Francis J. Lacoste (community): Approve (release-critical)
- Gavin Panella (community): Approve (code)
-
Diff: 17438 lines (+6669/-2949)211 files modified.bzrignore (+2/-0)
configs/development/launchpad-lazr.conf (+3/-0)
configs/testrunner/launchpad-lazr.conf (+5/-0)
cronscripts/process-apport-blobs.py (+33/-0)
daemons/cache-database-replication-lag.py (+53/-0)
database/replication/helpers.py (+9/-0)
database/sampledata/current-dev.sql (+214/-136)
database/sampledata/current.sql (+214/-136)
database/schema/Makefile (+2/-0)
database/schema/comments.sql (+61/-62)
database/schema/diagram.py (+2/-3)
database/schema/patch-2207-23-0.sql (+19/-0)
database/schema/patch-2207-28-1.sql (+9/-0)
database/schema/patch-2207-29-0.sql (+34/-0)
database/schema/patch-2207-30-0.sql (+14/-0)
database/schema/patch-2207-31-0.sql (+27/-0)
database/schema/patch-2207-32-0.sql (+24/-0)
database/schema/patch-2207-33-0.sql (+9/-0)
database/schema/patch-2207-34-0.sql (+11/-0)
database/schema/patch-2207-35-0.sql (+8/-0)
database/schema/security.cfg (+41/-22)
database/schema/security.py (+2/-3)
database/schema/trusted.sql (+57/-0)
lib/canonical/config/schema-lazr.conf (+7/-1)
lib/canonical/launchpad/browser/launchpad.py (+35/-32)
lib/canonical/launchpad/browser/temporaryblobstorage.py (+48/-4)
lib/canonical/launchpad/database/account.py (+4/-0)
lib/canonical/launchpad/database/temporaryblobstorage.py (+27/-6)
lib/canonical/launchpad/doc/account.txt (+72/-61)
lib/canonical/launchpad/doc/oauth.txt (+45/-32)
lib/canonical/launchpad/doc/renamed-view.txt (+1/-1)
lib/canonical/launchpad/doc/temporaryblobstorage.txt (+45/-0)
lib/canonical/launchpad/icing/style.css (+5/-1)
lib/canonical/launchpad/interfaces/_schema_circular_imports.py (+10/-5)
lib/canonical/launchpad/interfaces/temporaryblobstorage.py (+28/-1)
lib/canonical/launchpad/javascript/code/codereview.js (+49/-34)
lib/canonical/launchpad/pagetests/webservice/xx-temporary-blob-storage.txt (+81/-0)
lib/canonical/launchpad/webapp/dbpolicy.py (+11/-19)
lib/canonical/launchpad/zcml/temporaryblobstorage.zcml (+16/-0)
lib/lp/answers/doc/person.txt (+155/-138)
lib/lp/answers/doc/projectgroup.txt (+45/-38)
lib/lp/answers/doc/question.txt (+162/-132)
lib/lp/answers/doc/questionsets.txt (+148/-139)
lib/lp/answers/doc/questiontarget.txt (+266/-245)
lib/lp/answers/doc/workflow.txt (+209/-193)
lib/lp/answers/interfaces/questionreopening.py (+1/-0)
lib/lp/archivepublisher/deathrow.py (+16/-16)
lib/lp/archivepublisher/domination.py (+34/-37)
lib/lp/archivepublisher/tests/deathrow.txt (+6/-6)
lib/lp/archivepublisher/tests/test_deathrow.py (+1/-4)
lib/lp/archivepublisher/tests/test_dominator.py (+10/-14)
lib/lp/archiveuploader/dscfile.py (+34/-1)
lib/lp/archiveuploader/nascentupload.py (+2/-5)
lib/lp/archiveuploader/tests/test_buildduploads.py (+2/-2)
lib/lp/archiveuploader/tests/test_recipeuploads.py (+75/-0)
lib/lp/archiveuploader/tests/test_uploadprocessor.py (+3/-3)
lib/lp/bugs/browser/bug.py (+0/-20)
lib/lp/bugs/browser/bugtarget.py (+129/-191)
lib/lp/bugs/browser/bugtask.py (+48/-10)
lib/lp/bugs/browser/configure.zcml (+15/-6)
lib/lp/bugs/browser/distribution_upstream_bug_report.py (+17/-5)
lib/lp/bugs/browser/tests/bug-heat-view.txt (+56/-11)
lib/lp/bugs/browser/tests/bugtarget-filebug-views.txt (+52/-38)
lib/lp/bugs/configure.zcml (+42/-3)
lib/lp/bugs/doc/bug.txt (+88/-0)
lib/lp/bugs/doc/bugattachments.txt (+71/-6)
lib/lp/bugs/doc/bugtask-search.txt (+38/-0)
lib/lp/bugs/doc/distribution-upstream-bug-report.txt (+66/-25)
lib/lp/bugs/doc/filebug-data-parser.txt (+3/-3)
lib/lp/bugs/doc/official-bug-tags.txt (+3/-3)
lib/lp/bugs/interfaces/apportjob.py (+74/-0)
lib/lp/bugs/interfaces/bug.py (+33/-0)
lib/lp/bugs/interfaces/bugtarget.py (+6/-1)
lib/lp/bugs/interfaces/bugtask.py (+8/-2)
lib/lp/bugs/model/apportjob.py (+263/-0)
lib/lp/bugs/model/bug.py (+97/-14)
lib/lp/bugs/model/bugjob.py (+1/-12)
lib/lp/bugs/model/bugtarget.py (+15/-1)
lib/lp/bugs/model/bugtask.py (+40/-36)
lib/lp/bugs/scripts/bugheat.py (+2/-8)
lib/lp/bugs/scripts/tests/test_bugheat.py (+23/-3)
lib/lp/bugs/stories/distribution/xx-distribution-upstream-bug-report.txt (+32/-16)
lib/lp/bugs/stories/guided-filebug/xx-bug-reporting-tools.txt (+37/-0)
lib/lp/bugs/stories/patches-view/patches-view.txt (+493/-0)
lib/lp/bugs/stories/webservice/xx-bug.txt (+8/-0)
lib/lp/bugs/stories/xx-bugs-statistics-portlet.txt (+52/-46)
lib/lp/bugs/templates/bugtarget-filebug-search.pt (+9/-1)
lib/lp/bugs/templates/bugtarget-patches.pt (+115/-0)
lib/lp/bugs/templates/bugtarget-portlet-bugfilters-content.pt (+10/-0)
lib/lp/bugs/templates/distribution-upstream-bug-report.pt (+21/-1)
lib/lp/bugs/tests/bug.py (+45/-1)
lib/lp/bugs/tests/test_apportjob.py (+426/-0)
lib/lp/bugs/tests/test_bugheat.py (+209/-4)
lib/lp/bugs/utilities/filebugdataparser.py (+168/-0)
lib/lp/buildmaster/interfaces/buildbase.py (+15/-0)
lib/lp/buildmaster/model/buildbase.py (+39/-4)
lib/lp/code/browser/branch.py (+5/-3)
lib/lp/code/browser/branchmergeproposal.py (+40/-1)
lib/lp/code/browser/configure.zcml (+7/-0)
lib/lp/code/browser/tests/test_branchmergeproposal.py (+9/-20)
lib/lp/code/configure.zcml (+9/-2)
lib/lp/code/doc/branch-merge-proposal-notifications.txt (+1/-1)
lib/lp/code/doc/codereviewcomment.txt (+2/-8)
lib/lp/code/interfaces/branch.py (+15/-18)
lib/lp/code/interfaces/branchmergeproposal.py (+7/-3)
lib/lp/code/interfaces/sourcepackagerecipebuild.py (+7/-0)
lib/lp/code/mail/branchmergeproposal.py (+15/-22)
lib/lp/code/mail/codehandler.py (+4/-7)
lib/lp/code/mail/tests/test_branchmergeproposal.py (+1/-4)
lib/lp/code/mail/tests/test_codehandler.py (+24/-25)
lib/lp/code/model/branch.py (+4/-7)
lib/lp/code/model/branchmergeproposal.py (+3/-12)
lib/lp/code/model/branchmergeproposaljob.py (+0/-8)
lib/lp/code/model/sourcepackagerecipebuild.py (+23/-19)
lib/lp/code/model/tests/test_branch.py (+1/-3)
lib/lp/code/model/tests/test_branchmergeproposals.py (+1/-31)
lib/lp/code/model/tests/test_codereviewcomment.py (+0/-3)
lib/lp/code/stories/branches/xx-branchmergeproposals.txt (+1/-1)
lib/lp/code/stories/branches/xx-claiming-team-code-reviews.txt (+2/-1)
lib/lp/code/stories/webservice/xx-branchmergeproposal.txt (+3/-15)
lib/lp/code/templates/branchmergeproposal-index.pt (+53/-24)
lib/lp/code/windmill/tests/test_branchmergeproposal_commitmessage.py (+3/-3)
lib/lp/registry/configure.zcml (+2/-1)
lib/lp/registry/doc/distribution.txt (+6/-0)
lib/lp/registry/doc/private-team-roles.txt (+1/-1)
lib/lp/registry/doc/sourcepackage.txt (+13/-12)
lib/lp/registry/doc/structural-subscriptions.txt (+1/-1)
lib/lp/registry/interfaces/distroseries.py (+3/-1)
lib/lp/registry/model/distribution.py (+23/-7)
lib/lp/registry/model/distributionmirror.py (+18/-18)
lib/lp/registry/model/distributionsourcepackage.py (+23/-0)
lib/lp/registry/model/distroseries.py (+9/-4)
lib/lp/registry/model/person.py (+11/-1)
lib/lp/registry/model/product.py (+3/-3)
lib/lp/registry/model/productseries.py (+5/-0)
lib/lp/registry/model/project.py (+2/-0)
lib/lp/registry/model/sourcepackage.py (+5/-0)
lib/lp/registry/model/sourcepackagename.py (+3/-0)
lib/lp/services/job/runner.py (+11/-0)
lib/lp/services/mail/sendmail.py (+1/-2)
lib/lp/services/openid/doc/openid-rp-config.txt (+17/-9)
lib/lp/services/worlddata/doc/language.txt (+6/-0)
lib/lp/services/worlddata/model/language.py (+12/-5)
lib/lp/soyuz/browser/archive.py (+1/-1)
lib/lp/soyuz/browser/tests/archive-views.txt (+4/-4)
lib/lp/soyuz/browser/tests/distributionsourcepackagerelease-views.txt (+2/-2)
lib/lp/soyuz/browser/tests/publishing-views.txt (+2/-6)
lib/lp/soyuz/configure.zcml (+12/-26)
lib/lp/soyuz/doc/archive-dependencies.txt (+42/-2)
lib/lp/soyuz/doc/archive.txt (+5/-2)
lib/lp/soyuz/doc/build-failedtoupload-workflow.txt (+5/-0)
lib/lp/soyuz/doc/build.txt (+4/-4)
lib/lp/soyuz/doc/buildd-queuebuilder-lookup.txt (+3/-3)
lib/lp/soyuz/doc/buildd-slavescanner.txt (+5/-8)
lib/lp/soyuz/doc/distribution.txt (+4/-9)
lib/lp/soyuz/doc/distroarchseries.txt (+2/-2)
lib/lp/soyuz/doc/distroarchseriesbinarypackage.txt (+4/-8)
lib/lp/soyuz/doc/distroseries-publishing-lookups.txt (+3/-3)
lib/lp/soyuz/doc/distroseriesqueue-translations.txt (+2/-3)
lib/lp/soyuz/doc/gina-multiple-arch.txt (+4/-4)
lib/lp/soyuz/doc/gina.txt (+5/-5)
lib/lp/soyuz/doc/publishing.txt (+8/-36)
lib/lp/soyuz/doc/sourcepackagerelease-build-lookup.txt (+7/-7)
lib/lp/soyuz/doc/sourcepackagerelease.txt (+5/-1)
lib/lp/soyuz/doc/soyuz-set-of-uploads.txt (+6/-8)
lib/lp/soyuz/doc/soyuz-upload.txt.disabled (+1/-1)
lib/lp/soyuz/interfaces/archive.py (+3/-0)
lib/lp/soyuz/interfaces/archivearch.py (+11/-0)
lib/lp/soyuz/interfaces/build.py (+1/-15)
lib/lp/soyuz/interfaces/packagecloner.py (+1/-1)
lib/lp/soyuz/interfaces/processor.py (+24/-1)
lib/lp/soyuz/interfaces/publishing.py (+3/-33)
lib/lp/soyuz/interfaces/sourcepackagerelease.py (+10/-0)
lib/lp/soyuz/model/archive.py (+35/-0)
lib/lp/soyuz/model/archivearch.py (+16/-0)
lib/lp/soyuz/model/build.py (+4/-31)
lib/lp/soyuz/model/packagecloner.py (+15/-17)
lib/lp/soyuz/model/processor.py (+12/-0)
lib/lp/soyuz/model/publishing.py (+72/-194)
lib/lp/soyuz/model/queue.py (+0/-1)
lib/lp/soyuz/model/sourcepackagerelease.py (+8/-4)
lib/lp/soyuz/scripts/expire_ppa_binaries.py (+2/-2)
lib/lp/soyuz/scripts/ftpmaster.py (+1/-1)
lib/lp/soyuz/scripts/gina/handlers.py (+8/-8)
lib/lp/soyuz/scripts/tests/test_buildd_cronscripts.py (+2/-5)
lib/lp/soyuz/scripts/tests/test_copypackage.py (+11/-11)
lib/lp/soyuz/scripts/tests/test_expire_ppa_bins.py (+6/-6)
lib/lp/soyuz/scripts/tests/test_obsoletedistroseries.py (+5/-7)
lib/lp/soyuz/scripts/tests/test_processdeathrow.py (+14/-15)
lib/lp/soyuz/scripts/tests/test_publishdistro.py (+1/-1)
lib/lp/soyuz/scripts/tests/test_removepackage.py (+14/-14)
lib/lp/soyuz/stories/ppa/xx-copy-packages.txt (+1/-1)
lib/lp/soyuz/stories/ppa/xx-delete-packages.txt (+3/-3)
lib/lp/soyuz/stories/ppa/xx-ppa-packages.txt (+6/-6)
lib/lp/soyuz/stories/soyuz/xx-distributionsourcepackagerelease-pages.txt (+1/-1)
lib/lp/soyuz/stories/soyuz/xx-person-packages.txt (+3/-3)
lib/lp/soyuz/stories/webservice/xx-archive.txt (+2/-2)
lib/lp/soyuz/tests/ppa.py (+4/-6)
lib/lp/soyuz/tests/soyuz.py (+7/-12)
lib/lp/soyuz/tests/test_archive.py (+56/-3)
lib/lp/soyuz/tests/test_archivearch.py (+57/-0)
lib/lp/soyuz/tests/test_build.py (+44/-0)
lib/lp/soyuz/tests/test_buildqueue.py (+3/-3)
lib/lp/soyuz/tests/test_processor.py (+32/-0)
lib/lp/soyuz/tests/test_publishing.py (+110/-26)
lib/lp/soyuz/tests/test_publishing_models.py (+1/-1)
lib/lp/testing/factory.py (+122/-46)
lib/schoolbell/icalendar.py (+4/-5)
scripts/ftpmaster-tools/remove-package.py (+4/-4)
scripts/ftpmaster-tools/sync-source.py (+1/-1)
utilities/findimports.py (+3/-5)
Changed in malone: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in malone: | |
assignee: | nobody → Abel Deuring (adeuring) |
Changed in malone: | |
status: | Triaged → In Progress |
Changed in malone: | |
status: | In Progress → Fix Committed |
milestone: | none → 10.02 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r10452 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 10452>