Package conary :: Package build :: Module source :: Class addBzrSnapshot
[hide private]
[frames] | no frames]

Class addBzrSnapshot

source code

  action.Action --+                    
                  |                    
action.RecipeAction --+                
                      |                
             _AnySource --+            
                          |            
                    _Source --+        
                              |        
                     addArchive --+    
                                  |    
                   _RevisionControl --+
                                      |
                                     addBzrSnapshot

NAME

r.addBzrSnapshot() - Adds a snapshot from a bzr repository.

SYNOPSIS

r.addBzrSnapshot([url,] [tag=,])

DESCRIPTION

The r.addBzrSnapshot() class extracts sources from a bzr repository, places a tarred, bzipped archive into the source component, and extracts that into the build directory in a manner similar to r.addArchive.

KEYWORDS

The following keywords are recognized by r.addBzrSnapshot:

tag : Specify a specific tagged revision to checkout.

Instance Methods [hide private]
 
getFilename(self) source code
 
createArchive(self, lookasideDir) source code
 
updateArchive(self, lookasideDir) source code
 
showInfo(self, lookasideDir) source code
 
createSnapshot(self, lookasideDir, target) source code
 
__init__(self, recipe, url, tag=None, **kwargs) source code

Inherited from _RevisionControl: doDownload, fetch

Inherited from addArchive: do

Inherited from _Source: doAction, doPrep, fetchLocal, getPath

Inherited from action.RecipeAction: doSuggestAutoBuildReqs, init_error

Inherited from action.Action: addArgs

Inherited from action.Action (private): _applyDefaults

Static Methods [hide private]

Inherited from addArchive (private): _cpioOwners, _tarOwners

Class Variables [hide private]
  name = 'bzr'

Inherited from _RevisionControl: keywords

Method Details [hide private]

showInfo(self, lookasideDir)

source code 
Overrides: _RevisionControl.showInfo

__init__(self, recipe, url, tag=None, **kwargs)
(Constructor)

source code 
Overrides: addArchive.__init__
(inherited documentation)