Part of lp.soyuz.interfaces.binarypackagebuild View In Hierarchy
Known subclasses: lp.soyuz.interfaces.webservice.IBinaryPackageBuild
Int | id | Undocumented |
Int | source_package_release_id | Undocumented |
Int | distro_arch_series_id | Undocumented |
Bool | arch_indep | 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 | 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 | buildinfo | The LibraryFileAlias object containing build information for this build, if any. |
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. |
Method | getBinaryPackageNamesForDisplay | Retrieve the build's binary package names for display purposes. |
Method | getBinaryFilesForDisplay | Retrieve the build's `IBinaryPackageFile`s for display purposes. |
Method | getLatestSourcePublication | The latest source publication corresponding to 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 | build_farm_job | Generic build farm job record |
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. |
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. |
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.
IBinaryPackageFile
in this context.Parameters | filename | the filename to look up. |
Returns | the corresponding IBinaryPackageFile if it was found. |
Returns | a result set of
(IBinaryPackageRelease , IBinaryPackageName ) ordered by name
and IBinaryPackageRelease.id . |
Retrieve the build's `IBinaryPackageFile`s for display purposes. Also prefetches other related objects needed for display. :return: a result set of (`IBinaryPackageRelease`, `IBinaryPackageFile`, `ILibraryFileAlias`, `ILibraryFileContent`).
Unlike current_source_publication, this returns publications even if they are no longer active.
Returns | An ISourcePackagePublishingHistory , or None if no
corresponding source publication can be located (which is a bug,
but is true for some old production builds). |