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
  UserOptions
  Options
Functions
 
in_reactor(f)
decorate a function by running it with maybeDeferred in a reactor
source code
 
isBuildmasterDir(dir) source code
dict
loadOptionsFile()
Find the .buildbot/FILENAME file.
source code
 
upgradeMaster(*args, **kwargs) source code
 
createMaster(*args, **kwargs) 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
 
users_client(config, runReactor=False) source code
 
run() source code
Variables
  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()

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.

upgradeMaster(*args, **kwargs)

source code 
Decorators:
  • @in_reactor
  • @defer.deferredGenerator

createMaster(*args, **kwargs)

source code 
Decorators:
  • @in_reactor

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

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
...