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

Class UpgradeMasterOptions

source code

              object --+                
                       |                
                    dict --+            
                           |            
twisted.python.usage.Options --+        
                               |        
          OptionsWithOptionsFile --+    
                                   |    
                           MakerBase --+
                                       |
                                      UpgradeMasterOptions

Instance Methods
 
getSynopsis(self)
Returns a string containing a description of these options and how to pass them to the executed file.
source code

Inherited from MakerBase: opt_h, parseArgs, postOptions

Inherited from OptionsWithOptionsFile: __init__

Inherited from twisted.python.usage.Options: __hash__, __str__, getUsage, opt_help, opt_version, parseOptions

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__

Class Variables
  optFlags = [['replace', 'r', 'Replace any modified files witho...
  optParameters = [['db', None, 'sqlite:///state.sqlite', 'which...
  longdesc = '\n This command takes an existing buildmaster w...

Inherited from OptionsWithOptionsFile: buildbotOptions

Inherited from twisted.python.usage.Options: defaultSubCommand, parent, subCommand

Properties

Inherited from object: __class__

Method Details

getSynopsis(self)

source code 

Returns a string containing a description of these options and how to pass them to the executed file.

Overrides: twisted.python.usage.Options.getSynopsis
(inherited documentation)

Class Variable Details

optFlags

Value:
[['replace', 'r', 'Replace any modified files without confirmation.']]

optParameters

Value:
[['db',
  None,
  'sqlite:///state.sqlite',
  'which DB to use for scheduler/status state. See below for syntax.']\
]

longdesc

Value:
'''
    This command takes an existing buildmaster working directory and
    adds/modifies the files there to work with the current version of
    buildbot. When this command is finished, the buildmaster directory\
 should
    look much like a brand-new one created by the \'create-master\' co\
mmand.

...