l.s.i.b.IBuildView(IBuildBase) : interface documentation

Part of lp.soyuz.interfaces.build View In Hierarchy

Known subclasses: lp.soyuz.interfaces.build.IBuild

A Build interface for items requiring launchpad.View.
Int id Undocumented
Object processor The Processor where this build should be built.
Object sourcepackagerelease The SourcePackageRelease requested to build.
Object distroarchseries The DistroArchSeries context for this build.
Attribute distroseries Direct parent needed by CanonicalURL
Attribute was_built Whether or not modified by the builddfarm.
Attribute distributionsourcepackagerelease The page showing the details for this sourcepackagerelease in this distribution.
Attribute binarypackages A list of binary packages that resulted from this build, not limited and ordered by name.
Attribute distroarchseriesbinarypackages A list of distroarchseriesbinarypackages that resulted from thisbuild, ordered by name.
Attribute calculated_buildstart Emulates a buildstart timestamp by calculating it from datebuilt - buildduration.
Attribute is_virtualized Whether or not this build requires a virtual build host or not.
Attribute upload_changesfile The LibraryFileAlias object containing the changes file which was originally uploaded with the results of this build. It's 'None' if it is build imported by Gina.
Attribute package_upload The PackageUpload record corresponding to the original upload of the binaries resulted from this build. It's 'None' if it is a build imported by Gina.
Method updateDependencies Update the build-dependencies line within the targeted context.
Method __getitem__ Mapped to getBinaryPackageRelease.
Method getBinaryPackageRelease Return the binary package from this build with the given name, or
Method createBinaryPackageRelease Create and return a BinaryPackageRelease.
Method getFileByName Return the corresponding ILibraryFileAlias in this context.

Inherited from IBuildBase:

Object builder The Builder which address this build request.
Timedelta buildduration Build duration interval, calculated when the build result gets collected.
Object buildlog Undocumented
Object buildqueue_record Undocumented
Attribute is_private Whether the build should be treated as private.
TextLine policy_name The upload policy to use for handling these builds.
Attribute current_component Component where the source related to this build was last published.
Object upload_log Undocumented
Method getUploaderCommand Get the command to run as the uploader.
Method handleStatus Handle a finished build status from a slave.
Method getLogFromSlave Get last buildlog from slave.
Method queueBuild Create a BuildQueue entry for this build.
Method estimateDuration Estimate the build duration.
Method storeBuildInfo Store available information for the build job.
Method verifySuccessfulUpload Verify that the upload of this build completed succesfully.
Method storeUploadLog Store the given content as the build upload_log.
Method notify Notify current build state to related people via email.
Method makeJob Construct and return an IBuildFarmJob for this build.
id =
Undocumented
processor =
The Processor where this build should be built.
sourcepackagerelease =
The SourcePackageRelease requested to build.
distroarchseries =
The DistroArchSeries context for this build.
distroseries =
Direct parent needed by CanonicalURL
was_built =
Whether or not modified by the builddfarm.
distributionsourcepackagerelease =
The page showing the details for this sourcepackagerelease in this distribution.
binarypackages =
A list of binary packages that resulted from this build, not limited and ordered by name.
distroarchseriesbinarypackages =
A list of distroarchseriesbinarypackages that resulted from thisbuild, ordered by name.
calculated_buildstart =
Emulates a buildstart timestamp by calculating it from datebuilt - buildduration.
is_virtualized =
Whether or not this build requires a virtual build host or not.
upload_changesfile =
The LibraryFileAlias object containing the changes file which was originally uploaded with the results of this build. It's 'None' if it is build imported by Gina.
package_upload =
The PackageUpload record corresponding to the original upload of the binaries resulted from this build. It's 'None' if it is a build imported by Gina.
def updateDependencies():
Update the build-dependencies line within the targeted context.
def __getitem__(name):
Mapped to getBinaryPackageRelease.
def getBinaryPackageRelease(name):
Return the binary package from this build with the given name, or raise NotFoundError if no such package exists.
def createBinaryPackageRelease(binarypackagename, version, summary, description, binpackageformat, component, section, priority, shlibdeps, depends, recommends, suggests, conflicts, replaces, provides, pre_depends, enhances, breaks, essential, installedsize, architecturespecific):
Create and return a BinaryPackageRelease.

The binarypackagerelease will be attached to this specific build.

def getFileByName(filename):
Return the corresponding `ILibraryFileAlias` in this context.

The following file types (and extension) can be looked up in the
archive context:

 * Binary changesfile: '.changes';
 * Build logs: '.txt.gz';
 * Build upload logs: '_log.txt';

:param filename: exactly filename to be looked up.

:raises AssertionError if the given filename contains a unsupported
    filename and/or extension, see the list above.
:raises NotFoundError if no file could not be found.

:return the corresponding `ILibraryFileAlias` if the file was found.
API Documentation for Launchpad, generated by pydoctor at 2010-04-14 00:00:38.