l.s.i.b.IBinaryPackageBuild(IBinaryPackageBuildView, IBinaryPackageBuildEdit, IBinaryPackageBuildAdmin) : interface documentation

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

Known implementations: lp.soyuz.model.binarypackagebuild.BinaryPackageBuild

A Build interface

Inherited from IBinaryPackageBuildView:

Int id Undocumented
Attribute distro_series Direct parent needed by CanonicalURL
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 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.
Method getBinaryPackageFileByName Return the corresponding IBinaryPackageFile in this context.

Inherited from IPackageBuild (via IBinaryPackageBuildView):

Object upload_log Undocumented
Attribute current_component Component where the source related to this build was last published.
Method getUploadDirLeaf Return the directory-leaf where files to be uploaded are stored.
Method getBuildCookie Return the build cookie (build id and build queue record id).
Method getLogFromSlave Get last buildlog from slave.
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 handleStatus Handle a finished build status from a slave.
Method queueBuild Create a BuildQueue entry for this build.
Method getUploader Return the person responsible for the upload.

Inherited from IBuildFarmJob (via IBinaryPackageBuildView, IPackageBuild):

Datetime date_started The timestamp when the build farm job was started.
Timedelta duration Duration interval, calculated when the result gets collected.
Bool is_private Whether the build should be treated as private.
Choice job_type The specific type of job.
Int failure_count Number of consecutive failures for this job.
Method getSpecificJob Return the specific build job associated with this record.
Method gotFailure Increment the failure_count for this job.
Attribute was_built Whether or not modified by the builddfarm.

Inherited from IBuildFarmJobOld (via IBinaryPackageBuildView, IPackageBuild, IBuildFarmJob):

Bool virtualized The virtualization setting required by this build farm job. This should be None for job types that do not care whether they run virtualized.
Method score Calculate a job score appropriate for the job type in question.
Method getLogFileName The preferred file name for this job's log.
Method getName An appropriate name for this job.
Method getTitle A string to identify and describe the job to users.
Method jobStarted 'Job started' life cycle event, handle as appropriate.
Method jobReset 'Job reset' life cycle event, handle as appropriate.
Method jobAborted 'Job aborted' life cycle event, handle as appropriate.
Method addCandidateSelectionCriteria Provide a sub-query to refine the candidate job selection.
Method postprocessCandidate True if the candidate job is fine and should be dispatched
Method getByJob Get the specific IBuildFarmJob for the given Job.
Method generateSlaveBuildCookie Produce a cookie for the slave as a token of the job it's doing.
Method makeJob Create the specific job relating this with an lp.services.job.
Method cleanUp Job's finished. Delete its supporting data.

Inherited from IBinaryPackageBuildEdit:

Method retry Restore the build record to its initial state.

Inherited from IBinaryPackageBuildAdmin:

Method rescore Change the build's score.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.