Part of lp.soyuz.interfaces.build View In Hierarchy
Known subclasses: lp.soyuz.interfaces.build.IBuild
| 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. |
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.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.BinaryPackageRelease.
The binarypackagerelease will be attached to this specific build.
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.