l.r.i.m.IMilestone(IHasBugs, IStructuralSubscriptionTarget, IHasOfficialBugTags) : interface documentation

Part of lp.registry.interfaces.milestone View In Hierarchy

Known subclasses: lp.registry.interfaces.milestone.IProjectGroupMilestone

Known implementations: lp.registry.model.milestone.Milestone

A milestone, or a targeting point for bugs and other release-management items that need coordination.
Int id Undocumented
Choice product The project to which this milestone is associated
Choice distribution The distribution to which this milestone belongs.
Choice productseries The product series for which this is a milestone.
Choice distroseries The distribution series for which this is a milestone.
Attribute displayname A displayname for this milestone, constructed from the milestone name.
Attribute specifications A list of the specifications targeted to this milestone.
Method createProductRelease Create a new ProductRelease.
Method closeBugsAndBlueprints Close completed bugs and blueprints.
Method destroySelf Delete this milestone.

Inherited from IHasBugs:

Attribute open_bugtasks A list of open bugTasks for this target.
Attribute closed_bugtasks A list of closed bugTasks for this target.
Attribute inprogress_bugtasks A list of in-progress bugTasks for this target.
Attribute high_bugtasks A list of high importance BugTasks for this target.
Attribute critical_bugtasks A list of critical BugTasks for this target.
Attribute new_bugtasks A list of New BugTasks for this target.
Attribute unassigned_bugtasks A list of unassigned BugTasks for this target.
Attribute all_bugtasks A list of all BugTasks ever reported for this target.
Attribute has_bugtasks True if a BugTask has ever been reported for this target.
Method searchTasks Search the IBugTasks reported on this entity.
Method getBugCounts Return a dict with the number of bugs in each possible status.

Inherited from IStructuralSubscriptionTarget:

Method getSubscriptions Return all the subscriptions with the specified levels.
Attribute parent_subscription_target The target's parent, or None if one doesn't exist.
Method userCanAlterSubscription Check if a user can change a subscription for a person.
Method addSubscription Add a subscription for this structure.
Method userCanAlterBugSubscription Check if a user can change a bug subscription for a person.
Method addBugSubscription Add a bug subscription for this structure.
Method removeBugSubscription Remove a subscription to bugs from this structure.
Method getSubscription Return the subscription for person, if it exists.
Method getBugNotificationsRecipients Return the set of bug subscribers to this target.
Attribute target_type_display The type of the target, for display.
Method userHasBugSubscriptions Is user subscribed, directly or via a team, to bug mail?

Inherited from IHasOfficialBugTags:

Method getUsedBugTags Return the tags used by the context as a sorted list of strings.
Method getUsedBugTagsWithOpenCounts Return name and bug count of tags having open bugs.
Method _getOfficialTagClause Get the storm clause for finding this targets tags.
id =
Undocumented
product =
The project to which this milestone is associated
distribution =
The distribution to which this milestone belongs.
productseries =
The product series for which this is a milestone.
distroseries =
The distribution series for which this is a milestone.
displayname =
A displayname for this milestone, constructed from the milestone name.
specifications =
A list of the specifications targeted to this milestone.
@call_with(REQUEST_USER)
@rename_parameters_as('date_released')
@export_factory_operation(IProductRelease, 'datereleased''changelog''release_notes')
def createProductRelease(owner, datereleased, changelog=None, release_notes=None):
Create a new ProductRelease.
ParametersownerIPerson object who manages the release.
datereleasedDate of the product release.
changelogDetailed changes in each version.
release_notesOverview of changes in each version.
ReturnsIProductRelease object.
def closeBugsAndBlueprints(user):
Close completed bugs and blueprints.

Bugs that are fix committed status are updated to fix released. Blueprints that are in deployment status are updated to implemented status. XXX sinzui 2010-01-27 bug=341687: blueprints not yet implemented.

@export_destructor_operation()
@export_operation_as('delete')
def destroySelf():
Delete this milestone.

This method must not be used if this milestone has a product release.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.