Part of lp.bugs.model.bugtask View In Hierarchy
IBugTaskSet
.Method | open_bugtask_search | See IBugTaskSet . |
Method | get | See IBugTaskSet . |
Method | getBugTaskTags | See IBugTaskSet |
Method | getBugTaskPeople | See IBugTaskSet |
Method | getBugTaskBadgeProperties | See IBugTaskSet . |
Method | getMultiple | See IBugTaskSet . |
Method | findSimilar | See IBugTaskSet . |
Method | search | See IBugTaskSet . |
Method | searchBugIds | See IBugTaskSet . |
Method | countBugs | See IBugTaskSet . |
Method | getPrecachedNonConjoinedBugTasks | See IBugTaskSet . |
Method | createManyTasks | See IBugTaskSet . |
Method | createTask | See IBugTaskSet . |
Method | getStatusCountsForProductSeries | See IBugTaskSet . |
Method | findExpirableBugTasks | See IBugTaskSet . |
Method | getOpenBugTasksPerProduct | See IBugTaskSet . |
Method | getBugCountsForPackages | See IBugTaskSet . |
Method | getBugTaskTargetMilestones | Undocumented |
Method | _getTargetJoinAndClause | Return a SQL join clause to a BugTarget . |
Method | _getBugCountsForDistribution | Get bug counts by package, belonging to the given distribution. |
IBugTaskSet
.IBugTaskSet
.Parameters | _noprejoins | Private internal parameter to BugTaskSet which disables all use of prejoins : consolidated from code paths that claim they were inefficient and unwanted. |
IBugTaskSet
.IBugTaskSet
.IBugTaskSet
.
The list of Incomplete bugtasks is selected from products and distributions that use Launchpad to track bugs. To qualify for expiration, the bug and its bugtasks meet the follow conditions:
Launchpad expiration age.
The bug is not a duplicate.
The bug does not have any other valid bugtasks.
The bugtask belongs to a project with enable_bug_expiration set to True.
The bugtask has the status Incomplete.
The bugtask is not assigned to anyone.
The bugtask does not have a milestone.
Bugtasks cannot transition to Invalid automatically unless they meet all the rules stated above.
This implementation returns the master of the master-slave conjoined pairs of bugtasks. Slave conjoined bugtasks are not included in the list because they can only be expired by calling the master bugtask's transitionToStatus() method. See 'Conjoined Bug Tasks' in c.l.doc/bugtasks.txt.
Only bugtasks the specified user has permission to view are returned. The Janitor celebrity has permission to view all bugs.
BugTarget
.Parameters | target | A supported BugTarget or None. The target param must be either a Distribution, DistroSeries, Product, or ProductSeries. If target is None, the clause joins BugTask to all the supported BugTarget tables. |
Raises | NotImplementedError | If the target is an IProjectGroup, ISourcePackage, or an IDistributionSourcePackage. |
AssertionError | If the target is not a known implementer of
IBugTarget |