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

Class addCvsSnapshot

source code

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

NAME

r.addCvsSnapshot() - Adds a snapshot from a CVS repository.

SYNOPSIS

r.addCvsSnapshot([root,] [project,] [tag=,])

DESCRIPTION

The r.addCvsSnapshot() class extracts sources from a CVS 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.addAction:

dir : Specify a directory to change into prior to executing the command. An absolute directory specified as the dir value is considered relative to %(destdir)s.

package : (None) If set, must be a string that specifies the package (package='packagename'), component (package=':componentname'), or package and component (package='packagename:componentname') in which to place the files added while executing this command. Previously-specified PackageSpec or ComponentSpec lines will override the package specification, since all package and component specifications are considered in strict order as provided by the recipe

tag : CVS tag to use for the snapshot.

Instance Methods [hide private]
 
getFilename(self) source code
 
createArchive(self, lookasideDir) source code
 
updateArchive(self, lookasideDir) source code
 
createSnapshot(self, lookasideDir, target) source code
 
__init__(self, recipe, root, project, tag='HEAD', **kwargs) source code

Inherited from _RevisionControl: doDownload, fetch, showInfo

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 = 'cvs'

Inherited from _RevisionControl: keywords

Method Details [hide private]

__init__(self, recipe, root, project, tag='HEAD', **kwargs)
(Constructor)

source code 
Overrides: addArchive.__init__
(inherited documentation)