Package buildbot :: Package changes :: Module gitpoller :: Class GitPoller
[frames] | no frames]

Class GitPoller

source code

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

This source will poll a remote git repo for changes and submit them to the change master.

Instance Methods
 
__init__(self, repourl, branch='master', workdir=None, pollInterval=600, gitbin='git', usetimestamps=True, category=None, project=None, pollinterval=-2) source code
 
startService(self) source code
 
describe(self) source code
 
poll(self)
Perform the polling operation, and return a deferred that will fire when the operation is complete.
source code

Inherited from base.PollingChangeSource: stopService

Inherited from base.ChangeSource: __provides__

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

Inherited from util.ComparableMixin: __cmp__, __hash__

Class Variables
  compare_attrs = ['repourl', 'branch', 'workdir', 'pollInterval...

Inherited from base.PollingChangeSource: pollInterval, volatile

Inherited from base.ChangeSource: __implemented__

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

Method Details

startService(self)

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

describe(self)

source code 
Overrides: base.ChangeSource.describe

poll(self)

source code 

Perform the polling operation, and return a deferred that will fire when the operation is complete. Failures will be logged, but the method will be called again after pollInterval seconds.

Overrides: base.PollingChangeSource.poll
(inherited documentation)

Class Variable Details

compare_attrs

Value:
['repourl',
 'branch',
 'workdir',
 'pollInterval',
 'gitbin',
 'usetimestamps',
 'category',
 'project']