Create orig tarballs from git

Function prepare_upstream_tarballs Make sure we have the needed upstream tarballs. This involves looking in tarball_dir and symlinking them or building them from either pristine-tar or plain git.
Function pristine_tar_prepare_orig_tree Make sure the upstream tree exists
Function pristine_tar_build_origs Build orig tarball using pristine-tar
Function pristine_tar_verify_origs Verify orig tarballs using prstine tar
Function git_archive_get_upstream_tree Determine the upstream tree from the given options
Function git_archive_build_origs Build orig tarball(s) using git-archive
Function guess_comp_type Guess compression type to use for the to be built upstream tarball
Function build_parser Undocumented
Function parse_args Undocumented
Function main Undocumented
def prepare_upstream_tarballs(repo, source, options, tarball_dir, output_dir):

Make sure we have the needed upstream tarballs. This involves looking in tarball_dir and symlinking them or building them from either pristine-tar or plain git.

def pristine_tar_prepare_orig_tree(repo, source, options):

Make sure the upstream tree exists

In case of component tarballs we need to recreate a tree for the main tarball without the component subdirs.

def pristine_tar_build_origs(repo, source, output_dir, options):

Build orig tarball using pristine-tar

ReturnsTrue if tarball was build, False otherwise
def pristine_tar_verify_origs(repo, source, options, output_dir, orig_files):

Verify orig tarballs using prstine tar

ReturnsTrue if tarball was build, False otherwise
def git_archive_get_upstream_tree(repo, source, options):

Determine the upstream tree from the given options

for a git archive export

def git_archive_build_origs(repo, source, output_dir, options):

Build orig tarball(s) using git-archive

Parameterssourcethe changelog of the package we're acting on (type: DebianSource)
output_dirwhere to put the tarball (type: Str)
optionsthe parsed options (type: dict of options)
def guess_comp_type(repo, comp_type, source, tarball_dir):

Guess compression type to use for the to be built upstream tarball

def build_parser(name):
Undocumented
def parse_args(argv, prefix):
Undocumented
def main(argv):
Undocumented
API Documentation for git-buildpackage, generated by pydoctor at 2017-10-31 11:48:53.