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

Module import_srpm

Import an RPM source package into a GIT repository

Classes [hide private]
  SkipImport
Nothing imported
Functions [hide private]
 
download_file(target_dir, url)
Download a remote file
 
download_source(pkg, dirs)
Download package from a remote location
 
committer_from_author(author, options)
Get committer info based on options
 
move_tag_stamp(repo, tag_format, tag_str_fields)
Move tag out of the way appending the current timestamp
 
set_bare_repo_options(options)
Modify options for import into a bare repository
 
force_to_branch_head(repo, branch)
Checkout branch and reset --hard
 
parse_args(argv)
Parse commandline arguments
 
main(argv)
Main function of the git-import-srpm script
Variables [hide private]
  no_packaging_branch_msg = '\nRepository does not have branch \...
  __package__ = 'gbp.scripts'
Variables Details [hide private]

no_packaging_branch_msg

Value:
'''
Repository does not have branch \'%s\' for packaging/distribution sour\
ces.
You need to reate it or use --packaging-branch to specify it.
'''