Package buildbot :: Package slave :: Package commands :: Module vcs :: Class Bazaar
[frames] | no frames]

Class Bazaar

source code

base.Command --+        
               |        
      SourceBase --+    
                   |    
                Arch --+
                       |
                      Bazaar

Bazaar (/usr/bin/baz) is an alternative client for Arch repositories. It is mostly option-compatible, but archive registration is different enough to warrant a separate Command.

['archive'] (required): the name of the archive being used

Instance Methods
 
setup(self, args)
Override this in a subclass to extract items from the args dict.
source code
 
parseGotRevision(self)
Override this in a subclass.
source code

Inherited from Arch: doVCFull, doVCUpdate, sourcedirIsUpdateable

Inherited from SourceBase: doClobber, doClobberTryChmodIfFail, doCopy, doPatch, doVC, doVCFallback2, interrupt, maybeClobber, maybeDoVCFallback, maybeDoVCRetry, readSourcedata, sourcedataMatches, sourcedirIsPatched, start, writeSourcedata

Inherited from base.Command: __init__, __providedBy__, commandComplete, doInterrupt, doStart, sendStatus

Class Variables

Inherited from Arch: buildconfig, header

Inherited from SourceBase: sourcedata

Inherited from base.Command: __implemented__, __provides__, debug, interrupted, running

Method Details

setup(self, args)

source code 

Override this in a subclass to extract items from the args dict.

Overrides: base.Command.setup
(inherited documentation)

parseGotRevision(self)

source code 

Override this in a subclass. It should return a string that represents which revision was actually checked out, or a Deferred that will fire with such a string. If, in a future build, you were to pass this 'got_revision' string in as the 'revision' component of a SourceStamp, you should wind up with the same source code as this checkout just obtained.

It is probably most useful to scan self.command.stdout for a string of some sort. Be sure to set keepStdout=True on the VC command that you run, so that you'll have something available to look at.

If this information is unavailable, just return None.

Overrides: SourceBase.parseGotRevision
(inherited documentation)