mini_buildd.packager module

class mini_buildd.packager.Package(daemon, changes)

Bases: mini_buildd.misc.Status

FAILED = -2
REJECTED = -1
CHECKING = 0
BUILDING = 1
INSTALLING = 2
INSTALLED = 10
took
precheck()
add_buildresult(bres)
install()

Install package to repository.

This may throw on error, and if so, no changes should be done to the repo.

move_to_pkglog()
notify()
class mini_buildd.packager.LastPackage(package)

Bases: mini_buildd.misc.API

Subset of ‘Package’ for pickled statistics.

mini_buildd.packager.package_close(daemon, package)

Close package. Just continue on errors, but log them; guarantee to remove it from the packages dict.

mini_buildd.packager.run(daemon, changes)