release Namespace Reference

Classes

class  ReleaseException

Functions

def _compute_stack_depends_and_licenses
def checkout_stack
def compute_stack_depends
def create_stack_tarball
def get_cmake_version
def get_source_version
def get_stack_version
def get_stack_version_by_dir
def make_dist
def make_dist_of_dir
def md5sum_file
def tar_exclude
def update_rosdistro_yaml

Function Documentation

def release::_compute_stack_depends_and_licenses (   stack,
  packages 
) [private]

Definition at line 113 of file __init__.py.

def release::checkout_stack (   name,
  distro_stack 
)
Checkout the stack into a tempdir

@return The temporary directory to find the stack inside

Definition at line 218 of file __init__.py.

def release::compute_stack_depends (   stack_dir  ) 
@return: depends, licenses
@rtype: {str: [str]}, [str]
@raise ReleaseException: if error occurs detecting dependencies

Definition at line 96 of file __init__.py.

def release::create_stack_tarball (   path,
  stack_name,
  stack_version 
)
Create a source tarball from a stack at a particular path.
  
@param name: name of stack
@param stack_version: version number of stack
@param path: the path of the stack to package up
@return: the path of the resulting tarball, or else None

Definition at line 265 of file __init__.py.

def release::get_cmake_version (   text  ) 

Definition at line 170 of file __init__.py.

def release::get_source_version (   distro,
  stack_name 
)

Definition at line 60 of file __init__.py.

def release::get_stack_version (   stack_dir,
  stack_name 
)

Definition at line 137 of file __init__.py.

def release::get_stack_version_by_dir (   stack_dir  ) 
Get stack version where stack_dir points to root directory of stack.

@param env: override environment variables
@type  env: {str: str}

@return: version number of stack, or None if stack is unversioned.
@rtype: str

Definition at line 142 of file __init__.py.

def release::make_dist (   name,
  version,
  distro_stack,
  repair = False 
)
Create tarball in a temporary directory. 

@param repair: if True, repair tarball from tagged release.
@type  repair: bool
@return: tarball file path, control data. 

Definition at line 206 of file __init__.py.

def release::make_dist_of_dir (   tmp_dir,
  name,
  version,
  distro_stack 
)
Create tarball in a temporary directory. 
It is expected the tempdir has a fresh checkout of the stack.

@param name: stack name
@param version: stack version
@return: tarball file path, control data. 

Definition at line 236 of file __init__.py.

def release::md5sum_file (   filename  ) 

Definition at line 227 of file __init__.py.

def release::tar_exclude (   name  ) 

Definition at line 259 of file __init__.py.

def release::update_rosdistro_yaml (   stack_name,
  version,
  distro_file 
)
Update distro file for new stack version

Definition at line 179 of file __init__.py.

 All Classes Namespaces Files Functions Variables


release
Author(s): Ken Conley
autogenerated on Fri Jan 11 09:52:15 2013