l.t.m.t.TranslationTemplatesBuildBehaviour(BuildFarmJobBehaviourBase) : class documentation

Part of lp.translations.model.translationtemplatesbuildbehaviour View In Hierarchy

Dispatches `TranslationTemplateBuildJob`s to slaves.
Method getLogFileName See IBuildFarmJob.
Method archive Undocumented
Method distro_arch_series Undocumented
Method pocket Undocumented
Method extraBuildArgs The default behaviour is to send only common extra arguments.
Method handleSuccess Deal with a finished build job.
Method _readTarball Read tarball with generated translation templates from slave.
Method _uploadTarball Upload tarball to productseries that want it.

Inherited from BuildFarmJobBehaviourBase:

Method __init__ Store a reference to the job_type with which we were created.
Method setBuilder The builder should be set once and not changed.
Method determineFilesToSend The default behaviour is to send no files.
Method composeBuildRequest Undocumented
Method verifyBuildRequest The default behaviour is a no-op.
Method dispatchBuildToSlave See IBuildFarmJobBehaviour.
Method getUploadDirLeaf See IPackageBuild.
Method transferSlaveFileToLibrarian Transfer a file from the slave to the librarian.
Method getLogFromSlave Return a Deferred which fires when the log is in the librarian.
Method storeLogFromSlave See IBuildFarmJob.
Method verifySuccessfulBuild See IBuildFarmJobBehaviour.
Method handleStatus See IBuildFarmJobBehaviour.
def getLogFileName(self):
See IBuildFarmJob.
@property
def archive(self):
Undocumented
@property
def distro_arch_series(self):
Undocumented
@property
def pocket(self):
Undocumented
def extraBuildArgs(self, logger=None):
The default behaviour is to send only common extra arguments.
def _readTarball(self, buildqueue, filemap, logger):
Read tarball with generated translation templates from slave.
def _uploadTarball(self, branch, tarball, logger):
Upload tarball to productseries that want it.
@defer.inlineCallbacks
def handleSuccess(self, slave_status, logger):
Deal with a finished build job.

Retrieves tarball and logs from the slave, then cleans up the slave so it's ready for a next job and destroys the queue item.

If this fails for whatever unforeseen reason, a future run will retry it.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.