Package gbp :: Package pkg :: Class PkgPolicy
[hide private]
[frames] | no frames]

Class PkgPolicy

object --+
         |
        PkgPolicy
Known Subclasses:

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
is_valid_packagename(cls, name)
Is this a valid package name?
 
is_valid_upstreamversion(cls, version)
Is this a valid upstream version number?
 
is_valid_orig_archive(cls, filename)
Is this a valid orig source archive
Static Methods [hide private]
 
has_orig(orig_file, dir)
Check if orig tarball exists in dir
 
symlink_orig(orig_file, orig_dir, output_dir, force=False)
symlink orig tarball from orig_dir to output_dir
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

symlink_orig(orig_file, orig_dir, output_dir, force=False)
Static Method

 

symlink orig tarball from orig_dir to output_dir

Returns:
True if link was created or src == dst False in case of error or src doesn't exist