A DBConnectorComponent to handle getting buildsets into and out of the
database. An instance is available at
master.db.buildsets.
|
|
addBuildset(self,
ssid,
reason,
properties,
builderNames,
external_idstring=None,
_reactor=reactor)
Add a new Buildset to the database, along with the buildrequests for
each named builder, returning the resulting bsid via a Deferred. |
source code
|
|
|
|
completeBuildset(self,
bsid,
results,
_reactor=reactor)
Complete a buildset, marking it with the given results
and setting its completed_at to the current time. |
source code
|
|
|
|
getBuildset(self,
bsid)
Get a dictionary representing the given buildset, or None if no such
buildset exists. |
source code
|
|
|
|
|
|
|
|
|
|
subscribeToBuildset(self,
schedulerid,
buildsetid)
Add a row to scheduler_upstream_buildsets indicating
that schedulerid is interested in buildset
bsid. |
source code
|
|
|
|
|
|
|
|
|
Inherited from base.DBConnectorComponent:
__init__
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|