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

Class SourceStamp

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 four possibilities for the remaining elements:
Method Summary
  __init__(self, branch, revision, patch, changes)
  canBeMergedWith(self, other)
  mergeWith(self, others)
Generate a SourceStamp for the merger of me and all the other BuildRequests.
    Inherited from ComparableMixin
  __cmp__(self, them)
  __hash__(self)

Class Variable Summary
Implements __implemented__ = <implementedBy buildbot.sourcestamp.So...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
NoneType branch = None                                                                  
list changes = []
tuple compare_attrs = ('branch', 'revision', 'patch', 'changes...
NoneType patch = None                                                                  
NoneType revision = None                                                                  
    Inherited from ComparableMixin
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Method Details

mergeWith(self, others)

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

__implemented__

Type:
Implements
Value:
<implementedBy buildbot.sourcestamp.SourceStamp>                       

__provides__

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

branch

Type:
NoneType
Value:
None                                                                  

changes

Type:
list
Value:
[]                                                                     

compare_attrs

Type:
tuple
Value:
('branch', 'revision', 'patch', 'changes')                             

patch

Type:
NoneType
Value:
None                                                                  

revision

Type:
NoneType
Value:
None                                                                  

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