Package buildbot :: Package changes :: Module svnpoller :: Class SVNPoller
[frames] | no frames]

Class SVNPoller

source code

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

Poll a Subversion repository for changes and submit them to the change master.

Instance Methods
 
__init__(self, svnurl, split_file=None, svnuser=None, svnpasswd=None, pollInterval=600, histmax=100, svnbin='svn', revlinktmpl='', category=None, project='', cachepath=None, pollinterval=-2) 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
 
getProcessOutput(self, args) source code
 
get_prefix(self) source code
 
get_logs(self, _) source code
 
parse_logs(self, output) source code
 
get_new_logentries(self, logentries) source code
 
create_changes(self, new_logentries) source code
 
submit_changes(*args, **kwargs) source code
 
finished_ok(self, res) source code

Inherited from base.PollingChangeSource: startService, 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 = ['svnurl', 'split_file', 'svnuser', 'svnpasswd...
  parent = None
hash(x)
  last_change = None
hash(x)
  loop = None
hash(x)

Inherited from base.PollingChangeSource: pollInterval

Inherited from base.ChangeSource: __implemented__, master

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

Method Details

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)

submit_changes(*args, **kwargs)

source code 
Decorators:
  • @defer.deferredGenerator

Class Variable Details

compare_attrs

Value:
['svnurl',
 'split_file',
 'svnuser',
 'svnpasswd',
 'pollInterval',
 'histmax',
 'svnbin',
 'category',
...