l.s.b.q.CompletePackageUpload : class documentation

Part of lp.soyuz.browser.queue View In Hierarchy

A decorated PackageUpload including sources, builds and packages.

This acts effectively as a view for package uploads. Some properties of the class are cached here to reduce the number of queries that the +queue template has to make. Others are added here exclusively.

Method __init__ Undocumented
Method display_package_sets Package sets, if any, for display on the +queue page.
Method display_component Component name, if any, for display on the +queue page.
Method display_section Section name, if any, for display on the +queue page.
Method display_priority Priority name, if any, for display on the +queue page.
Method composeIcon Compose an icon for the package's icon list.
Method composeIconList List icons that should be shown for this upload.
Method composeNameAndChangesLink Compose HTML: upload name and link to changes file.
Method icons_and_name Icon list and name, linked to changes file if appropriate.
Method proxiedFile Return a librarian file proxied in the context of this upload.
def __init__(self, packageupload, build_upload_files, source_upload_files, package_sets):
Undocumented
@property
def display_package_sets(self):
Package sets, if any, for display on the +queue page.
@property
def display_component(self):
Component name, if any, for display on the +queue page.
@property
def display_section(self):
Section name, if any, for display on the +queue page.
@property
def display_priority(self):
Priority name, if any, for display on the +queue page.
def composeIcon(self, alt, icon, title=None):
Compose an icon for the package's icon list.
def composeIconList(self):
List icons that should be shown for this upload.
def composeNameAndChangesLink(self):
Compose HTML: upload name and link to changes file.
@property
def icons_and_name(self):
Icon list and name, linked to changes file if appropriate.
def proxiedFile(self, libraryfile):
Return a librarian file proxied in the context of this upload.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.