l.s.i.w.ISnapBuild(ISnapBuildView, ISnapBuildEdit, ISnapBuildAdmin) : interface documentation

Part of lp.snappy.interfaces.webservice View In Hierarchy

Build information for snap package builds.

Inherited from ISnapBuildView:

Bool virtualized Undocumented
Datetime eta Undocumented
Bool estimate Undocumented
Datetime date Undocumented
Attribute store_upload_metadata A dict of data about store upload progress.
Method getFiles Retrieve the build's ISnapFile records.
Method getFileByName Return the corresponding ILibraryFileAlias in this context.
Method getFileUrls URLs for all the files produced by this build.

Inherited from IPackageBuild (via ISnapBuildView):

Object upload_log Undocumented
Attribute current_component Component where the source related to this build was last published.
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 getUploader Return the person responsible for the upload.

Inherited from IBuildFarmJob (via ISnapBuildView, IPackageBuild):

Attribute id The build farm job ID.
Attribute build_farm_job Generic build farm job record
Bool is_private Whether the build should be treated as private.
Choice job_type The specific type of job.
Attribute build_cookie A string which uniquely identifies the job in the build farm.
Int failure_count Number of consecutive failures for this job.
Method setLog Set the LibraryFileAlias that contains the job log.
Method updateStatus Update job metadata when the build status changes.
Method gotFailure Increment the failure_count for this job.
Method calculateScore Calculate the build queue priority for this job.
Method estimateDuration Estimate the build duration.
Method queueBuild Create a BuildQueue entry for this build.
Attribute was_built Whether or not modified by the builddfarm.
Attribute external_dependencies Newline-separated list of repositories to be used to retrieve any external build-dependencies when performing this build.

Inherited from ISnapBuildEdit:

Method addFile Add a file to this build.
Method scheduleStoreUpload Schedule an upload of this build to the store.
Method cancel Cancel the build if it is either pending or in progress.

Inherited from ISnapBuildAdmin:

Method rescore Change the build's score.
API Documentation for Launchpad, generated by pydoctor at 2019-12-13 00:00:05.