c.b.s.SourcePackageRecipeBuildManager(DebianBuildManager) : class documentation

Part of canonical.buildd.sourcepackagerecipe View In Hierarchy

Build a source package from a bzr-builder recipe.
Method __init__ Constructor.
Method initiate Initiate a build with a given set of files and chroot.
Method doRunBuild Run the build process to build the source package.
Method iterate_BUILD_RECIPE Move from BUILD_RECIPE to the next logical state.
Method getChangesFilename Return the path to the changes file.
Method gatherResults Gather the results of the build and add them to the file cache.

Inherited from DebianBuildManager:

Method initial_build_state Undocumented
Method doSourcesList Override apt/sources.list.
Method doUpdateChroot Perform the chroot upgrade.
Method doReapProcesses Reap any processes left lying around in the chroot.
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):
Constructor.
ParametersslaveA build slave device.
buildidThe id of the build (a str).
def initiate(self, files, chroot, extra_args):
Initiate a build with a given set of files and chroot.
ParametersfilesThe files sent by the manager with the request.
chrootThe sha1sum of the chroot to use.
extra_argsA dict of extra arguments.
def doRunBuild(self):
Run the build process to build the source package.
def iterate_BUILD_RECIPE(self, retcode):
Move from BUILD_RECIPE to the next logical state.
def getChangesFilename(self):
Return the path to the changes file.
def gatherResults(self):
Gather the results of the build and add them to the file cache.

The primary file we care about is the .changes file. The manifest is also a useful record.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.