l.r.b.m.MilestoneView(LaunchpadView, MilestoneViewMixin, ProductDownloadFileMixin, InformationTypePortletMixin) : class documentation

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

Known subclasses: lp.registry.browser.milestone.MilestoneWithoutCountsView

A View for listing milestones and releases.
Method __init__ See LaunchpadView.
Method initialize See LaunchpadView.
Method getReleases See ProductDownloadFileMixin.
Method download_files The release's files as DownloadFiles.
Method product_release_files Files associated with this milestone.
Method total_downloads Total downloads of files associated with this milestone.
Method is_distroseries_milestone Is the current milestone is a distroseries milestone?

Inherited from MilestoneViewMixin:

Method should_show_bugs_and_blueprints Display the summary of bugs/blueprints for this milestone?
Method page_title Return the HTML page title.
Method specifications The list of specifications targeted to this milestone.
Method bugtasks The list of bugtasks targeted to this milestone for listing.
Method bugtask_count_text The formatted count of bugs for this milestone.
Method bugtask_status_counts A list StatusCounts summarising the targeted bugtasks.
Method specification_count_text The formatted count of specifications for this milestone.
Method specification_status_counts A list StatusCounts summarising the targeted specification.
Method assignment_counts The counts of the items assigned to users.
Method user_counts The counts of the items assigned to the currrent user.
Method is_project_milestone_tag Check, if the current milestone is a project milestone tag.
Method is_project_milestone Check, if the current milestone is a project milestone.
Method has_bugs_or_specs Does the milestone have any bugtasks and specifications?
Method _bugtasks The list of non-conjoined bugtasks targeted to this milestone.
Method _bug_badge_properties The badges for each bug associates with this milestone.
Method _bug_task_tags Undocumented
Method _bug_task_people The people associated with a set of bug tasks.
Method _getListingItem Return a decorated bugtask for the bug listing.

Inherited from ProductDownloadFileMixin:

Method product Product with all series, release and file data cached.
Method deleteFiles Delete the selected files from the set of releases.
Method processDeleteFiles If the 'delete_files' button was pressed, process the deletions.
Method latest_release_with_download_files Return the latest release with download files.
Method has_download_files Undocumented

Inherited from InformationTypePortletMixin:

Method information_type Undocumented
Method information_type_description Undocumented
Method information_type_css Undocumented
Method privacy_portlet_css Undocumented
Method _getContext Undocumented
def __init__(self, context, request):
See LaunchpadView.

This view may be used with a milestone or a release. The milestone and release (if it exists) are accessible as attributes. The context attribute will always be the milestone.

ParameterscontextIMilestone or IProductRelease.
requestILaunchpadRequest.
def initialize(self):
See LaunchpadView.
def getReleases(self):
See ProductDownloadFileMixin.
@cachedproperty
def download_files(self):
The release's files as DownloadFiles.
@cachedproperty
def product_release_files(self):
Files associated with this milestone.
@cachedproperty
def total_downloads(self):
Total downloads of files associated with this milestone.
@property
def is_distroseries_milestone(self):
Is the current milestone is a distroseries milestone?

Milestones that belong to distroseries cannot have releases.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.