Package buildbot :: Package changes :: Module bonsaipoller :: Class BonsaiPoller
[frames] | no frames]

Class BonsaiPoller

source code

twisted.application.service.Service --+    
                                      |    
               util.ComparableMixin --+    
                                      |    
                      base.ChangeSource --+
                                          |
                                         BonsaiPoller

This source will poll a bonsai server for changes and submit them to the change master.

Instance Methods
 
__init__(self, bonsaiURL, module, branch, tree='default', cvsroot='/cvsroot', pollInterval=30, project='') source code
 
startService(self) source code
 
stopService(self) source code
 
describe(self) source code
 
poll(self) source code

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

Inherited from util.ComparableMixin: __cmp__, __hash__

Class Variables
  compare_attrs = ['bonsaiURL', 'pollInterval', 'tree', 'module'...
  parent = None
  loop = None
  volatile = ['loop']
  working = False

Inherited from base.ChangeSource: __implemented__, __provides__

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

Method Details

__init__(self, bonsaiURL, module, branch, tree='default', cvsroot='/cvsroot', pollInterval=30, project='')
(Constructor)

source code 
Parameters:
  • bonsaiURL (string) - The base URL of the Bonsai server (ie. http://bonsai.mozilla.org)
  • module (string) - The module to look for changes in. Commonly this is 'all'
  • branch (string) - The branch to look for changes in. This must match the 'branch' option for the Scheduler.
  • tree (string) - The tree to look for changes in. Commonly this is 'all'
  • cvsroot (string) - The cvsroot of the repository. Usually this is '/cvsroot'
  • pollInterval (int) - The time (in seconds) between queries for changes
  • project (string) - project to attach to all Changes from this changesource

startService(self)

source code 
Overrides: twisted.application.service.Service.startService

stopService(self)

source code 
Overrides: twisted.application.service.Service.stopService

Class Variable Details

compare_attrs

Value:
['bonsaiURL', 'pollInterval', 'tree', 'module', 'branch', 'cvsroot']