Package gbp :: Package scripts :: Package common :: Module import_orig
[hide private]
[frames] | no frames]

Module import_orig

Common functionality for import-orig scripts

Classes [hide private]
  OrigUpstreamSource
Upstream source that will be imported
Functions [hide private]
 
cleanup_tmp_tree(tree)
remove a tree of temporary files
 
is_link_target(target, link)
does symlink link already point to target?
 
ask_package_name(default, name_validator_func, err_msg)
Ask the user for the source package name.
 
ask_package_version(default, ver_validator_func, err_msg)
Ask the user for the upstream package version.
 
repacked_tarball_name(source, name, version)
 
repack_source(source, name, version, tmpdir, filters)
Repack the source tree
Variables [hide private]
  __package__ = 'gbp.scripts.common'
Function Details [hide private]

ask_package_name(default, name_validator_func, err_msg)

 

Ask the user for the source package name.

Parameters:
  • default - The default package name to suggest to the user.

ask_package_version(default, ver_validator_func, err_msg)

 

Ask the user for the upstream package version.

Parameters:
  • default - The default package version to suggest to the user.