Package buildbot :: Package changes :: Module pb :: Class PBChangeSource
[frames] | no frames]

Class PBChangeSource

source code

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

Instance Methods
 
__init__(self, user='change', passwd='changepw', port=None, prefix=None, sep=None)
I listen on a TCP port for Changes from 'buildbot sendchange'.
source code
 
describe(self) source code
 
startService(self) source code
 
stopService(self) source code
 
getPerspective(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 = ['user', 'passwd', 'port', 'prefix']

Inherited from base.ChangeSource: __implemented__, __provides__

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

Method Details

__init__(self, user='change', passwd='changepw', port=None, prefix=None, sep=None)
(Constructor)

source code 

I listen on a TCP port for Changes from 'buildbot sendchange'.

I am a ChangeSource which will accept Changes from a remote source. I share a TCP listening port with the buildslaves.

The 'buildbot sendchange' command, the contrib/svn_buildbot.py tool, and the contrib/bzr_buildbot.py tool know how to send changes to me.

Parameters:
  • prefix (string (or None)) - if set, I will ignore any filenames that do not start with this string. Moreover I will remove this string from all filenames before creating the Change object and delivering it to the Schedulers. This is useful for changes coming from version control systems that represent branches as parent directories within the repository (like SVN and Perforce). Use a prefix of 'trunk/' or 'project/branches/foobranch/' to only follow one branch and to get correct tree-relative filenames.
  • sep - DEPRECATED (with an axe). sep= was removed in buildbot-0.7.4 . Instead of using it, you should use prefix= with a trailing directory separator. This docstring (and the better-than-nothing error message which occurs when you use it) will be removed in 0.7.5 .

startService(self)

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

stopService(self)

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