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

Module runner

source code

Classes
  OptionsWithOptionsFile
  MakerBase
  Maker
  UpgradeMasterOptions
  MasterOptions
  StartOptions
  StopOptions
  ReconfigOptions
  RestartOptions
  DebugClientOptions
  StatusClientOptions
  StatusLogOptions
  StatusGuiOptions
  SendChangeOptions
  ForceOptions
  TryOptions
  TryServerOptions
  CheckConfigOptions
  Options
Functions
 
isBuildmasterDir(dir) source code
dict
loadOptionsFile(filename='options', here=None, home=None)
Find the .buildbot/FILENAME file.
source code
 
upgradeMaster(config) source code
 
createMaster(config) source code
 
stop(config, signame='TERM', wait=False) source code
 
restart(config) source code
 
debugclient(config) source code
 
statuslog(config) source code
 
statusgui(config) source code
 
sendchange(config, runReactor=False)
Send a single change to the buildmaster's PBChangeSource.
source code
 
doTry(config) source code
 
doTryServer(config) source code
 
doCheckConfig(config) source code
 
run() source code
Variables
  makefile_sample = '# -*- makefile -*-\n\n# This is a simple ma...
  DB_HELP = '\n The --db string is evaluated to build the DB ...
  masterTACTemplate = ['\nimport os\n\nfrom twisted.application ...
  __package__ = 'buildbot.scripts'
Function Details

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

source code 

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: dict
a dictionary of names defined in the options file. If no options file was found, return an empty dict.

sendchange(config, runReactor=False)

source code 

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


Variables Details

makefile_sample

Value:
'''# -*- makefile -*-

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

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

DB_HELP

Value:
'''
    The --db string is evaluated to build the DB object, which specifi\
es
    which database the buildmaster should use to hold scheduler state \
and
    status information. The default (which creates an SQLite database \
in
    BASEDIR/state.sqlite) is equivalent to:
...

masterTACTemplate

Value:
['''
import os

from twisted.application import service
from buildbot.master import BuildMaster

basedir = r\'%(basedir)s\'
rotateLength = %(log-size)s
...