Part of lp.soyuz.interfaces.livefsbuild View In Hierarchy
Known subclasses: lp.soyuz.interfaces.webservice.ILiveFSBuild
ILiveFSBuild attributes that require launchpad.View permission.| Bool | virtualized | Undocumented |
| Method | getFiles | Retrieve the build's ILiveFSFile records. |
| Method | getFileByName | Return the corresponding ILibraryFileAlias in this context. |
| Method | getFileUrls | URLs for all the files produced by this build. |
Inherited from IPackageBuild:
| 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 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 IPrivacy:
| Bool | private | Private objects are visible to members or subscribers. |
ILiveFSFile records.| Returns | A result set of (ILiveFSFile, ILibraryFileAlias,
ILibraryFileContent). | |
ILibraryFileAlias in this context.
The following file types (and extension) can be looked up:
- Build log: '.txt.gz'
- Upload log: '_log.txt'
Any filename not matching one of these extensions is looked up as a live filesystem output file.
| Parameters | filename | The filename to look up. |
| Returns | The corresponding ILibraryFileAlias. | |
| Raises | NotFoundError | if no file exists with the given name. |