API for bugtasks that have been recently modified
Bug #590535 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Jonathan Lange |
Bug Description
I would like to maintain a local copy of all the bugs and bugtasks in my project.
To do this, I'd like to use searchTasks, but have some way of limiting the results to bugtasks that have been modified since I last ran it. At the moment, there does not appear to be such an option.
Related branches
lp://staging/~jml/launchpad/searchTasks-modified-since-590535
- Deryck Hodge (community): Approve (code)
-
Diff: 302 lines (+114/-22)6 files modifiedlib/lp/bugs/interfaces/bugtarget.py (+9/-3)
lib/lp/bugs/interfaces/bugtask.py (+5/-3)
lib/lp/bugs/model/bugtarget.py (+2/-1)
lib/lp/bugs/model/bugtask.py (+5/-0)
lib/lp/bugs/stories/webservice/xx-bug.txt (+9/-0)
lib/lp/bugs/tests/test_bugtask.py (+84/-15)
Changed in malone: | |
status: | Triaged → In Progress |
assignee: | nobody → Jonathan Lange (jml) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This would actually be (comparatively) simple to implement. Adding a modified_since attribute to IBugTaskSearch should suffice.