l.c.i.s.ISourcePackageRecipeView(Interface) : interface documentation

Part of lp.code.interfaces.sourcepackagerecipe View In Hierarchy

Known subclasses: lp.code.interfaces.webservice.ISourcePackageRecipe

IBranch attributes that require launchpad.View permission.
Int id Undocumented
Datetime date_created Undocumented
Method getRecipeText Return the text of this recipe.
Method requestBuild Request that the recipe be built in to the specified archive.
Method containsUnbuildableSeries Does the recipe contain series that can not be built into.
Method performDailyBuild Perform a build into the daily build archive.
Method getPendingBuildInfo Find distroseries and archive data for pending builds.
id =
Undocumented
date_created =
Undocumented
def getRecipeText(validate=False):
Return the text of this recipe.
ParametersvalidateIf True, check that the recipe text can be parsed.
@call_with(REQUEST_USER)
@operation_parameters(Reference(IArchive), Reference(IDistroSeries), Choice(PackagePublishingPocket))
@operation_returns_entry(Interface)
@export_write_operation()
def requestBuild(archive, distroseries, requester, pocket):
Request that the recipe be built in to the specified archive.
ParametersarchiveThe IArchive which you want the build to end up in.
requesterthe person requesting the build.
pocketthe pocket that should be targeted.
Raisesvarious specific upload errors if the requestor is not able to upload to the archive.
def containsUnbuildableSeries(archive):
Does the recipe contain series that can not be built into.
@export_write_operation()
def performDailyBuild():
Perform a build into the daily build archive.
@export_read_operation()
@operation_for_version('devel')
def getPendingBuildInfo():
Find distroseries and archive data for pending builds.

Return a list of dict( distroseries:distroseries.displayname archive:archive.token) The archive reference is as defined by the archive vocab. This information is used to construct the request builds popup form.

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