l.r.i.m.IAbstractMilestone(IMilestoneData) : interface documentation

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

Known subclasses: lp.registry.interfaces.webservice.IMilestone, lp.registry.interfaces.webservice.IProjectGroupMilestone

An intermediate interface for milestone, or a targeting point for bugs and other release-management items that need coordination.
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.
Method createProductRelease Create a new ProductRelease.
Method closeBugsAndBlueprints Close completed bugs and blueprints.
Method destroySelf Delete this milestone.

Inherited from IMilestoneData:

Int id Undocumented
Attribute displayname A displayname constructed from the name.
Method bugtasks Get a list of non-conjoined bugtasks visible to this user.
Method getSpecifications Return the specifications visible to this user.

Inherited from IHasBugs (via IMilestoneData):

Method searchTasks Search the IBugTasks reported on this entity.
Method getBugTaskWeightFunction Return a function that is used to weight the bug tasks.

Inherited from IStructuralSubscriptionTargetRead (via IMilestoneData, 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.
Attribute bug_subscriptions All subscriptions to bugs at the METADATA level or higher.
Method userCanAlterSubscription Check if a user can change a subscription for a person.
Method userCanAlterBugSubscription Check if a user can change a bug subscription for a person.
Method getSubscription Return the subscription for person, if it exists.
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 IStructuralSubscriptionTargetWrite (via IMilestoneData, IStructuralSubscriptionTarget):

Method addSubscription Add a subscription for this structure.
Method addBugSubscription Add a bug subscription for this structure.
Method addBugSubscriptionFilter Add a bug subscription filter for this structure.
Method removeBugSubscription Remove a subscription to bugs from this structure.

Inherited from IHasOfficialBugTags (via IMilestoneData):

Method getUsedBugTagsWithOpenCounts Return name and bug count of tags having open bugs.
Method _getOfficialTagClause Get the storm clause for finding this targets tags.
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.
@call_with(REQUEST_USER)
@rename_parameters_as('date_released')
@export_factory_operation(IProductRelease, 'datereleased''changelog''release_notes')
@operation_for_version('beta')
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')
@operation_for_version('beta')
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 2019-11-19 00:00:37.