l.s.b.snap : module documentation

Part of lp.snappy.browser

Snap views.
Class SnapNavigation Undocumented
Class SnapBreadcrumb Undocumented
Class SnapNavigationMenu Navigation menu for snap packages.
Class SnapContextMenu Context menu for snap packages.
Class SnapView Default view of a Snap.
Function builds_and_requests_for_snap A list of interesting builds and build requests.
Class SnapRequestBuildsView A view for requesting builds of a snap package.
Interface ISnapEditSchema Schema for adding or editing a snap package.
Function log_oops Log an oops report without raising an error.
Class SnapAuthorizeMixin Undocumented
Class SnapAddView View for creating snap packages.
Class BaseSnapEditView No class docstring; 4/8 methods documented
Class SnapAdminView View for administering snap packages.
Class SnapEditView View for editing snap packages.
Class SnapAuthorizationException Undocumented
Class SnapAuthorizeView View for authorizing snap package uploads to the store.
Class SnapDeleteView View for deleting snap packages.
def builds_and_requests_for_snap(snap):
A list of interesting builds and build requests.

All pending builds and pending build requests are shown, as well as up to 10 recent builds and recent failed build requests. Pending items are ordered by the date they were created; recent items are ordered by the date they finished (if available) or the date they started (if the date they finished is not set due to an error). This allows started but unfinished builds to show up in the view but be discarded as more recent builds become available.

Builds that the user does not have permission to see are excluded (by the model code).

def log_oops(error, request):
Log an oops report without raising an error.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.