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:
-
(revision=REV, patchspec=None, changes=None): build REV. If REV is
None, build the HEAD revision from the given branch.
-
(revision=REV, patchspec=(LEVEL, DIFF), changes=None): checkout REV,
then apply a patch to the source, with
patch -pPATCHLEVEL
<DIFF
. If REV is None, checkout HEAD and patch it.
-
(revision=None, patchspec=None, changes=[CHANGES]): let the Source
step check out the latest revision indicated by the given Changes.
CHANGES is a tuple of buildbot.changes.changes.Change instances, and all
must be on the same branch.
|
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...
|
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.
|
__implemented__
- Value:
<implementedBy buildbot.sourcestamp.SourceStamp>
|
|
__provides__
- Value:
<zope.interface.declarations.ClassProvides object at 0xf7ce50>
|
|