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

Class PBChangeSource

ComparableMixin --+    
                  |    
        Service --+    
                  |    
       ChangeSource --+
                      |
                     PBChangeSource


Method Summary
  __init__(self, user, passwd, port, prefix, sep)
I listen on a TCP port for Changes from 'buildbot sendchange'.
  describe(self)
  getPerspective(self)
  startService(self)
  stopService(self)
    Inherited from Service
  __getstate__(self)
  disownServiceParent(self)
  privilegedStartService(self)
  setName(self, name)
  setServiceParent(self, parent)
    Inherited from ComparableMixin
  __cmp__(self, them)
  __hash__(self)

Class Variable Summary
list compare_attrs = ['user', 'passwd', 'port', 'prefix']
    Inherited from ChangeSource
Implements __implemented__ = <implementedBy buildbot.changes.base.C...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from Service
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
NoneType name = None                                                                  
NoneType parent = None                                                                  
int running = 0                                                                     

Method Details

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

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.

Both the 'buildbot sendchange' command and the contrib/svn_buildbot.py tool know how to send changes to me.
Parameters:
prefix - 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.
           (type=string (or None))
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 .

Class Variable Details

compare_attrs

Type:
list
Value:
['user', 'passwd', 'port', 'prefix']                                   

Generated by Epydoc 2.1 on Sun Dec 10 22:04:44 2006 http://epydoc.sf.net