Create orig tarballs from git
Function | prepare_upstream_tarballs | No summary |
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 pristine-tar |
Function | maybe_pristine_tar_commit | Undocumented |
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 |
Make sure we have the needed upstream tarballs. The default order is:
Afterwards
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.
Build orig tarball using pristine-tar
Returns | True if tarball was built, False otherwise |
Verify orig tarballs using pristine-tar
Returns | True if tarball was built, False otherwise |
Determine the upstream tree from the given options
for a git archive export
Build orig tarball(s) using git-archive
Parameters | source | the source of the package we're acting on (type: DebianSource ) |
output_dir | where to put the tarball (type: Str ) | |
options | the parsed options (type: dict of options) |