l.c.b.sourcepackagerecipe : module documentation

Part of lp.code.browser

SourcePackageRecipe views.
Class SourcePackageRecipeBreadcrumb Undocumented
Class SourcePackageRecipeNavigationMenu Navigation menu for sourcepackage recipes.
Class SourcePackageRecipeContextMenu Context menu for sourcepackage recipes.
Class SourcePackageRecipeView Default view of a SourcePackageRecipe.
Function distroseries_renderer Render a distroseries collection as a set of links.
Function builds_for_recipe A list of interesting builds.
Function new_builds_notification_text Undocumented
Class SourcePackageRecipeRequestBuildsView A view for requesting builds of a SourcePackageRecipe.
Class SourcePackageRecipeRequestBuildsHtmlView Supports HTML form recipe build requests.
Class SourcePackageRecipeRequestBuildsAjaxView Supports AJAX form recipe build requests.
Class SourcePackageRecipeRequestDailyBuildView Supports requests to perform a daily build for a recipe.
Interface ISourcePackageEditSchema Schema for adding or editing a recipe.
Interface ISourcePackageAddSchema No interface docstring; 1/2 choices, 1/1 textlines documented
Class ErrorHandled A field error occured and was handled.
Class RecipeTextValidatorMixin Class to validate that the Source Package Recipe text is valid.
Class RelatedBranchesWidget A widget to render the related branches for a recipe.
Class RecipeRelatedBranchesMixin A class to find related branches for a recipe's base branch.
Class SourcePackageRecipeAddView View for creating Source Package Recipes.
Class SourcePackageRecipeEditView View for editing Source Package Recipes.
Class SourcePackageRecipeDeleteView No class docstring; 1/1 interfaces, 0/4 methods documented
@component.adapter(ISourcePackageRecipe, ICollection, IWebServiceClientRequest)
def distroseries_renderer(context, field, request):
Render a distroseries collection as a set of links.
def builds_for_recipe(recipe):
A list of interesting builds.

All pending builds are shown, as well as 1-5 recent builds. Recent builds are ordered by date finished (if completed) or date_started (if date finished is not set due to an error building or other circumstance which resulted in the build not being completed). 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.

def new_builds_notification_text(builds, already_pending=None, contains_unbuildable=False):
API Documentation for Launchpad, generated by pydoctor at 2020-09-28 00:00:12.