c.b.t.TranslationTemplatesBuildManager(DebianBuildManager) : class documentation

Part of canonical.buildd.translationtemplates View In Hierarchy

Known subclasses: canonical.buildd.tests.test_translationtemplatesbuildmanager.MockBuildManager

Generate translation templates from branch.

This is the implementation of TranslationTemplatesBuildJob. The latter runs on the master server; TranslationTemplatesBuildManager runs on the build slave.

Method __init__ Create a BuildManager.
Method initiate See BuildManager.
Method doInstall Install packages required.
Method doGenerate Generate templates.
Method gatherResults Gather the results of the build and add them to the file cache.
Method iterate_INSTALL Installation was done.
Method iterate_GENERATE Template generation finished.

Inherited from DebianBuildManager:

Method initial_build_state Undocumented
Method doSourcesList Override apt/sources.list.
Method doUpdateChroot Perform the chroot upgrade.
Method doRunBuild Run the main build process.
Method doReapProcesses Reap any processes left lying around in the chroot.
Method getChangesFilename Undocumented
Method iterate Perform an iteration of the slave.
Method iterate_INIT Just finished initialising the build.
Method iterate_UNPACK Just finished unpacking the tarball.
Method iterate_MOUNT Just finished doing the mounts.
Method getTmpLogContents Undocumented
Method iterate_SOURCES Just finished overwriting sources.list.
Method iterate_UPDATE Just finished updating the chroot.
Method iterate_REAP Finished reaping processes; ignore error returns.
Method iterate_UMOUNT Just finished doing the unmounting.
Method iterate_CLEANUP Just finished the cleanup.
Static Method _parseChangesFile A generator that iterates over files listed in a changes file.

Inherited from BuildManager (via DebianBuildManager):

Method runSubProcess Run a sub process capturing the results in the log.
Method doUnpack Unpack the build chroot.
Method doCleanup Remove the build tree etc.
Method doMounting Mount things in the chroot, e.g. proc.
Method doUnmounting Unmount the chroot.
Method abort Abort the build by killing the subprocess.
Method kill Send SIGKILL to child process
def __init__(self, slave, buildid):
Create a BuildManager.
ParametersslaveA BuildDSlave.
buildidIdentifying string for this build.
def initiate(self, files, chroot, extra_args):
See BuildManager.
def doInstall(self):
Install packages required.
def doGenerate(self):
Generate templates.
def gatherResults(self):
Gather the results of the build and add them to the file cache.
def iterate_INSTALL(self, success):
Installation was done.
def iterate_GENERATE(self, success):
Template generation finished.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.