Package buildbot :: Package scripts :: Module runner
[frames | no frames]

Module buildbot.scripts.runner

Classes
DebugClientOptions  
ForceOptions  
Maker  
MakerBase  
MasterOptions  
Options  
ReconfigOptions  
RestartOptions  
SendChangeOptions  
SlaveOptions  
StartOptions  
StatusClientOptions  
StopOptions  
TryOptions  
TryServerOptions  

Function Summary
  createMaster(config)
  createSlave(config)
  debugclient(config)
  doTry(config)
  doTryServer(config)
dict loadOptions(filename, here, home)
Find the .buildbot/FILENAME file.
  restart(config)
  run()
  sendchange(config, runReactor)
Send a single change to the buildmaster's PBChangeSource.
  statusgui(config)
  statuslog(config)
  stop(config, signame, wait)

Variable Summary
str makefile_sample = "# -*- makefile -*-\n\n# This is a sim...
str masterTAC = "\nfrom twisted.application import service\n...
str slaveTAC = "\nfrom twisted.application import service\nf...

Function Details

loadOptions(filename='options', here=None, home=None)

Find the .buildbot/FILENAME file. Crawl from the current directory up towards the root, and also look in ~/.buildbot . The first directory that's owned by the user and has the file we're looking for wins. Windows skips the owned-by-user test.
Returns:
a dictionary of names defined in the options file. If no options file was found, return an empty dict.
           (type=dict)

sendchange(config, runReactor=False)

Send a single change to the buildmaster's PBChangeSource. The connection will be drpoped as soon as the Change has been sent.

Variable Details

makefile_sample

Type:
str
Value:
"""# -*- makefile -*-

# This is a simple makefile which lives in a buildmaster/buildslave
# directory (next to the buildbot.tac file). It allows you to start/st\
op the
# master or slave by doing 'make start' or 'make stop'.

# The 'reconfig' target will tell a buildmaster to reload its config f\
...                                                                    

masterTAC

Type:
str
Value:
"""
from twisted.application import service
from buildbot.master import BuildMaster

basedir = r'%(basedir)s'
configfile = r'%(config)s'

application = service.Application('buildmaster')
...                                                                    

slaveTAC

Type:
str
Value:
"""
from twisted.application import service
from buildbot.slave.bot import BuildSlave

basedir = r'%(basedir)s'
host = '%(host)s'
port = %(port)d
slavename = '%(name)s'
...                                                                    

Generated by Epydoc 2.1 on Sun Dec 10 22:04:45 2006 http://epydoc.sf.net