Package buildbot :: Module interfaces :: Class ISourceStamp
[frames] | no frames]

Class ISourceStamp

source code

zope.interface.Interface --+
                           |
                          ISourceStamp

Instance Methods
 
canBeMergedWith(self, other)
Can this SourceStamp be merged with 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)
Get a new SourceStamp object reflecting the actual revision found by a Source step.
source code
 
getText(self)
Returns a list of strings to describe the stamp.
source code
Class Variables
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.ISourceStamp'
  __iro__ = (<InterfaceClass buildbot.interfaces.ISourceStamp>, ...
  __name__ = 'ISourceStamp'
  __sro__ = (<InterfaceClass buildbot.interfaces.ISourceStamp>, ...
string or None branch
branch from which source was drawn
tuple of buildbot.changes.changes.Change instances, all of which are on the same branch changes
the source step should check out hte latest revision in the given changes
  dependents = <WeakKeyDictionary at 9285360>
None or tuple (level diff) patch
patch applied to the source, or None if no patch
string project
project this source code represents
string repository
repository from which source was drawn
varies depending on VC revision
revision of the source, or None to use CHANGES
Method Details

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.

getText(self)

source code 

Returns a list of strings to describe the stamp. These are intended to be displayed in a narrow column. If more space is available, the caller should join them together with spaces before presenting them to the user.


Class Variable Details

__iro__

Value:
(<InterfaceClass buildbot.interfaces.ISourceStamp>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass buildbot.interfaces.ISourceStamp>,
 <InterfaceClass zope.interface.Interface>)