For a bug tracker, batch_size should default to 2% of the number of remote bugs watched, unless otherwise configured
Bug #546085 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Gavin Panella |
Bug Description
Currently the batch size is set in the external bug tracker classes, in lp.bugs.
A figure of about 2% seems sensible, perhaps with a lower bound of about 50 or 100. For GNOME Bugs this would work out to be about 300.
Related branches
lp:~allenap/launchpad/dynamic-batch-size-bug-546085
- Edwin Grubbs (community): Approve (code)
-
Diff: 595 lines (+202/-125)11 files modifiedlib/lp/bugs/doc/checkwatches.txt (+6/-3)
lib/lp/bugs/doc/externalbugtracker-debbugs.txt (+3/-3)
lib/lp/bugs/doc/externalbugtracker.txt (+5/-2)
lib/lp/bugs/externalbugtracker/__init__.py (+4/-1)
lib/lp/bugs/externalbugtracker/base.py (+5/-1)
lib/lp/bugs/externalbugtracker/debbugs.py (+8/-7)
lib/lp/bugs/scripts/checkwatches/tests/test_scheduler.py (+110/-0)
lib/lp/bugs/scripts/checkwatches/tests/test_updater.py (+15/-0)
lib/lp/bugs/scripts/checkwatches/updater.py (+40/-16)
lib/lp/bugs/tests/externalbugtracker.py (+4/-2)
lib/lp/bugs/tests/test_bugwatch.py (+2/-90)
lp:~allenap/launchpad/dynamic-batch-size-bug-546085-devel
Merged
into
lp:launchpad
- Abel Deuring (community): Approve (code)
- Gavin Panella (community): Abstain (code)
-
Diff: 600 lines (+203/-124)11 files modifiedlib/lp/bugs/doc/checkwatches.txt (+6/-3)
lib/lp/bugs/doc/externalbugtracker-debbugs.txt (+3/-3)
lib/lp/bugs/doc/externalbugtracker.txt (+5/-2)
lib/lp/bugs/externalbugtracker/__init__.py (+4/-1)
lib/lp/bugs/externalbugtracker/base.py (+5/-1)
lib/lp/bugs/externalbugtracker/debbugs.py (+8/-7)
lib/lp/bugs/scripts/checkwatches/tests/test_scheduler.py (+110/-0)
lib/lp/bugs/scripts/checkwatches/tests/test_updater.py (+15/-0)
lib/lp/bugs/scripts/checkwatches/updater.py (+40/-16)
lib/lp/bugs/tests/externalbugtracker.py (+4/-2)
lib/lp/bugs/tests/test_bugwatch.py (+3/-89)
lp:~allenap/launchpad/dynamic-batch-size-bug-546085-db-devel-preempt-conflict
- Abel Deuring (community): Approve (code)
- Diff: 0 lines
Changed in malone: | |
assignee: | nobody → Gavin Panella (allenap) |
status: | Triaged → In Progress |
Changed in malone: | |
status: | In Progress → Fix Committed |
Changed in malone: | |
milestone: | none → 10.04 |
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in db-stable r9213 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ db-stable/ revision/ 9213>