l.r.b.d.DistributionSourcePackageView(DistributionSourcePackageBaseView, LaunchpadView) : class documentation

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

View class for DistributionSourcePackage.
Method initialize Undocumented
Method label Undocumented
Method next_url See LaunchpadFormView.
Method related_ppa_versions Return a list of the latest 3 ppas with related publishings.
Method further_ppa_versions_url Return the url used to find further PPA versions of this package.
Method active_distroseries_packages Cached proxy call to context/get_distroseries_packages.
Method packages_by_active_distroseries Dict of packages keyed by distroseries.
Method active_series Return active distroseries where this package is published.
Method published_by_version Return a dict of publications keyed by version.
Method latest_sourcepackage Undocumented
Method version_table Rows of data for the template to render in the packaging table.
Method open_questions Return result set containing open questions for this package.
Method bugs_answers_usage Return a dict of uses_bugs, uses_answers, uses_both, uses_either.
Method new_bugtasks_count Undocumented

Inherited from DistributionSourcePackageBaseView:

Method releases All releases for this IDistributionSourcePackage.
def initialize(self):
Undocumented
@property
def label(self):
Undocumented
@property
def next_url(self):
See LaunchpadFormView.
@property
def related_ppa_versions(self):
Return a list of the latest 3 ppas with related publishings.

The list contains dictionaries each with a key of 'archive' and 'publications'.

@property
def further_ppa_versions_url(self):
Return the url used to find further PPA versions of this package.
@cachedproperty
def active_distroseries_packages(self):
Cached proxy call to context/get_distroseries_packages.
@property
def packages_by_active_distroseries(self):
Dict of packages keyed by distroseries.
@cachedproperty
def active_series(self):
Return active distroseries where this package is published.

Used in the template code that shows the table of versions. The returned series are sorted in reverse order of creation.

def published_by_version(self, sourcepackage):
Return a dict of publications keyed by version.
ParameterssourcepackageISourcePackage
@property
def latest_sourcepackage(self):
Undocumented
@property
def version_table(self):
Rows of data for the template to render in the packaging table.
@cachedproperty
def open_questions(self):
Return result set containing open questions for this package.
@cachedproperty
def bugs_answers_usage(self):
Return a dict of uses_bugs, uses_answers, uses_both, uses_either.
@cachedproperty
def new_bugtasks_count(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.