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

Module import_orig_rpm

Import a new upstream version into a git repository

Functions [hide private]
 
upstream_import_commit_msg(options, version)
 
find_spec(repo, options)
Find spec in the working tree or repository
 
detect_name_and_version(repo, source, spec, options)
Determine name and version of the upstream project
string
find_source(spec, options, args)
Find the tarball to import
 
pristine_tarball_name(source, pkg_name, pkg_version, pristine_name)
 
set_bare_repo_options(options)
Modify options for import into a bare repository
 
parse_args(argv)
 
main(argv)
Variables [hide private]
  __package__ = 'gbp.scripts'
Function Details [hide private]

find_source(spec, options, args)

 

Find the tarball to import

Returns: string
upstream source filename or None if nothing to import
Raises:
  • GbpError - raised on all detected errors