Part of canonical.buildd.slave View In Hierarchy
Method | __init__ | Undocumented |
Method | registerBuilder | Undocumented |
Method | xmlrpc_echo | Echo the argument back. |
Method | xmlrpc_info | Return the protocol version and the builder methods supported. |
Method | xmlrpc_status | Return the status of the build daemon. |
Method | status_IDLE | Handler for xmlrpc_status IDLE. |
Method | status_BUILDING | Handler for xmlrpc_status BUILDING. |
Method | status_WAITING | Handler for xmlrpc_status WAITING. |
Method | status_ABORTED | Handler for xmlrpc_status ABORTED. |
Method | status_ABORTING | Handler for xmlrpc_status ABORTING. |
Method | xmlrpc_ensurepresent | Attempt to ensure the given file is present. |
Method | xmlrpc_abort | Abort the current build. |
Method | xmlrpc_clean | Clean up the waiting files and reset the slave's internal state. |
Method | xmlrpc_build | Check if requested arguments are sane and initiate build procedure |
Depending on the builder status we return differing amounts of data. We do however always return the builder status as the first value.
Returns a tuple containing a empty string since there's nothing to report.
Returns the build id and up to one kilobyte of log tail
Returns the build id and the set of files waiting to be returned unless the builder failed in which case we return the buildstatus and the build id but no file set.
The only action the master can take is clean, other than ask status, of course, it returns the build id only.
This state means the builder performing the ABORT command and is not able to do anything else than answer its status, returns the build id only.