Part of lp.soyuz.model.build View In Hierarchy
Implements interfaces: lp.buildmaster.interfaces.buildbase.IBuildBase, lp.soyuz.interfaces.build.IBuild
| Method | buildqueue_record | See IBuild. |
| Method | current_component | See IBuild. |
| Method | current_source_publication | See IBuild. |
| Method | upload_changesfile | See IBuild |
| Method | package_upload | See IBuild. |
| Method | distroseries | See IBuild |
| Method | distribution | See IBuild |
| Method | is_virtualized | See IBuild |
| Method | is_private | See IBuildBase |
| Method | title | See IBuild |
| Method | was_built | See IBuild |
| Method | arch_tag | See IBuild. |
| Method | distributionsourcepackagerelease | See IBuild. |
| Method | binarypackages | See IBuild. |
| Method | distroarchseriesbinarypackages | See IBuild. |
| Method | can_be_retried | See IBuild. |
| Method | can_be_rescored | See IBuild. |
| Method | calculated_buildstart | See IBuild. |
| Method | retry | See IBuild. |
| Method | rescore | See IBuild. |
| Method | makeJob | See IBuildBase. |
| Method | updateDependencies | See IBuild. |
| Method | __getitem__ | Undocumented |
| Method | getBinaryPackageRelease | See IBuild. |
| Method | createBinaryPackageRelease | See IBuild. |
| Method | estimateDuration | See IBuildBase. |
| Method | verifySuccessfulUpload | Verify that the upload of this build completed succesfully. |
| Method | notify | See IBuildBase. |
| Method | getFileByName | See IBuild. |
| Method | _getLatestPublication | Undocumented |
| Method | _parseDependencyToken | Parse the given token. |
| Method | _checkDependencyVersion | Return True if the available version satisfies the context. |
| Method | _isDependencySatisfied | Check if the given dependency token is satisfied. |
| Method | _toAptFormat | Rebuild dependencies line in apt format. |
| Method | _getDebByFileName | Helper function to get a .deb LFA in the context of this build. |
Inherited from BuildBase:
| Method | getUploadLeaf | Return a directory name to store build things in. |
| Method | getUploadDir | Return the directory that things will be stored in. |
| Method | getUploaderCommand | See IBuildBase. |
| Method | build_log_url | See IBuildBase. |
| Method | getUploadLogContent | Retrieve the upload log contents. |
| Method | upload_log_url | See IBuildBase. |
| Method | handleStatus | See IBuildBase. |
| Method | getLogFromSlave | See IBuildBase. |
| Method | storeBuildInfo | See IBuildBase. |
| Method | storeUploadLog | See IBuildBase. |
| Method | queueBuild | See IBuildBase |
| Method | _getProxiedFileURL | Return the 'http_url' of a ProxiedLibraryFileAlias. |
| Method | _handleStatus_OK | Handle a package that built successfully. |
| Method | _handleStatus_PACKAGEFAIL | Handle a package that had failed to build. |
| Method | _handleStatus_DEPFAIL | Handle a package that had missing dependencies. |
| Method | _handleStatus_CHROOTFAIL | Handle a package that had failed when unpacking the CHROOT. |
| Method | _handleStatus_BUILDERFAIL | Handle builder failures. |
| Method | _handleStatus_GIVENBACK | Handle automatic retry requested by builder. |
Inherited from SQLBase:
| Method | __init__ | Extended version of the SQLObjectBase constructor. |
| Method | __repr__ | Undocumented |
| Method | destroySelf | Undocumented |
| Method | __eq__ | Equality operator. |
| Method | __ne__ | Inverse of __eq__. |
| Class Method | _get_store | Undocumented |
Raises AssertionError if the given token couldn't be parsed.
Return a triple containing the corresponding (name, version, relation) for the given dependency token.
Check if the dependency exists, if its version constraint is satisfied and if it is reachable in the build context.
IBuildBase.
If config.buildmaster.build_notification is disable, simply return.
If config.builddmaster.notify_owner is enabled and SPR.creator has preferredemail it will send an email to the creator, Bcc: to the config.builddmaster.default_recipient. If one of the conditions was not satisfied, no preferredemail found (autosync or untouched packages from debian) or config options disabled, it will only send email to the specified default recipient.
This notification will contain useful information about the record in question (all states are supported), see doc/build-notification.txt for further information.