l.b.i.m.IMaloneApplication(ILaunchpadApplication) : interface documentation

Part of lp.bugs.interfaces.malone View In Hierarchy

Known implementations: canonical.launchpad.systemhomes.MaloneApplication

Application root for malone.
Method searchTasks Search IBugTasks with the given search parameters.
Attribute bug_count The number of bugs recorded in Launchpad
Attribute bugwatch_count The number of links to external bug trackers
Attribute bugtask_count The number of bug tasks in Launchpad
Attribute projects_with_bugs_count The number of products and distributions which have bugs in Launchpad.
Attribute shared_bug_count The number of bugs that span multiple products and distributions
Attribute bugtracker_count The number of bug trackers in Launchpad
Attribute top_bugtrackers The BugTrackers with the most watches.
Attribute latest_bugs The latest 5 bugs filed.
Method default_bug_list Return a default list of bugs.
Method createBug Create a bug (with an appropriate bugtask) and return it.

Inherited from ILaunchpadApplication:

Attribute title Title
def searchTasks(search_params):
Search IBugTasks with the given search parameters.
bug_count =
The number of bugs recorded in Launchpad
bugwatch_count =
The number of links to external bug trackers
bugtask_count =
The number of bug tasks in Launchpad
projects_with_bugs_count =
The number of products and distributions which have bugs in Launchpad.
shared_bug_count =
The number of bugs that span multiple products and distributions
bugtracker_count =
The number of bug trackers in Launchpad
top_bugtrackers =
The BugTrackers with the most watches.
latest_bugs =
The latest 5 bugs filed.
@collection_default_content(REQUEST_USER)
def default_bug_list(user):
Return a default list of bugs.
ParametersuserThe user who's doing the search.
@call_with(REQUEST_USER)
@operation_parameters(Reference(IBugTarget, True, u'The project, distribution or source package that has this bug.'))
@export_factory_operation(IBug, 'title''description''tags''security_related''private')
def createBug(owner, title, description, target, security_related=False, private=False, tags=None):

Create a bug (with an appropriate bugtask) and return it.

Things to note when using this factory:

  • the owner will be subscribed to the bug
  • distribution, product and package contacts (whichever ones are applicable based on the bug report target) will be subscribed to all public bugs only
  • for public upstreams bugs where there is no upstream bug contact, the product owner will be subscribed instead
ParameterstargetThe Product, Distribution or DistributionSourcePackage affected by this bug.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.