Package buildbot :: Module sourcestamp :: Class SourceStamp
[hide private]
[frames] | no frames]

Class SourceStamp

source code

util.ComparableMixin --+
                       |
                      SourceStamp

This is a tuple of (branch, revision, patchspec, changes).

branch is always valid, although it may be None to let the Source step use its default branch. There are three possibilities for the remaining elements:

Instance Methods [hide private]
 
__init__(self, branch=None, revision=None, patch=None, changes=None) source code
 
canBeMergedWith(self, other) source code
 
mergeWith(self, others)
Generate a SourceStamp for the merger of me and all the other BuildRequests.
source code
 
getAbsoluteSourceStamp(self, got_revision) source code
 
getText(self) source code

Inherited from util.ComparableMixin: __cmp__, __hash__

Class Variables [hide private]
  branch = None
hash(x)
  revision = None
hash(x)
  patch = None
hash(x)
  changes = ()
  compare_attrs = ('branch', 'revision', 'patch', 'changes')
  __implemented__ = <implementedBy buildbot.sourcestamp.SourceSt...
  __provides__ = <zope.interface.declarations.ClassProvides obje...
Method Details [hide private]

mergeWith(self, others)

source code 

Generate a SourceStamp for the merger of me and all the other BuildRequests. This is called by a Build when it starts, to figure out what its sourceStamp should be.


Class Variable Details [hide private]

__implemented__

Value:
<implementedBy buildbot.sourcestamp.SourceStamp>

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0x358de90>