Package buildbot :: Package schedulers :: Module basic :: Class AnyBranchScheduler
[frames] | no frames]

Class AnyBranchScheduler

source code

 twisted.application.service.Service --+            
                                       |            
twisted.application.service.MultiService --+        
                                           |        
                    util.ComparableMixin --+        
                                           |        
                          base.BaseScheduler --+    
                                               |    
                        base.ClassifierMixin --+    
                                               |    
                                       Scheduler --+
                                                   |
                                                  AnyBranchScheduler

Instance Methods
 
__init__(self, name, treeStableTimer, builderNames, fileIsImportant=None, properties={}, categories=None, branches=NotABranch(), change_filter=None) source code

Inherited from Scheduler: decide_and_remove_changes, get_initial_state, run

Inherited from base.BaseScheduler: compareToOther, create_buildset, getPendingBuildTimes, get_state, listBuilderNames, set_state

Inherited from twisted.application.service.MultiService: __iter__, addService, getServiceNamed, privilegedStartService, removeService, startService, stopService

Inherited from twisted.application.service.Service: __getstate__, __providedBy__, disownServiceParent, setName, setServiceParent

Inherited from util.ComparableMixin: __cmp__, __hash__

Inherited from base.ClassifierMixin: classify_changes, make_filter

Class Variables
  compare_attrs = 'name', 'treeStableTimer', 'builderNames', 'fi...

Inherited from Scheduler: fileIsImportant

Inherited from base.BaseScheduler: __implemented__, __provides__, upstream_name

Inherited from twisted.application.service.Service: name, parent, running

Method Details

__init__(self, name, treeStableTimer, builderNames, fileIsImportant=None, properties={}, categories=None, branches=NotABranch(), change_filter=None)
(Constructor)

source code 
Parameters:
  • name - the name of this Scheduler
  • treeStableTimer - the duration, in seconds, for which the tree must remain unchanged before a build is triggered. This is intended to avoid builds of partially-committed fixes.
  • builderNames - a list of Builder names. When this Scheduler decides to start a set of builds, they will be run on the Builders named by this list.
  • fileIsImportant - A callable which takes one argument (a Change instance) and returns True if the change is worth building, and False if it is not. Unimportant Changes are accumulated until the build is triggered by an important change. The default value of None means that all Changes are important.
  • properties - properties to apply to all builds started from this scheduler
  • change_filter - a buildbot.schedulers.filter.ChangeFilter instance used to filter changes for this scheduler
  • branches - (deprecated)
  • categories - (deprecated)
Overrides: twisted.application.service.MultiService.__init__

Class Variable Details

compare_attrs

Value:
'name', 'treeStableTimer', 'builderNames', 'fileIsImportant', 'propert\
ies', 'change_filter'