module documentation

Import an RPM source package into a Git repository

Exception SkipImport Nothing imported
Function build_parser Construct command line parser
Function committer_from_author Get committer info based on options
Function download_file Download a remote file
Function download_source Download package from a remote location
Function force_to_branch_head Checkout branch and reset --hard
Function main Main function of the git-import-srpm script
Function move_tag_stamp Move tag out of the way appending the current timestamp
Function parse_args Parse commandline arguments
Function set_bare_repo_options Modify options for import into a bare repository
Variable no_packaging_branch_msg Undocumented
def build_parser(name):

Construct command line parser

def committer_from_author(author, options):

Get committer info based on options

def download_file(target_dir, url):

Download a remote file

def download_source(pkg):

Download package from a remote location

def force_to_branch_head(repo, branch):

Checkout branch and reset --hard

def main(argv):

Main function of the git-import-srpm script

def move_tag_stamp(repo, tag_format, tag_str_fields):

Move tag out of the way appending the current timestamp

def parse_args(argv):

Parse commandline arguments

def set_bare_repo_options(options):

Modify options for import into a bare repository

no_packaging_branch_msg: str =

Undocumented